-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable audio playback #19
Comments
Let's first try to fix 96kHz and lower; I already saw places that need fixing for higher rates. |
There seems a rather fundamental issue with the existing approach. Every write to USB call can write about 64*580 ~ 37kB. There are 4 framelists for the write. So it seems we can have 2 wraps scheduled at any one time. However, the approach currently has only one 'theWrapRangeDescriptor' |
There also was something wrong with the erase head position. Disabled that for now. |
Tested audio playback on 44.1 and 96kHz, seems to kind of work. Still getting overrun warnings, and more testing is needed.192kHz not yet tested. |
Switching the rate seems to disable the playback connection with the EMU. It seems only 44kHz is actually working. |
The switching of the rate seems to mangle the virtual and physical format of the channels from "mixable" to "unmixable". HALLab tool can be used to set it back to "mixable" (select EMU, click "info", select "Streams" tab, and in the Output Stream column then change "Virtual format" to "Mixable". |
With that trick, all rates, 48kHz and 96kHz and even 192kHz seem to work fine! I'm a bit suspicious of this, everthing says it's 192kHz and even the lights on the EMU device dim as usual with 192kHz but is this really? I would expect some more bugs |
There was a weird code snip in EMUUSBAudioEngine that added the found LinearPCM formats from the device as isMixable=false AFTER adding them as isMixable=true. I have no idea what's the idea behind that but removing that solved the problem |
…mit. Audio playback after changing rate now works.
Hi! Im still cant manage playback to work |
Maybe we can also fix the playback
The text was updated successfully, but these errors were encountered: