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

update to WINDOWS SDL 2.0.8 causing no audio #36

Closed
whitedragon0000 opened this issue Mar 24, 2018 · 8 comments
Closed

update to WINDOWS SDL 2.0.8 causing no audio #36

whitedragon0000 opened this issue Mar 24, 2018 · 8 comments

Comments

@whitedragon0000
Copy link
Contributor

Using precompiled mingw sdl2 2.0.8 from official site the static libSDL2.a causing no audio.
Any help?
I upload the my compiled SDL2_gfx 1.0.4 with SDL2 2.0.8 for any help.

SDL2_gfx.zip

@whitedragon0000
Copy link
Contributor Author

latest working SDL2 2.0.5 (tested) from 2.0.6 no audio

@dbaldan
Copy link
Collaborator

dbaldan commented Mar 24, 2018

In windows port, right? I still need to test it.
By the way I've tested the latest Android version and it's working fine.

@dbaldan
Copy link
Collaborator

dbaldan commented Mar 24, 2018

@whitedragon0000 I've tried the 4750 build for windows and the audio works fine.

@whitedragon0000
Copy link
Contributor Author

I reverted sdl2 api to 2.0.5 in windows.
from sdl2 2.0.6 to up (for windows) sdl uses wasapi api that force audio sampling to 32bit.
openbor uses 16/8 bit so before passing audio sample to sdl first need to resampling the audio to 32 bit.
Any help?
I can't do it, I have no time to study openbor audio sampling.
Thanks

@dbaldan
Copy link
Collaborator

dbaldan commented Mar 25, 2018

But do we need to update it to 2.0.6? What are the beneficts?

@whitedragon0000
Copy link
Contributor Author

whitedragon0000 commented Mar 25, 2018

it is important to prepare the code for the future, otherwise you can not update anymore...

@whitedragon0000
Copy link
Contributor Author

maybe now it works!!
check it!!

@DCurrent
Copy link
Owner

Nice @whitedragon0000! I was worried we'd have to stay a version back.

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

3 participants