Finally I got it working! First I uppgraded to ALSA 1.0.14rc4. Then I changed the SDL-buffert size.
Before the uppgrade the buffert sizing trick did not work. Best Regards /John tor 2007-05-10 klockan 08:17 -0700 skrev James Paige: > On Thu, May 10, 2007 at 10:18:44AM +0200, John Eriksson wrote: > > Ghaaaa! > > > > I give up! Even after reading all mails about sound problems and trying > > every single suggestion I can't get the sound to be played clean. > > > > I've tested both PyGame apps and other SDL-based applications and the > > sound is still crackling. When using non-SDL applications teher are no > > sound problems. > > > > There are some improvement when using "export SDL_AUDIODRIVER=esd" but > > then there is a delay before the sound is played. > > > > I'm using Ubuntu 7.04 Feisty Fawn. > > > > Don't really know how to determine what kind of hardware I'm using but I > > know it's an Intel on-board sound chip of some sort. I have a laptop > > Dell Latitude D820. And I didn't have any problems with the sound > > before upgrading to Feisty Fawn. > > > > Can someone please help me??? > > > > If not, can I use some other python sound API? > > > > Best Regards > > /John > > > > To find out exactly what sound chip you have, open a terminal and type: > lspci > > Do any of these threads help? > > http://ubuntuforums.org/showthread.php?t=294732 > http://ubuntuforums.org/showthread.php?t=421507 > > --- > James Paige