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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Jun 8 13:09:23 PDT 2014


Issue #2682 has been updated by profmakx.


Can you please make sure that the mixer is properly protected using snd_mtxlock/snd_mtxunlock when modifying it?

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

* Author: shamaz
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
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)


-- 
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 Bugs mailing list