ALSA: pcm: Fix the silence data for DSD formats
commit94a988a8ab91c0cdabd2431281ec09dc52d92674
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Aug 2014 09:18:48 +0000 (22 11:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Aug 2014 09:24:58 +0000 (22 11:24 +0200)
treea8c86c0a108923a55ae788fec6887bf7bbe379ad
parentee3043b2d7b1bfe03cd697b144abf25954ec5fc6
ALSA: pcm: Fix the silence data for DSD formats

Right now we set 0 as the silence data for DSD_U8 and DSD_U16 formats,
but this is actually wrong.  0 is rather the most negative value.
Alternatively, we may take the repeating 0x69 pattern like ffmpeg
deploys.

Reference: https://ffmpeg.org/pipermail/ffmpeg-cvslog/2014-April/076427.html
Suggested-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_misc.c