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

Refactor audio handler to allow switchable engines (ie: XAudio2, DirectSound) #11

Open
djtuBIG-MaliceX opened this issue Jan 1, 2014 · 4 comments

Comments

@djtuBIG-MaliceX
Copy link
Owner

Original report by James Alan Nguyen (Bitbucket: djtubig-malicex, GitHub: djtubig-malicex).


Currently using waveOut (inherited from Alexey's source). Need to use implementation as demonstrated by kode54's BASSMIDI driver.

@djtuBIG-MaliceX
Copy link
Owner Author

Original comment by James Alan Nguyen (Bitbucket: djtubig-malicex, GitHub: djtubig-malicex).


For reference: https://github.com/kode54/BASSMIDI-Driver/blob/master/bassmididrv_source/bassmididrv.cpp

@djtuBIG-MaliceX
Copy link
Owner Author

Original comment by James Alan Nguyen (Bitbucket: djtubig-malicex, GitHub: djtubig-malicex).


Now that OPL hardware passthrough is implemented, the waveOut handler does not need to run in this playback mode. Currently, this will run but do nothing as it does not make sense to play both software and hardware at the same time due to latency differences.

@djtuBIG-MaliceX
Copy link
Owner Author

Original comment by James Alan Nguyen (Bitbucket: djtubig-malicex, GitHub: djtubig-malicex).


Class separation has commenced. Annoying part 1: self-referred thread using global object reference symbol instead of passed as argument. Next: MidiSynth singleton needs to be refactored to allow for multiple instances.

@djtuBIG-MaliceX
Copy link
Owner Author

Original comment by James Alan Nguyen (Bitbucket: djtubig-malicex, GitHub: djtubig-malicex).


Lowering priroity. This is not necesary at this stage - last attempts broke the handler.

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