diff options
Diffstat (limited to 'src/audio/synth.h')
| -rw-r--r-- | src/audio/synth.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio/synth.h b/src/audio/synth.h index ba96167..b2625b3 100644 --- a/src/audio/synth.h +++ b/src/audio/synth.h @@ -38,7 +38,8 @@ void synth_unregister_spectrogram(int spectrogram_id); float* synth_begin_update(int spectrogram_id); void synth_commit_update(int spectrogram_id); -void synth_trigger_voice(int spectrogram_id, float volume, float pan); +void synth_trigger_voice(int spectrogram_id, float volume, float pan, + int start_offset_samples = 0); void synth_render(float* output_buffer, int num_frames); void synth_set_tempo_scale( float tempo_scale); // Set playback speed (1.0 = normal) |
