Opened 6 years ago

Last modified 3 years ago

#10521 assigned enhancement

enable usb_audio in nightly builds

Reported by: tidux Owned by: nobody
Priority: normal Milestone: R1
Component: Drivers/Audio/USB Version: R1/Development
Keywords: Cc:
Blocked By: #1045 Blocking:
Has a Patch: no Platform: All

Description

I have successfully built, booted, and run a @nightly-anyboot gcc2h target with the USB Audio driver enabled. It works with a C-Media Electronics, Inc. Audio Adapter (USB ID 0d8c:000c), and produces sound (although not the right sounds) with a Turtle Beach Amigo II (USB UD: 10f5:0211). Other than hotplug and compatibility fixes for specific models like the Amigo II, the driver is ready to use, and the remaining bugs will be found much more easily with a wider user base to test them. On a more personal note, the USB audio devices are much simpler to use than the nightmarish complexities of getting my Conexant HDA chipset into working with Haiku.

Attached is a patch to enable USB Audio.

Attachments (1)

usb_audio.patch (187 bytes ) - added by tidux 6 years ago.

Download all attachments as: .zip

Change History (5)

by tidux, 6 years ago

Attachment: usb_audio.patch added

comment:1 by tidux, 6 years ago

Has a Patch: set

comment:2 by siarzhuk, 6 years ago

Blocked By: 1045 added

Thanks for feedback. You just lucky owner of the OHCI USB controller. Haiku has correct implementation of isochronous transfers for it. UHCI, EHCI and XHCI need to be refactored as described in #1045. Using usb_audio with such controller types crashes the system. That's why it is not in the image yet.

comment:3 by siarzhuk, 4 years ago

Owner: changed from siarzhuk to nobody
Status: newassigned

comment:4 by pulkomandy, 3 years ago

Has a Patch: unset

Marked patch as obsolete, so it does not show in the "pending review" list. We will remember to do this when isochronous transfers are implemented well enough to not crash the system too much.

Last edited 3 years ago by pulkomandy (previous) (diff)
Note: See TracTickets for help on using tickets.