simple/main.c
// Call the MOD player to fill the output audio buffer.
// This must be called every 20 miliseconds or so, or more
// often if SOUND_OUTPUT_FREQUENCY is increased.
Call the MOD player to fill the output audio buffer.
This must be called every 20 miliseconds or so, or more
often if SOUND_OUTPUT_FREQUENCY is increased.
Call the MOD player to fill the output audio buffer . This must be called every 20 miliseconds or so or more often if SOUND_OUTPUT_FREQUENCY is increased .
static void update_mod_player(void)
{
  uint8_t *audio_buffer = audio_get_buffer();
  if (audio_buffer) {
    mod_play_step(audio_buffer, AUDIO_BUFFER_SIZE);
  }
}
static void update_mod_player ( void ) { uint8_t * audio_buffer = audio_get_buffer ( ) ; if ( audio_buffer ) { mod_play_step ( audio_buffer , AUDIO_BUFFER_SIZE ) ; } }
Call the MOD player to fill the output audio buffer.
Call the MOD player to fill the output audio buffer .