diff options
Diffstat (limited to 'src/audio/synth.h')
| -rw-r--r-- | src/audio/synth.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/audio/synth.h b/src/audio/synth.h index 17770a7..eadde10 100644 --- a/src/audio/synth.h +++ b/src/audio/synth.h @@ -6,20 +6,20 @@ #define MAX_VOICES 16 struct Spectrogram { - float* spectral_data_a; - float* spectral_data_b; - int num_frames; + float *spectral_data_a; + float *spectral_data_b; + int num_frames; }; void synth_init(); void synth_shutdown(); -int synth_register_spectrogram(const Spectrogram* spec); +int synth_register_spectrogram(const Spectrogram *spec); void synth_unregister_spectrogram(int spectrogram_id); -float* synth_begin_update(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_render(float* output_buffer, int num_frames); +void synth_render(float *output_buffer, int num_frames); int synth_get_active_voice_count(); |
