From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Zoom R16 Date: Tue, 11 Mar 2014 14:40:02 +0100 Message-ID: References: <201403102028.41556.gineera@aspect135.co.uk> 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 9894A26179C for ; Tue, 11 Mar 2014 14:40:02 +0100 (CET) In-Reply-To: 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: Jason Mancine Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 11 Mar 2014 09:34:14 -0400, Jason Mancine wrote: > > > My question is how did you check that the 32bit format is used. > > And, don't do top-posting. > > > > > > Takashi > > Sorry, i am unsure how to not top post when replying via email. > > With capture and playback .formats set to SNDRV_PCM_FMTBIT_S24_3LE, jack > log shows: > > ALSA: final selected sample format for playback: 32bit integer > little-endian > > and > > /proc/asound/R16/stream0 shows: > > Playback: > Status: Stop > Interface 1 > Altset 1 > Format: S32_LE > Channels: 2 > Endpoint: 3 OUT (ADAPTIVE) > Rates: 44100, 48000, 88200, 96000 > Data packet interval: 125 us > > Capture: > Status: Stop > Interface 2 > Altset 1 > Format: S32_LE > Channels: 8 > Endpoint: 4 IN (SYNC) > Rates: 44100, 48000, 88200, 96000 > Data packet interval: 125 us And are you sure that you patched correctly? For example, if you change the available rates in addition, does the patched kernel also show the same change? Takashi > > > > > > On Mar 11, 2014 3:09 AM, "Takashi Iwai" wrote: > > > > > > > At Mon, 10 Mar 2014 16:44:19 -0400, > > > > Jason Mancine wrote: > > > > > > > > > > Yes, I have tried those .formats with no luck...it still > initializes at > > > > 32 > > > > > > > > How did you check it? > > > > > > > > > > > > Takashi > > > > > > > > > On Mar 10, 2014 4:29 PM, "Alan Horstmann" > > > > wrote: > > > > > > > > > > > On Monday 10 March 2014 14:36, Jason Mancine wrote: > > > > > > > I am still working on trying to get the R16 to work for > playback. > > > > > > > > > > > > > So, the main question is how do I force ALSA to initialize this > > > > device at > > > > > > > 24 bit integer? > > > > > > > > > > > > Isn't the answer in Takashi's original reply...? > > > > > > > > > > > > > > On Dec 6, 2013 11:25 AM, "Takashi Iwai" > wrote: > > > > > > > >> Do you mean the 24bit physical size, i.e. each frame is > packed in > > > > 3 > > > > > > > >> bytes? If so, you used a wrong format. > SNDRV_PCM_FMTBIT_S24_LE > > > > is > > > > > > > >> for 24bit format packed in 32bit frame. If you need a > 3-bytes > > > > frame, > > > > > > > >> use SNDRV_PCM_FMTBIT_S24_3LE instead. > > > > > > > > > > > > Many USB devices have this... > > > > > > > > > > > > > .type = > QUIRK_AUDIO_FIXED_ENDPOINT, > > > > > > > .data = & (const struct > audioformat) > > > > { > > > > > > > .formats = > SNDRV_PCM_FMTBIT_S24_LE, > > > > > > > > > > > > .formats = > SNDRV_PCM_FMTBIT_S24_3LE, > > > > > > > > > > > > instead. That would apply for capture also. Or is that what you > have > > > > been > > > > > > trying? > > > > > > > > > > > > Regards > > > > > > > > > > > > Alan > > > > > > > > > > > _______________________________________________ > > > > > Alsa-devel mailing list > > > > > Alsa-devel@alsa-project.org > > > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > > > > > > > > > > > [2 ] > > > > [2 ] >