Greetings.
I recently began working on a cross-platform client, and was searching
for a cross-platform library for handling sound. I am relatively new
to multimedia programming, so I was somewhat confused when I studied
the manuals/source. The examples did not answer these questions, and I
wasn’t able to find any mailing list archives or general resources
elsewhere which would help. So, I thought I’d ask you, and hope that
I’m not annoying you with my trivial questions.
-
What format does the library expect its sounds to be provided in?
Or, is it format-independant, requiring the callback function
specified in the SDLAudioSpec struct to play whatever format is
fed to it? If a specific format is required, what format is it?
And, if not, how does SDL_MixAudio know how to format the output? -
Is the SDL_AudioCVT structure used to convert sounds from, say,
MP3->WAV, or to convert from stereo to mono? I’m asking because I
have several effects stored as MP3’s, and I’m wondering how to go
about using them, though I suspect that the answer to my first
question will be somewhat enlightening in this respect. -
I’m using C++. Are there any GPL/LGPL C++ classes which might make
the task of sound programming a little easier?
Thanks a bunch for your time!–
Nolan Darilek
nolan_d at mail.utexas.edu
nolan at cold.org
@Nolan_Darilek
ICQ UIN: 15709478
"We apologize for the error in last week's paper in which
we stated that Mr. Arnold Dogbody was a defective in the
police force. We meant, of course, that Mr. Dogbody is a
detective in the police farce."
-Correction Notice in the Ely Standard, a British
newspaper