Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
This commit is contained in:
@@ -3,24 +3,22 @@
|
||||
|
||||
#include "b3Sound_C_Api.h"
|
||||
|
||||
|
||||
class b3SoundSource
|
||||
{
|
||||
struct b3SoundSourceInternalData* m_data;
|
||||
|
||||
public:
|
||||
|
||||
b3SoundSource();
|
||||
virtual ~b3SoundSource();
|
||||
|
||||
virtual bool computeSamples(double *sampleBuffer, int numSamples, double sampleRate);
|
||||
|
||||
virtual bool computeSamples(double* sampleBuffer, int numSamples, double sampleRate);
|
||||
|
||||
int getNumOscillators() const;
|
||||
void setOscillatorType(int oscillatorIndex, int type);
|
||||
void setOscillatorFrequency(int oscillatorIndex, double frequency);
|
||||
void setOscillatorAmplitude(int oscillatorIndex, double amplitude);
|
||||
void setOscillatorPhase(int oscillatorIndex, double phase);
|
||||
void setADSR( double attackRate, double decayRate, double sustainLevel, double releaseRate);
|
||||
void setADSR(double attackRate, double decayRate, double sustainLevel, double releaseRate);
|
||||
|
||||
bool setWavFile(int oscillatorIndex, class b3ReadWavFile* wavFilePtr, int sampleRate);
|
||||
|
||||
@@ -30,4 +28,4 @@ public:
|
||||
bool isAvailable() const;
|
||||
};
|
||||
|
||||
#endif //B3_SOUND_SOURCE_H
|
||||
#endif //B3_SOUND_SOURCE_H
|
||||
|
||||
Reference in New Issue
Block a user