Mercurial > hg > svapp
diff audio/ClipMixer.h @ 595:b23bebfdfaba
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 56acd9368532 |
children |
line wrap: on
line diff
--- a/audio/ClipMixer.h Tue Mar 07 11:48:29 2017 +0000 +++ b/audio/ClipMixer.h Thu Mar 01 18:02:22 2018 +0000 @@ -48,21 +48,21 @@ void reset(); // discarding any playing notes struct NoteStart { - sv_frame_t frameOffset; // within current processing block - float frequency; // Hz - float level; // volume in range (0,1] - float pan; // range [-1,1] + sv_frame_t frameOffset; // within current processing block + float frequency; // Hz + float level; // volume in range (0,1] + float pan; // range [-1,1] }; struct NoteEnd { - sv_frame_t frameOffset; // in current processing block + sv_frame_t frameOffset; // in current processing block float frequency; // matching note start }; void mix(float **toBuffers, float gain, - std::vector<NoteStart> newNotes, - std::vector<NoteEnd> endingNotes); + std::vector<NoteStart> newNotes, + std::vector<NoteEnd> endingNotes); private: int m_channels;