• Sam Lantinga's avatar
    Date: Tue, 17 Feb 2009 14:00:25 +0100 · e403bb29
    Sam Lantinga authored
    From: Stefan Klug
    Subject: [SDL] Possible bug, paused audio playing garbage
    
    On my WinCE device a paused audio device plays random garbage.
    This might also be the issue in the thread "sound cracks with SDL_mixer
    and AUDIO_S16LSB"
    
    I don't have that much knowledge of the SDL audio part, but the attached
    patch fixes it for me, and collapses two redundant ifs.
    
    I'm not sure if this is the correct way to fix this.
    Shouldn't the complete stream conversion part of the RunAudio loop be
    dependent on the paused property of the device? (not only the call to
    (*fill)(udata, istream, istream_len).
    
    Anyways. Would be great if the patch or a fix could find its way to SVN ;-)
    
    Cheers
    Stefan
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403563
    e403bb29
Name
Last commit
Last update
..
alsa Loading commit data...
arts Loading commit data...
baudio Loading commit data...
bsd Loading commit data...
dart Loading commit data...
dc Loading commit data...
disk Loading commit data...
dma Loading commit data...
dmedia Loading commit data...
dsp Loading commit data...
dummy Loading commit data...
esd Loading commit data...
fusionsound Loading commit data...
iphoneos Loading commit data...
macosx Loading commit data...
macrom Loading commit data...
mint Loading commit data...
mme Loading commit data...
nas Loading commit data...
nds Loading commit data...
nto Loading commit data...
paudio Loading commit data...
pulseaudio Loading commit data...
sun Loading commit data...
ums Loading commit data...
windib Loading commit data...
windx5 Loading commit data...
SDL_audio.c Loading commit data...
SDL_audio_c.h Loading commit data...
SDL_audiocvt.c Loading commit data...
SDL_audiodev.c Loading commit data...
SDL_audiodev_c.h Loading commit data...
SDL_audiomem.h Loading commit data...
SDL_audiotypecvt.c Loading commit data...
SDL_mixer.c Loading commit data...
SDL_mixer_MMX.c Loading commit data...
SDL_mixer_MMX.h Loading commit data...
SDL_mixer_MMX_VC.c Loading commit data...
SDL_mixer_MMX_VC.h Loading commit data...
SDL_mixer_m68k.c Loading commit data...
SDL_mixer_m68k.h Loading commit data...
SDL_sysaudio.h Loading commit data...
SDL_wave.c Loading commit data...
SDL_wave.h Loading commit data...
sdlgenaudiocvt.pl Loading commit data...