summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-09-04 11:15:31 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-09-04 11:15:31 +0000
commit63a0075d252741b0a1d9556e66e2cc4d76705747 (patch)
treea6664c6a288e2c3fac6e2e6ccba3ee155e77f1a6 /plugins
parent67943f6a9cc2ffb63e6cc52f8564003459c2dbca (diff)
downloadpcsxr-63a0075d252741b0a1d9556e66e2cc4d76705747.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@28949 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfsound/alsa.c b/plugins/dfsound/alsa.c
index 3aadc588..2a291f6a 100644
--- a/plugins/dfsound/alsa.c
+++ b/plugins/dfsound/alsa.c
@@ -251,7 +251,7 @@ void SoundFeedStreamData(unsigned char* pSound,long lBytes)
// PLAY CDDA CHANNEL
void CALLBACK SPUplayCDDAchannel(short* pcm, int nbytes)
{
- if (handle_cdda == NULL) SetupCDDASound();
+ if (handle_cdda == NULL) return;
if (snd_pcm_state(handle_cdda) == SND_PCM_STATE_XRUN)
snd_pcm_prepare(handle_cdda);