Re: [Alsa-devel] Question on snd_pcm_open and sb live

2001-11-30 Thread Josh Green
On Fri, 2001-11-30 at 02:06, Alexander Ehlert wrote: > Hi, > > I have the following code in glame's alsa_audio_out plugin: > > char *pcm_name="plughw:0,0"; > ... > err = snd_pcm_open(&handle, pcm_name, SND_PCM_STREAM_PLAYBACK, > SND_PCM_NONBLOCK); > if (err<0) > FILTER_ERR

[Alsa-devel] Question on snd_pcm_open and sb live

2001-11-30 Thread Alexander Ehlert
Hi, I have the following code in glame's alsa_audio_out plugin: char *pcm_name="plughw:0,0"; ... err = snd_pcm_open(&handle, pcm_name, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK); if (err<0) FILTER_ERROR_RETURN("couldn't open audio device"); /* set back to blocking io *