Today fixed by bluhm in uaudio.c r.1.150

Thank you!

friehm

Am Mo., 23. März 2020 um 10:43 Uhr schrieb Florian Riehm <[email protected]>:

> Thank you for the advice.
> A hardcoded rate = 16000 in uaudio_set_params() has fixed my headset.
> I try to provide a better patch.
>
> Am Mo., 23. März 2020 um 08:52 Uhr schrieb Alexandre Ratchov <
> [email protected]>:
>
>> On Sun, Mar 22, 2020 at 03:00:35PM +0100, Florian Riehm wrote:
>> > >Synopsis: uaudio0: block size too large
>> > >Category: kernel
>> > >Environment:
>> > System      : OpenBSD 6.6
>> > Details     : OpenBSD 6.6-current (GENERIC.MP) #16: Sun Mar 22
>> 13:28:44 CET
>> > 2020
>> > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> >
>> > Architecture: OpenBSD.amd64
>> > Machine     : amd64
>> > >Description:
>> > I try to use a Jabra Evolve 65 headset connected with a Jabra Link 370
>> > usb device. Playing sound results in:
>> > uaudio0: block size too large
>> >
>> > I build a kernel with UAUDIO_DEBUG and I see the problem, but I
>> > do not understand it, since I am not familiar with usb.
>> >
>>
>> Thank you. The problem is that uaudio_set_params() picked the wrong
>> rate (48000, which is for play-only mode instead of 16000 which is for
>> full-duplex mode).
>>
>> Then, as you noticed, the calculation in uaudio_stream_open() is wrong
>> because it's not supposed to be called with 48000 rate.
>>
>

Reply via email to