mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
finally refactor the song select boxes
This commit is contained in:
@@ -213,10 +213,8 @@ static int port_audio_callback(const void *inputBuffer, void *outputBuffer,
|
||||
}
|
||||
|
||||
struct audio_buffer *audio_buffer = AUDIO.Buffer.first;
|
||||
int active_buffers = 0;
|
||||
while (audio_buffer != NULL) {
|
||||
if (audio_buffer->playing && !audio_buffer->paused && audio_buffer->data != NULL) {
|
||||
active_buffers++;
|
||||
unsigned int subBufferSizeFrames = audio_buffer->sizeInFrames / 2;
|
||||
unsigned long framesToMix = framesPerBuffer;
|
||||
float *buffer_data = (float *)audio_buffer->data;
|
||||
|
||||
Reference in New Issue
Block a user