[alsa-devel] For playback method of stopping after the execution aplay command
Takashi Sakamoto
o-takashi at sakamocchi.jp
Wed Nov 9 04:23:36 CET 2016
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
More information about the Alsa-devel
mailing list