Search found 3 matches

by Sergio89
Sat Nov 17, 2012 11:18 pm
Forum: Audio
Topic: Help understanding sound system and timing.
Replies: 4
Views: 10168

Help understanding sound system and timing.

So how does this sync work?

by Sergio89
Sat Nov 17, 2012 2:59 pm
Forum: Audio
Topic: Help understanding sound system and timing.
Replies: 4
Views: 10168

Help understanding sound system and timing.

Well, from what I've studied from the code here is my analysis: There are two threads executing: Thread N1: This is the 'normal' thread, the one that indeed emulates the machine. Thread N2: This one is created by Thread N1 when SDL_OpenAudio() is called. It writes the buffer to the hardware and call...
by Sergio89
Sat Nov 17, 2012 1:01 am
Forum: Audio
Topic: Help understanding sound system and timing.
Replies: 4
Views: 10168

Help understanding sound system and timing.

Hello. I'm trying to understand the code of VBA, but can't figure out some things related to sound and timing. The code I debugged was the one from the original VBA, but due to similarity I hope I can find help over here. I guess that all the 'real' timing is going on in the callback function soundC...