Skip to content

Add support for playing a given number of samples

Daniel Baluta alsa-devel 1 version Applied

Status from this message: Applied all three patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3aplay: Add samples argument for playing/recording a given number of samplesaplay/aplay.c+29 -50 replies
2/3aplay: Refactor playback codeaplay/aplay.c+107 -370 replies
3/3aplay: Fix playback for small raw filesaplay/aplay.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add support for playing a given number of samples

We introduce (patch 1) the option of playing only a given number of samples in order to reduce our simple test running time. Until now we can only limit them at 1 second (-d parameter).

This patch series also refactors the playback function (patch 2) and fixes a bug with small raw files (patch 3).

Previous discussions about this started here:

https://www.spinics.net/lists/alsa-devel/msg64463.html

Daniel Baluta (2):
aplay: Refactor playback code
aplay: Fix playback for small raw files

Ion-Horia Petrisor (1):
aplay: Add samples argument for playing/recording a given number of
samples

 aplay/aplay.c | 185 +++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 143 insertions(+), 42 deletions(-)
Signature · 1 line
2.7.4