public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* ALSA: arecord : silennce recorded as 0x80
@ 2023-04-13 13:49 Muni Sekhar
  2023-04-14 10:15 ` Luke Koch
  0 siblings, 1 reply; 4+ messages in thread
From: Muni Sekhar @ 2023-04-13 13:49 UTC (permalink / raw)
  To: alsa-devel, linux-sound; +Cc: LKML, kernelnewbies

Hi all,

I recorded the silence on the default audio card by running "arecord
-d 5 test.wav."

Once it exited, I checked the contents by running "hexdump test.wav,"
and I see that silence is recorded as a sequence of 0x80 instead of
0x00.

0000000 4952 4646 0024 8000 4157 4556 6d66 2074
0000010 0010 0000 0001 0001 1f40 0000 1f40 0000
0000020 0001 0008 6164 6174 0000 8000 8080 8080
0000030 8080 8080 8080 8080 8080 8080 8080 8080
0000040 8080 8080 8080 8080 8080 8080 8080 8080
...

What might be the reason for silence being recorded as 0x80 instead of 0x0?


-- 
Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-18 11:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-13 13:49 ALSA: arecord : silennce recorded as 0x80 Muni Sekhar
2023-04-14 10:15 ` Luke Koch
2023-04-14 14:25   ` Muni Sekhar
2023-04-15  9:51     ` Luke Koch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox