From: Takashi Iwai Subject: Re: [PATCH] pcm: 2nd round of pcm_misc DSD fixes Date: Fri, 15 Aug 2014 17:40:30 +0200 Message-ID: References: <1408085019-5277-1-git-send-email-gtmkramer@xs4all.nl> <53EDCCAB.3050206@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 94BEE265071 for ; Fri, 15 Aug 2014 17:40:30 +0200 (CEST) In-Reply-To: <53EDCCAB.3050206@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "Alexander E. Patrakov" Cc: alsa-devel@alsa-project.org, gtmkramer@xs4all.nl List-Id: alsa-devel@alsa-project.org At Fri, 15 Aug 2014 15:02:35 +0600, Alexander E. Patrakov wrote: > > 15.08.2014 12:43, Jurgen Kramer wrote: > > Functions 'snd_pcm_format_silence_64' and 'snd_pcm_format_size' also need to be > > able to handle the DSD formats. > > 0 is not a DSD silence value. It is the most negative value, similar to > -32768 for S16 samples. We need something that will average to zero. > > ffmpeg uses a repeating pattern of 0x69 here, with this comment: > > /* 0x69 = 01101001 > * This pattern "on repeat" makes a low energy 352.8 kHz tone > * and a high energy 1.0584 MHz tone which should be filtered > * out completely by any playback system --> silence > */ > > https://ffmpeg.org/pipermail/ffmpeg-cvslog/2014-April/076427.html Good point. We need a fix in the kernel side, too. Takashi