[SDL] sdl lock up on some mp3

Donald Weingarden dweingarden at att.net
Tue Dec 30 16:22:16 PST 2008


I forwarded one of the offending mp3 files.  It is waiting for a moderator 
to allow the email.  Even if I switch to some other library, you'll be able 
to fix your problems.
If I get a chance to debug it I'll report my findings.  FYI the product is 
NUCORE.
----- Original Message ----- 
From: "Donny Viszneki" <donny.viszneki at gmail.com>
To: "A list for developers using the SDL library. (includes SDL-announce)" 
<sdl at lists.libsdl.org>
Sent: Tuesday, December 30, 2008 5:29 PM
Subject: Re: [SDL] sdl lock up on some mp3


>I don't know if it's accurate to say it's not "fully working."
> Although I had no idea there were MP3s that would cause problems
> (Jesse P, is that an SMPEG problem?) The reason I thought it was silly
> to use SDL_mixer is because it's a _mixer_ which isn't something most
> jukeboxes/mediaplayers need ;)
>
> On Tue, Dec 30, 2008 at 4:49 PM, Donald Weingarden <dweingarden at att.net> 
> wrote:
>> We're already using it for graphics and for game sounds.  We thought we'd
>> try it for our built in jukebox.  We didn't realize it wasn't fully 
>> working.
>> ----- Original Message ----- From: "Donny Viszneki"
>> <donny.viszneki at gmail.com>
>> To: <sdl at libsdl.org>
>> Sent: Tuesday, December 30, 2008 4:00 PM
>> Subject: Re: [SDL] sdl lock up on some mp3
>>
>>
>>> Isn't it a little silly to use SDL_mixer for a jukebox?
>>>
>>> On Tue, Dec 30, 2008 at 2:35 PM, Donald Weingarden <dweingarden at att.net>
>>> wrote:
>>>>
>>>> Oh that's too bad, we're making a juke box.  I attached an mp3 to 
>>>> another
>>>> member, maybe this will help identify problems
>>>> ----- Original Message ----- From: "Jesse P." <SLNTHERO at aol.com>
>>>> To: "A list for developers using the SDL library. (includes
>>>> SDL-announce)"
>>>> <sdl at lists.libsdl.org>
>>>> Sent: Tuesday, December 30, 2008 2:32 PM
>>>> Subject: Re: [SDL] sdl lock up on some mp3
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> Last time i checked, MP3 playback was not working 100% in SDL_mixer.
>>>>> If you are making a game, I would suggest using OGG format (Ogg 
>>>>> Vorbis).
>>>>>
>>>>>
>>>>> JeZ+Lee
>>>>> SLNTHERO at aol.com
>>>>> Silent Hero Productions (R)
>>>>> Video Game Design Studio
>>>>> www.SilentHeroProductions.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Donald Weingarden wrote:
>>>>>>
>>>>>> We are running ubuntu 7.1(sdl 1.2.6)  and ubuntu 8.04 We found 6 out 
>>>>>> of
>>>>>> 2000 mp3 songs that lock up sdl mixer. Mix_LoadMusic succeeds,
>>>>>> Mix_PlayMusic
>>>>>> succeeds, but no music is heard.
>>>>>> Furthermore, if you call Mix_HaltMusic or Mix_FreeMusic, it never
>>>>>> returns.  I suspect the file causes an early return which does not
>>>>>> unlock
>>>>>> the audio.
>>>>>>  The music players that come with linux can play these songs no
>>>>>> problem.
>>>>>> If anyone is interested, I can email you an mp3 that locks. Any 
>>>>>> ideas?
>>>>>>  Don W
>>>>>>
>>>>>>  ------------------------------------------------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> SDL mailing list
>>>>>> SDL at lists.libsdl.org
>>>>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> SDL mailing list
>>>>> SDL at lists.libsdl.org
>>>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>>
>>>> _______________________________________________
>>>> SDL mailing list
>>>> SDL at lists.libsdl.org
>>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>>>
>>>
>>>
>>>
>>> --
>>> http://codebad.com/
>>> _______________________________________________
>>> SDL mailing list
>>> SDL at lists.libsdl.org
>>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>
>
>
> -- 
> http://codebad.com/
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org 




More information about the SDL mailing list