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

SoundBuffer failed to GetWritecur #3

Open
salvadorc17 opened this issue May 17, 2017 · 3 comments
Open

SoundBuffer failed to GetWritecur #3

salvadorc17 opened this issue May 17, 2017 · 3 comments

Comments

@salvadorc17
Copy link

Enabling the sound fails when reading Writecur of the Buffer, is there anything missing in APU code?

@gdkchan
Copy link
Owner

gdkchan commented May 18, 2017

Well theres at least two things missing on the DSP emulation code. But which error are you getting? Last time I tested sound was working even if not accurately.

@salvadorc17
Copy link
Author

For some games seems to work properly, but for some others does get error, maybe because BufferLen is larger than Buffer() index??

@gdkchan
Copy link
Owner

gdkchan commented May 19, 2017

Do you have steps to reproduce this? Like which games and on which parts it shows the error? This function (GetWriteCur) should be implemented on the class that outputs sounds directly by setting up the buffer using DirectX/OpenGL/whatever you use to playback sounds. Are you using the DirectSound implementation or you're using your own?

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

No branches or pull requests

2 participants