# Proiblems with SDL\_Mixer

**URL:** <https://discourse.libsdl.org/t/proiblems-with-sdl-mixer/8651>\
**Category:** SDL Development\
**Created:** [April 26, 2003, 5:30pm UTC](https://discourse.libsdl.org/t/proiblems-with-sdl-mixer/8651 "2003-04-26T17:30:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_P](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Mike\_P](https://discourse.libsdl.org/u/Mike_P)\
**Post date:** [April 26, 2003, 5:30pm UTC](https://discourse.libsdl.org/t/proiblems-with-sdl-mixer/8651/1 "2003-04-26T17:30:00Z")

</div>

Ok… I Got SDL\_Mixer to initialize the audio, got it to load music, and got  
it to play music.

I started off with the chunksize of 1024 which made the music sound very  
horrible and skippy. i played with the values a little bit, made the  
skipping better but eventually i got to a point that the skipping got worse  
as the number got higher. The documents on SDL\_Mixer say im supposed to find  
a happy-medium for my system, a perfect chunksize so that it wont skip from  
it being too small, and wouldnt lag from it being too big. I havnt found  
that number yet but its inbetween 6000 and 8000, Anyways, im sure if i play  
with it for awhile ill find it, but how the hell am i supposed to detect the  
happy medium for each individual system?

between 6000 and 8000 may be good for my system, but will it be good for  
anyone els?

I also noticed that the music in the game Tux Racer lags a lot, and also  
uses SDL\_Mixer…

Somebody please help me with this problem

-Mike\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Protect your PC - get [McAfee.com](http://McAfee.com) VirusScan Online  
[http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963](http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963)

---

<div class="post-metadata">

**Author:** ![Andre\_Krause](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@Andre\_Krause](https://discourse.libsdl.org/u/Andre_Krause)\
**Post date:** [April 27, 2003, 8:47am UTC](https://discourse.libsdl.org/t/proiblems-with-sdl-mixer/8651/2 "2003-04-27T08:47:02Z")

</div>

Just wanted to ask if i probably can find rwops functionality in an  
cvs-version of sdl\_mixer ? Everything else works fine with rwops, for  
example loading wav’s and images (but not tga-images, but this is not a  
bad thing scince they are su huge anyway and i use only png’s if i need  
alphachannels) from an archive file.

Greetings, andre

---

<div class="post-metadata">

**Author:** ![atrix2](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/a/a9a28c/32.png) [@atrix2](https://discourse.libsdl.org/u/atrix2)\
**Post date:** [April 27, 2003, 1:22pm UTC](https://discourse.libsdl.org/t/proiblems-with-sdl-mixer/8651/3 "2003-04-27T13:22:03Z")

</div>

Hi Mike,

I too am having a problem with SDL\_Mixer. Just like your saying, i can  
tune the balance for my system, but for other computers, it doesnt operate  
optimaly. I dont know much about sound programming so i dont know if theres  
some way to maybe tune SDL\_Mixer at run time. Does anyone know if this is  
possible? Or does anyone have any suggestions on getting SDL\_Mixer to  
operate tollerably on a wider range of systems?

Thanks for the help!  
Atrix\> ----- Original Message -----

> From: [shadows386@hotmail.com](mailto:shadows386@hotmail.com) (Mike P.)  
> To:   
> Sent: Saturday, April 26, 2003 5:28 PM  
> Subject: [SDL] Proiblems with SDL\_Mixer
> 
> > Ok… I Got SDL\_Mixer to initialize the audio, got it to load music, and  
> > got  
> > it to play music.
> > 
> > I started off with the chunksize of 1024 which made the music sound very  
> > horrible and skippy. i played with the values a little bit, made the  
> > skipping better but eventually i got to a point that the skipping got  
> > worse  
> > as the number got higher. The documents on SDL\_Mixer say im supposed to  
> > find  
> > a happy-medium for my system, a perfect chunksize so that it wont skip  
> > from  
> > it being too small, and wouldnt lag from it being too big. I havnt found  
> > that number yet but its inbetween 6000 and 8000, Anyways, im sure if i  
> > play  
> > with it for awhile ill find it, but how the hell am i supposed to detect  
> > the  
> > happy medium for each individual system?
> > 
> > between 6000 and 8000 may be good for my system, but will it be good for  
> > anyone els?
> > 
> > I also noticed that the music in the game Tux Racer lags a lot, and also  
> > uses SDL\_Mixer…
> > 
> > Somebody please help me with this problem
> > 
> > -Mike
> > 
> > * * *
> > 
> > Protect your PC - get [McAfee.com](http://McAfee.com) VirusScan Online  
> > [Antivirus, VPN, Identity & Privacy Protection | McAfee](http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963)
> > 
> > * * *
> > 
> > SDL mailing list  
> > SDL at [libsdl.org](http://libsdl.org)  
> > [http://www.libsdl.org/mailman/listinfo/sdl](http://www.libsdl.org/mailman/listinfo/sdl)
