Re: For playback method of stopping after the execution aplay command

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

 



On Nov 9 2016 11:52, 高井和也 wrote:
After I was playing at aplay command, we are looking for a way to
terminate by the other process.

The aplay is quite simple program and it has no implementation for modern IPC (inter process communication) mechanism. So we need to use a traditional fashion, sending UNIX signals to aplay process to terminate the process.

In detail, please see 'signal_handler()' and related codes in aplay.c:
http://git.alsa-project.org/?p=alsa-utils.git;a=blob;f=aplay/aplay.c;h=2da7ddac1c81d24d20988d2719e4e66833277177;hb=HEAD#l385


Regards

Takashi Sakamoto
_______________________________________________
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