Skip to content

Commit

Permalink
Completely untested USB Audio device
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Dec 14, 2024
1 parent 13cc874 commit 141e67b
Show file tree
Hide file tree
Showing 6 changed files with 514 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/include/86box/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ extern const device_t tndy_device;
extern const device_t wss_device;
extern const device_t ncr_business_audio_device;

extern const device_t usb_audio_device;

#ifdef USE_LIBSERIALPORT
/* External Audio device OPL2Board (Host Connected hardware)*/
extern const device_t opl2board_device;
Expand Down
1 change: 1 addition & 0 deletions src/sound/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ static const SOUND_CARD sound_cards[] = {
{ &ct5880_device },
{ &ad1881_device },
{ &cs4297a_device },
{ &usb_audio_device },
#ifdef USE_LIBSERIALPORT /*The following devices required LIBSERIALPORT*/
{ &opl2board_device },
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/usb/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
add_library(usb OBJECT usb_hid_mouse.c usb_hid_keyboard.c usb_uhci_bochs.c usb_ohci_bochs.c usb_common.c)
add_library(usb OBJECT usb_hid_mouse.c usb_hid_keyboard.c usb_uhci_bochs.c usb_ohci_bochs.c usb_common.c usb_audio.c)
Loading

0 comments on commit 141e67b

Please sign in to comment.