[DragonFlyBSD - Submit #2682] Fix for uaudio driver, so it can be used on DragonFly

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Jul 2 09:37:41 PDT 2014


Issue #2682 has been updated by shamaz.

File uaudio.patch added

This is a variation I use now, if someone is still interested. I moved new functionality from pcm driver to uaudio (only round_bufdz in dev/sound/pcm/channel.c was left modified to accept any values of min and max, not just power of 2). Now I am sure it will not break anything else.

----------------------------------------
Submit #2682: Fix for uaudio driver, so it can be used on DragonFly
http://bugs.dragonflybsd.org/issues/2682#change-12127

* Author: shamaz
* Status: New
* Priority: Normal
* Assignee: profmakx
* Category: Kernel
* Target version: 3.9.x
----------------------------------------
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 (7.07 KB)
uaudio.patch (6.33 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list