You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we suspend the system while axfer is doing playback/capture, after system resumed, axfer stopped playbak/capture with:
Fail to process frames: Streams pipe error
PLAYBACK: Expected 4611686018427387903frames, Actual 143392frames
snd_pcm_drain(): File descriptor in bad state
snd_pcm_hw_free(): File descriptor in bad state
You can get the failure by playing in a terminal with axfer transfer playback -Dhw:0,0 -f dat -i -vvv -c 2 /dev/zero, and run sudo rtcwake -m mem -s 5 in another terminal.
axfer should survive system suspend/resume, just like aplay.
@takaswie FYI, thank you for creating this tool. here is how aplay handle this:
If we suspend the system while axfer is doing playback/capture, after system resumed, axfer stopped playbak/capture with:
You can get the failure by playing in a terminal with
axfer transfer playback -Dhw:0,0 -f dat -i -vvv -c 2 /dev/zero
, and runsudo rtcwake -m mem -s 5
in another terminal.axfer should survive system suspend/resume, just like aplay.
@takaswie FYI, thank you for creating this tool. here is how aplay handle this:
alsa-utils/aplay/aplay.c
Line 1738 in a566f8a
The text was updated successfully, but these errors were encountered: