Re: Handling SIGTSTP (Ctrl+Z) /SIGCONT/fg with aplay/cplay

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

 



Hi Daniel,

On 05-01-22, 16:31, Daniel Baluta wrote:
> Hi all,
> 
> Is there any quick document for handling Ctrl + Z with aplay/cplay?

cplay does have have handler for it, patches would be welcome :)

> I don't see this signal handled with alsa-lib or tinycompress although
> linux kernel offers PAUSE/RESUME ioctls.

Are you sure, I checked with aplay, it seems to me work for me on Fedora

$ aplay test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
^Z
[1]+  Stopped                 aplay test.wav

It did pause the file and I was able to resume it from the last
position.

FWIW:
$ aplay --version
aplay: version 1.2.6 by Jaroslav Kysela <perex@xxxxxxxx>

> 
> What should be the expected behavior?

Pause the stream should be apt behaviour, unless Takashi or Jaroslav
have better ideas

-- 
~Vinod



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

  Powered by Linux