Antique wrote: And by this you mean??? Someone fixed Isochronous transfer for os4????
When I am wrong, I'll admit it. Even though the information I gave was the best knowledge I had at the time.
Personally, as an avid supporter of Music on the Amiga, I have wanted support for USB Audio for a LONG time. And I have said at least a dozen times that if ISO transfers are ever supported, I would gladly write the audio driver myself. (I think it would make a nice match for my existing USB MIDI driver)
Since that post was made, I found out that there is some limited support for ISO transfers, and that this support was added some time ago, but never fully tested.
I can tell you that two of us have successfully recorded and played back audio through USB.. and that further development is planned, AFTER I complete what is in front of me right now.
More details are coming, keep an eye on Trevors blog for more info.
But as I stated twice before. I gave a wrong answer, and I thought it a good idea to own up to it. Mis-information is not good for our community, and I try very hard to keep it as straight as possible. If it weren't for the want to correct my error, I would have just let it all rest until Trevors blog published.
If anyone is interested, there is some further information at the link posted above.
I have a Creative XMod that I could test with if/when you get decide to make the driver work with the Sam460. The XMod has a volume knob on it if you were to implement that feature.
If you get "No suitable recording device found\n", then it's game over, device not class compatible. It MAY also fail if on an unsupported USB type.. since ISO transfers are not supported across the board.. but we know that native X1000 and SAM ports should be OK.
I just played with the alternate setting option, and it may be broken.
But for those who were successful in the past, a line like USB_Audio_Test r ram:soundfile p ram:soundfile should record about five seconds, then play it back for you.
It is a VERY early test tool, but it will at least confirm class compatibility.
Cass wrote: So for the time being no chance to see a working driver for USB headsets? I have a Trust 5.1 USB Headset.
Correct. I plan on finishing the X1000 audio driver before pursuing this further. Once work on USB audio continues, the USB audio driver will only work on devices that are "Class Compatible". This means they followed the standard for operation instead of making their own format and procedures. It also depends on the type of USB chip that you are communicating through, though we are known-good with the X1000 and SAM-FLEX (probably all SAMs, testing continues) native USB ports.
I am just beginning to gather data on what works and what does not. It looks like the "Creative XMod" and "Blue Snowball Microphone" do not work (not class compatible), and the "TTUSB turntable" and "Diamond Sound Tube" are working well. There is also a monophonic headphone set that worked, but I never got the name. Last night I also found out that with a slight file modification, I can play back recordings made over USB with the AHI Audio:device quite simply. This makes sound playback as easy as "copy soundfile AUDIO:B/16/C/2/F/48000" for playback of a 16 bit stereo recording. Nice touch.
If you, or anyone, wants to determine if your device is "Class Compatible", there are two options: You can plug it into your Amiga and use sys:utilities/USBInspector. If it shows up there as "Audio Class, Subclass 2" (probably more than once) then it is likely to work. I also have a small program that will attempt to record and play back that you may use for testing. Just PM me with your E-Mail address if you'd like to give it a try.
Graffias79, If it said "Recording.." then it IS a class compatible device. The problem is probably due to the "limited" support we have right now for Audio transfers on the USB bus.
Please allow me to explain: The current USB stack has three different internal "handlers", which are selected depending on whether the device is USB1 or USB2, and also depending on what kind of USB chipset you have, and possibly what kind of Hub you are using. (it's a bit of a riddle to me)
So, the three current options are "OHCI", "EHCI", and "UHCI". I'm pretty sure I got them in the wrong order. At this time, only one of the three supports Isochronous transfers, which are required for Audio work. (you might recall from our previous discussion)
So, depending on what you plug in, and what you plug it into, we may or may not be able to transfer audio data. This sounds like the most likely cause for your zero file length problem.
So far, we know that the built-in ports on an X1000 WILL work. we know that the built-in ports on a SAM-Flex WILL work, and we know that the builtin ports on an XE WILL NOT work. But it also might have something to do with whether your device is 1.0, 1.1 or 2.0.. We don't yet have all the details. A PCI card with a NEC chipset should also work.
I must be clear.. the "limited" support for ISO transfers was pretty much untested until a few weeks ago. Now that this tool is available for testing, we MIGHT get more support for ISO transfers in the future, But right now our USB team is busy working on USB3 (XHCI), and that is WAY more important!
So, your device IS class compatible, and given what I described here it may be supported in the future, but not at this time.