Home | History | Annotate | Download | only in sonic

Lines Matching refs:sonicStream

67 typedef struct sonicStreamStruct *sonicStream;
74 sonicStream sonicCreateStream(int sampleRate, int numChannels);
76 void sonicDestroyStream(sonicStream stream);
79 int sonicWriteFloatToStream(sonicStream stream, float *samples, int numSamples);
82 int sonicWriteShortToStream(sonicStream stream, short *samples, int numSamples);
85 int sonicWriteUnsignedCharToStream(sonicStream stream, unsigned char *samples, int numSamples);
88 int sonicReadFloatFromStream(sonicStream stream, float *samples, int maxSamples);
91 int sonicReadShortFromStream(sonicStream stream, short *samples, int maxSamples);
94 int sonicReadUnsignedCharFromStream(sonicStream stream, unsigned char *samples, int maxSamples);
98 int sonicFlushStream(sonicStream stream);
100 int sonicSamplesAvailable(sonicStream stream);
102 float sonicGetSpeed(sonicStream stream);
104 void sonicSetSpeed(sonicStream stream, float speed);
106 float sonicGetPitch(sonicStream stream);
108 void sonicSetPitch(sonicStream stream, float pitch);
110 float sonicGetRate(sonicStream stream);
112 void sonicSetRate(sonicStream stream, float rate);
114 float sonicGetVolume(sonicStream stream);
116 void sonicSetVolume(sonicStream stream, float volume);
118 int sonicGetChordPitch(sonicStream stream);
121 void sonicSetChordPitch(sonicStream stream, int useChordPitch);
123 int sonicGetQuality(sonicStream stream);
125 void sonicSetQuality(sonicStream stream, int quality);
127 int sonicGetSampleRate(sonicStream stream);
129 void sonicSetSampleRate(sonicStream stream, int sampleRate);
131 int sonicGetNumChannels(sonicStream stream);
133 void sonicSetNumChannels(sonicStream stream, int numChannels);