oops, us default, not dmix

This commit is contained in:
Glenn Maynard
2003-10-22 02:35:56 +00:00
parent e95cc858c0
commit b5656d7ec9
+2 -2
View File
@@ -65,8 +65,8 @@ Alsa9Buf::Alsa9Buf( hw hardware, int channels_, int samplerate_ )
/* Open the device. */
int err;
err = snd_pcm_open( &pcm, "dmix", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK );
// err = snd_pcm_open( &pcm, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK );
// err = snd_pcm_open( &pcm, "dmix", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK );
err = snd_pcm_open( &pcm, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK );
if (err < 0)
RageException::ThrowNonfatal("snd_pcm_open: %s", snd_strerror(err));