On Tue, 9 Sep 2003, Arve Knudsen wrote:

> Hi
>
> Is it safe to call snd_pcm_close for a pcm which failed to open (assuming
> the pcm handle is !NULL)? Not that important, but it might simplify my
> code somewhat.

No, if open failed, the pcm handle is unitialized, thus
the snd_pcm_close() call is not allowed.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to