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

"UnspecifiedError calling waveOutOpen" #112

Closed
tgiachi opened this Issue Aug 22, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@tgiachi

tgiachi commented Aug 22, 2016

Hello!,
When I play mp3 , Randomically throw this error

UnspecifiedError calling waveOutOpen

@markheath

This comment has been minimized.

Show comment
Hide comment
@markheath

markheath Aug 23, 2016

Contributor

This error comes from the soundcard driver itself. Are you making sure you close any previously opened WaveOut instances? Also, is there anything unusual about the sample rate or channel count of the files that won't play?

Contributor

markheath commented Aug 23, 2016

This error comes from the soundcard driver itself. Are you making sure you close any previously opened WaveOut instances? Also, is there anything unusual about the sample rate or channel count of the files that won't play?

@tgiachi

This comment has been minimized.

Show comment
Hide comment
@tgiachi

tgiachi Aug 23, 2016

Yes, all instances are closed/disposed!. but maybe is corrupted mp3? With VLC is files are ok!

tgiachi commented Aug 23, 2016

Yes, all instances are closed/disposed!. but maybe is corrupted mp3? With VLC is files are ok!

@tgiachi

This comment has been minimized.

Show comment
Hide comment
@tgiachi

tgiachi Aug 23, 2016

It's possibile to enable verbose debug on NAudio? Only for know where is the problem! Thanks Mark, you have done great library 😄

tgiachi commented Aug 23, 2016

It's possibile to enable verbose debug on NAudio? Only for know where is the problem! Thanks Mark, you have done great library 😄

@markheath

This comment has been minimized.

Show comment
Hide comment
@markheath

markheath Aug 23, 2016

Contributor

there isn't a verbose debug setting, your error is coming from a call to the waveOutOpen API. Most useful thing you can do is look at the WaveFormat of the stream that you are initializing your WaveOut instance with. Maybe there is something strange about it.

Contributor

markheath commented Aug 23, 2016

there isn't a verbose debug setting, your error is coming from a call to the waveOutOpen API. Most useful thing you can do is look at the WaveFormat of the stream that you are initializing your WaveOut instance with. Maybe there is something strange about it.

@markheath markheath closed this Sep 20, 2016

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