Home | History | Annotate | Download | only in sonic

Lines Matching refs:samples

22 the input stream is pointed to by "samples", and the current output stream
23 position is pointed to by "out", then newSamples number of samples can be
26 out[t] = (samples[t]*(newSamples - t) + samples[t + period]*t)/newSamples;
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);
99 /* Return the number of samples in the output buffer */
128 /* Set the sample rate of the stream. This will drop any samples that have not been read. */
132 /* Set the number of channels. This will drop any samples that have not been read. */
136 speed*numSamples available space in the array. Returns the new number of samples. */
137 int sonicChangeFloatSpeed(float *samples, int numSamples, float speed, float pitch,
141 speed*numSamples available space in the array. Returns the new number of samples. */
142 int sonicChangeShortSpeed(short *samples, int numSamples, float speed, float pitch,