Raw format has no header, so use 0 when calling playback_go. Signed-off-by: Ion-Horia Petrisor <ion-horia.petrisor@xxxxxxx> --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index 00af662..fe274ed 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -2831,7 +2831,7 @@ static void playback(char *name) /* should be raw data */ init_raw_data(); pbrec_count = calc_count(); - playback_go(fd, dta, pbrec_count, FORMAT_RAW, name); + playback_go(fd, 0, pbrec_count, FORMAT_RAW, name); } __end: if (fd != 0) -- 2.7.4 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel