Skip to content
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

"RtApiDs::getDeviceInfo: device ID is invalid!" on certain sample rates on windows with directsound #428

Open
nshaheed opened this issue Feb 1, 2024 · 0 comments

Comments

@nshaheed
Copy link
Contributor

nshaheed commented Feb 1, 2024

chuck --srate48000 --dac:"Headphones (Realtek(R) Audio)"

results in the following error message:

[chuck]: RtApiDs::getDeviceInfo: device ID is invalid!

So for some sample rates with the realtek device on the default directsound audio driver it's able to find the device and some it can't.

Here's this list of valid and invalid sample rates on my dell xps:

[chuck]:   4000 Hz - bad
[chuck]:   5512 Hz - bad
[chuck]:   8000 Hz - bad
[chuck]:   9600 Hz - bad
[chuck]:   11025 Hz - good
[chuck]:   16000 Hz - bad
[chuck]:   22050 Hz - good
[chuck]:   32000 Hz - bad
[chuck]:   44100 Hz - good
[chuck]:   48000 Hz - bad
[chuck]:   88200 Hz - bad
[chuck]:   96000 Hz - good
[chuck]:   176400 Hz - bad
[chuck]:   192000 Hz - bad

setting --driver:wasapi fixes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant