VOGONS


Speedy3D support in DOSBox

Topic actions

Reply 80 of 83, by sharangad

User metadata
Rank Oldbie
Rank
Oldbie
ripsaw8080 wrote on 2024-05-06, 21:09:

Which thread(s) are you locking? FYI, SDL has its own thread for audio, and SB sound generation might be using DMA, but you can probably use SDL_mutex locks to avoid collisions there.

I have a separate thread to handle Rendition DMA transfer within dosbox. SDL_mutex? I'll check it out thanks.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 81 of 83, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Have you looked at the DMA callback in sblaster.cpp as an example for handling the transfer data?

Reply 82 of 83, by sharangad

User metadata
Rank Oldbie
Rank
Oldbie
ripsaw8080 wrote on 2024-05-07, 03:14:

Have you looked at the DMA callback in sblaster.cpp as an example for handling the transfer data?

I'll check it out. Had a few other things to sort out. It never went even occurred to me check out the sound blaster code.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 83 of 83, by sharangad

User metadata
Rank Oldbie
Rank
Oldbie

That worked fabulously well. Thanks!!! I get a bit of audio stutter now every once in a while.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda