Magic numbers for sound freq changed to defines
This commit is contained in:
@@ -202,7 +202,7 @@ void
|
||||
mt32_poll(void)
|
||||
{
|
||||
midi_pos++;
|
||||
if (midi_pos == 48000 / RENDER_RATE) {
|
||||
if (midi_pos == SOUND_FREQ / RENDER_RATE) {
|
||||
midi_pos = 0;
|
||||
thread_set_event(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user