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
WASAPI backend doesn't support exclusive mode? #181
Comments
The WASAPI backend does not currently support exclusive mode. No promises, but I'll see if I can get to it over the weekend. |
To be honest, I don’t think the HOG_DEVICE flag has ever been fully supported in RtAudio. The flag was created during design stages but actual implementation turned out to be difficult or impossible in many cases. I vaguely recall testing it (10 years ago or more) in OS-X, where it seemed like the API would support it, and found that it didn’t work.
… On Jan 17, 2019, at 4:45 AM, Marcus Tomlinson ***@***.***> wrote:
The WASAPI backend does not currently support exclusive mode. No promises, but I'll see if I can get to it over the weekend.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#181 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFOBpUJ9Pl7_Sd8gFy57ewPZXeztfoc1ks5vEEZVgaJpZM4aEwWt>.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/thestk/rtaudio","title":"thestk/rtaudio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in ***@***.*** in #181: The WASAPI backend does not currently support exclusive mode. No promises, but I'll see if I can get to it over the weekend."}],"action":{"name":"View Issue","url":"#181 (comment)"}}} [ { ***@***.***": "http://schema.org", ***@***.***": "EmailMessage", "potentialAction": { ***@***.***": "ViewAction", "target": "#181 (comment)", "url": "#181 (comment)", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { ***@***.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
|
Is there any progress on this? I would really like to get to get the audio latency down and it seems this is the only way to get anything below 10ms. Apparently for pro audio you need to use the IAudioClient3::Initialize to set the actual OS buffer size. |
No progress, no. It’s not even been on my radar to be honest. I’ll add it to my todo then. Of course, if you’d like to give it a go @angryoctopus, I’d be happy to review. |
I might take a look and see if I can figure it out. |
smallest latency in windows happens with ASIO. |
I'm aware you can get low latency with ASIO but it does put a burden on the end user to install/configure ASIO drivers. |
@MarcusTomlinson pls update if it is fixed? in desperate need of help. I am using rtAudio for my project.I needed MicRaw signal(without any APO effects) ,"WASAPI exclusive mode" capture seems only option. thanks |
Hello,
I added
RTAUDIO_HOG_DEVICE
toStreamOptions
object, but my application doesn't worked on EXCLUSIVE MODE.I read the
RtAudio.cpp
file and foundAUDCLNT_SHAREMODE_SHARED
is passed torenderAudioClient->Initialize()
,Should be use
AUDCLNT_SHAREMODE_EXCLUSIVE
here, and do other changes accordingly, whenRTAUDIO_HOG_DEVICE
is set toso.flags
?The text was updated successfully, but these errors were encountered: