Bug #209
MacOS X SDLMixer: Error
100%
Description
When attempting to load mp3 audio tracks by changing
the Def/jDoom.ded file, you get silence and the console
reports:
SDLMixer: Error
Labels: Sound (Mac)
History
#1 Updated by skyjake almost 20 years ago
Logged In: YES
user_id=717323
I should use QuickTime to play MP3s in addition to the MIDI music.
#2 Updated by danij almost 16 years ago
Whats the status on this? Are we now using QuickTime for non-MIDI music?
#3 Updated by skyjake almost 16 years ago
The status is that on OS X all music is played through QuickTime. However, there is a slight problem in the system: it only works correctly when it's provided a full file name with the correct file name extension. So if someone tries to play (say) a data lump containing MP3 music, it won't recognize it. An mp3 file (virtual or not) should work fine, though.
#4 Updated by danij almost 16 years ago
Perhaps then if passed a file buffer rather than a file path, our QuickTime playback wrapper should dump the data to a file in our working directory and pass that to QuickTime?
Related to this but is our current code for loading audio plugins under *nix used/or usable under OS X? I'm currently working on fixing up some of the problems with the audio system(s) in preparation for 1.9.0-beta6 and I'm thinking about splitting the QuickTime music interface into a plugin.
#5 Updated by danij almost 16 years ago
Ah I see. The issue is that we don't know what file extension to give the data lump even if we do dump it to disk.