Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 12:24:38 +0200
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        Jakub Lach <jakub_lach@mailplus.pl>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Any recent changes in usb audio in 9-STABLE?
Message-ID:  <51A485E6.4030901@bitfrost.no>
In-Reply-To: <1369697546368-5815619.post@n5.nabble.com>
References:  <1369697546368-5815619.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51A485E6.4030901>