exult and sound

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

exult and sound

Post by artaxerxes »

I was wondering if it would be easier and possibly more portable to use the SDL_sound package to support sound and music.

More information are found there:
http://icculus.org/SDL_sound/

Artaxerxes
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: exult and sound

Post by wjp »

Isn't SDL_Sound for decoding various audio formats?
fliptw
Posts: 29
Joined: Thu May 14, 2020 1:34 pm

Re: exult and sound

Post by fliptw »

I can somewhat understand the easier part.

the portable part makes me scratch my head. All sound data used in exult is already portable(ie not tied to a specific platform).
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: exult and sound

Post by artaxerxes »

playing ogg on zaurus will require much more work, and many more libraries.

Artaxerxes
fliptw
Posts: 29
Joined: Thu May 14, 2020 1:34 pm

Re: exult and sound

Post by fliptw »

SDLSound depends on external libraries anyways(No libvorbis, no ogg playing).

Tho, I'd probably use the integer decoder on the zaurus, rather than the FP decoder(Which I assume would be the one that libvorbis uses by default)
Locked