Searched refs:samplesRead (Results 1 – 3 of 3) sorted by relevance
31 int samplesRead, samplesWritten; in runSonic() local40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic()41 if(samplesRead == 0) { in runSonic()44 sonicWriteShortToStream(stream, inBuffer, samplesRead); in runSonic()53 } while(samplesRead > 0); in runSonic()
330 int i, bytesRead, samplesRead; in readFromWaveFile() local339 samplesRead = bytesRead/(file->numChannels*2); in readFromWaveFile()340 for(i = 0; i < samplesRead*file->numChannels; i++) { in readFromWaveFile()345 return samplesRead; in readFromWaveFile()
155 samplesRead = sonicReadShortFromStream(stream, outBuffer, maxBufferSize);156 if(samplesRead > 0) {