From owner-freebsd-usb@FreeBSD.ORG Tue May 28 10:34:30 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF17C546 for ; Tue, 28 May 2013 10:34:30 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id A4FD3B75 for ; Tue, 28 May 2013 10:34:30 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id B5F5B7A220; Tue, 28 May 2013 12:23:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (unknown [10.220.1.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id 36E7720CE3; Tue, 28 May 2013 12:23:08 +0200 (CEST) Message-ID: <51A485E6.4030901@bitfrost.no> Date: Tue, 28 May 2013 12:24:38 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 To: Jakub Lach Subject: Re: Any recent changes in usb audio in 9-STABLE? References: <1369697546368-5815619.post@n5.nabble.com> In-Reply-To: <1369697546368-5815619.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 10:34:30 -0000 On 05/28/13 01:32, Jakub Lach wrote: > Which would explain why I now have dev.pcm.0.play.vchanrate: 48000 > if bitperfect is set, while previously it was dev.pcm.0.play.vchanrate: > 96000 ? > > e.g. now if bitperfect is set- > > AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400) > Selected audio codec: [ffwavpack] afm: ffmpeg (FFmpeg WavPack audio) > AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) > > previously- > > AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400) > Selected audio codec: [ffwavpack] afm: ffmpeg (FFmpeg WavPack audio) > AO: [oss] 96000Hz 2ch s16le (2 bytes per sample) > > No change with bitperfect=0 > > AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400) > Selected audio codec: [ffwavpack] afm: ffmpeg (FFmpeg WavPack audio) > AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) > > Device is 96000Hz 2ch s24le capable. > > I thought bitperfect would disable any resampling so stream should > be the same as source or (as I thought when 96000 appeared) highest > supported by device? > Yes, Set "vchanmode" to "adaptive". 9-stable now supports more hardware rates. --HPS