Re: Third time: Unlink PCM resource ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 25 May 2009, Werner Van Belle wrote:

> Takashi Iwai wrote:
>> You can control it via fcntl().  See fcntl(2) man page.
>>
> I looked at that but I didn't find any place in alsalib (or libalsa
> whatever the order of those two words), where I can obtain the file
> handle. They are all of type pcm_something_t. I found a file handle
> quite deep in this library but there seems no way to actually obtain
> that handle.
>
> Do you think fcntl on a pcm_t device would work (if we got it to compile
> first :-)

snd_pcm_poll_descriptors / snd_pcm_poll_descriptors_count

But I wonder why snd_pcm_close() does not work in child process. Could you 
show us 'strace -f -e trace=open,close' for your program?

 						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux