Lines Matching defs:sampleCount
100 AudioCodec *codec, int sampleRate, int sampleCount,
166 AudioCodec *codec, int sampleRate, int sampleCount,
179 mSampleCount = sampleCount;
476 bool set(int sampleRate, int sampleCount);
572 bool AudioGroup::set(int sampleRate, int sampleCount)
581 mSampleCount = sampleCount;
594 sampleRate, sampleCount, -1, -1)) {
603 tv.tv_usec = 1000 * sampleCount / sampleRate * 500;
784 int sampleCount = mGroup->mSampleCount;
799 if (output < sampleCount * 2) {
800 output = sampleCount * 2;
802 if (input < sampleCount * 2) {
803 input = sampleCount * 2;
850 echo = new EchoSuppressor(sampleCount,
864 int16_t output[sampleCount];
869 int16_t input[sampleCount];
870 int toWrite = sampleCount;
871 int toRead = (mode == MUTED) ? 0 : sampleCount;
881 int offset = sampleCount - toWrite;
897 int offset = sampleCount - toRead;
969 int sampleCount = (codec ? codec->set(sampleRate, codecSpec) : -1);
971 if (sampleCount <= 0) {
979 if (!stream->set(mode, socket, &remote, codec, sampleRate, sampleCount,