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(-) -- 2.7.4 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel