Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
106 user(s) are online (62 user(s) are browsing Forums)

Members: 0
Guests: 106

more...

Support us!

Headlines

 
  Register To Post  

USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information
I've been building a native USB Audio Class driver for AmigaOS 4 from scratch. It now supports stereo playback, 7.1 multichannel surround, recording with input switching, multi-device detection, and user-configurable device names. It's in beta

What works:

- Stereo and 7.1 multichannel playback
- Recording with Microphone, Line In, and SPDIF input switching
- Hardware volume control and input gain
- Multiple USB audio device detection and selection
- Glitch-free playback with triple-buffered isochronous transfers
- Clean start/stop without crashes
- Custom device names via prefs file
- Amiga Installer package for easy deployment

What to be aware of (beta caveats):

- Only USB Audio Class 1.0 devices are supported (covers most USB sound cards)
- Only 16-bit PCM format is currently handled
- The device must be connected before AHI initializes the driver
- Hot-plug/unplug while audio is playing will cause issues
- Not all USB audio devices have been tested — your mileage may vary
- Recording quality and input switching behavior depends on the specific USB chipsetIf you encounter problems, please capture the full serial debug log (all lines starting with [USBAudio]) and report the issue along with your device's VID:PID.

Read more here:

https://ko-fi.com/post/USBAudio-Bringi ... o-to-AmigaOS-4-B0B31VO9UN

And you can download it for free here: https://ko-fi.com/s/7f7d79b214

I'll add on os4 depot once it is stable enough

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Home away from home
Home away from home


See User information
@afxgroup
I know who should be next president ! Thumbs up ! What else except C-Media CM106 (0D8C:0102) 7.1 USB may be worth of testing ? (something up2date which can be find in shops, etc)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
@afxgroup
Nice!

- Thomas
Go to top
Re: USB Audio driver for AmigaOS4
Amigans Defender
Amigans Defender


See User information

i'm really tired...
Go to top
Re: USB Audio driver for AmigaOS4
Site Builder
Site Builder


See User information
@afxgroup
Exceptional work mate. I really enjoyed reading your post. Thank you for sharing it.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
@afxgroup
Btw. regarding "the Sirion stack's tendency to report the same physical device multiple times at different USB addresses" you mention: Please tell me more.
I've never myself experienced anything like this, but if there's some underlying bug there which needs to be fixed in Sirion I'm all ears :)

- Thomas
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
Well done Andrea, congratulations on reaching the goal!

Memento audere semper!
Go to top
Re: USB Audio driver for AmigaOS4
Home away from home
Home away from home


See User information
Excellent

Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
That's amazing afxgroup. Many thanks for all your work!!!

Go to top
Re: USB Audio driver for AmigaOS4
Quite a regular
Quite a regular


See User information
@afxgroup
Great! Thank you very much!
It is not only driver - it also means one free slot in Sam460LE !

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
Great work. Many thanks indeed!

Happiness is mandatory
Go to top
Re: USB Audio driver for AmigaOS4
Just popping in
Just popping in


See User information
Great news! Thank you afxgroup. I'll check this driver with 2 DACs TOPPING EX5 and Topping D10.

Go to top
Re: USB Audio driver for AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
Well done. Amazing. Does it depend on Update 3 and the new isochronous support?

Go to top
Re: USB Audio driver for AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
Hi Andrea and all

As I reported in Discord channel I tried 4 different USB Sound Card

UGreen
Cheap 7.1 USB
Cheap 8.1 USB
Behringer U-Phobia UM-2

I can see USB Sound cards in Prefs/AHI or Prefs/Sound (A-Eon version), but I when I click Play A Test Sound, it locks the machine (Sam460)

Does anyone have the same problem ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: USB Audio driver for AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
Excellent!!

As it happens, one of my three current projects is also USB audio.

So much to talk about.. I also have some working code for Audio2,
written for the Behringer 404HD.

There are quite a few challenges to making AHI work for USB. I hope you beat them all and I'll help if I can in any way.

There are a few things in Audio1 that were left undefined, so there's a few different ways of doing things. My latest code is for one specific device, on the thinking that if I get one "just right" then release the code it might grow from there. I was/am writing for the creative SoundBlaster Play3. Nothing particularly special about it except it's a name brand and should be available everywhere.

I suspect you're already past where I am right now. I look forward to downloading and testing tonight if I get a chance to do so.

///////////////////////edit/////////////////////////////
The Play3 is recognized, but when I play a test sound
everything stops..
Also it offers 7.1, which is not a supported mode in this adapter.

But I am very enthusiastic. It wouldn't hurt my feelings at all
if your driver is ready before mine is.

My "Amiga Time" is very limited, perhaps this weekend
I'll find a NULL modem cable and grab some debug for you.

//////////////////Another Edit ////////////////////////////
Based on Sashimi output, it all looks good until it tries to set
interface 1 to alternate 1. That is the correct choice, but immediately
after that everything stops.

That stop is from the libusb code..

I might be all wrong, but I don't have a null modem cable handy
tonight, it'll, have to wait for the weekend.

Good Luck! We're all rooting for you.


Edited by LyleHaze on 2026/3/10 23:05:20
Edited by LyleHaze on 2026/3/10 23:31:01
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
8 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project