Project

General

Profile

Actions

Submit #2682

closed

Fix for uaudio driver, so it can be used on DragonFly

Added by shamaz almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Kernel
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hello. A new uaudio driver for usb4bsd (sys/bus/u4b/audio) needs some care
and love. Currently it can only probe audio devices, that is all. So I
propose a patch which makes this driver useful.

What works: playback with different audio formats and sample rates (8/16
bit pcm, 44.1kHz, 8kHz and so on). Up to 2 channels (what most people need
;). Module loading/unloading.
What does not: multichannel environments, mixer master output level ("vol")
affects only left channel, I really do not know why.
What was not tested: recording

Is it good enough to be committed?

With best regards, Vasily.

Files

uaudio.patch (3.47 KB) uaudio.patch shamaz, 06/08/2014 11:19 AM
uaudio.patch (7.07 KB) uaudio.patch shamaz, 06/09/2014 10:02 AM
uaudio.patch (6.33 KB) uaudio.patch shamaz, 07/02/2014 09:37 AM
Actions

Also available in: Atom PDF