From: Takashi Iwai Subject: Re: [PATCH 0/3] ALSA: snd-usb: Some small fixes to make Playback Design products work Date: Tue, 19 Mar 2013 07:48:07 +0100 Message-ID: References: <1363522047-7515-1-git-send-email-zonque@gmail.com> <5146DB40.2060000@gmail.com> <51471B51.4000006@gmail.com> <5147D29D.70705@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 070DD265D3C for ; Tue, 19 Mar 2013 07:48:10 +0100 (CET) In-Reply-To: <5147D29D.70705@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: "Gabriel M. Beddingfield" Cc: alsa-devel@alsa-project.org, clemens@ladisch.de, Daniel Mack , demian@auraliti.com, ray@auraliti.com, andreas@akdesigninc.com List-Id: alsa-devel@alsa-project.org At Mon, 18 Mar 2013 19:51:09 -0700, Gabriel M. Beddingfield wrote: > > On 03/18/2013 06:49 AM, Daniel Mack wrote: > >>> Yes, I thought about that for a while as well. In fact, the data format > >>> the device supports on these altsettings is "DSD", but that doesn't have > >>> a defined value in the UAC2 spec (and strictly speaking, DSD is not even > >>> PCM). > >>> > >>> So when a device is as unspecific as 'raw data', there's not much we can > >>> do about that except for exposing the same level of uncertainty down to > >>> the apps, right? > >> > >> Yes. We can add a new format SND_PCM_FORMAT_RAW, but it's not much > >> better than SND_PCM_FORMAT_SPECIAL after all :) > > > > Yes. If at all, we should add a SND_PCM_FORMAT_DSD, and a quirk for that > > device. But given that there is no application for DSD in userspace > > either, we probably don't need to care. > > +1 > > However, more and more applications are wanting to send non-linear PCM > data through ALSA. So, we probably /do/ need to care. It depends. DSD would be still likely feasible to be sent over a PCM device, as it's an audio stream after all, but most of other non-audio data wouldn't fit with the "PCM" device. Takashi