Lines Matching defs:channels
67 // Used to read the sample rate and channels from the decoding stream during
249 SLuint32 channels = *(reinterpret_cast<SLuint32*>(value->data));
250 LOGD("channels: %d", channels);
251 *channelsOut = channels;
334 // data to determine the sample rate and number of channels.
336 LOGD("set varaible speed called, sample rate and channels not ready yet");
388 size_t channels;
391 channels = mChannels;
393 size_t frameSizeInBytes = kSampleSizeInBytes * channels;
401 floatBuffer_ + frameCount * channels, retrieveCount);
420 for (size_t i = 0; i < framesToInject * channels; ++i) {
428 decodeBuffer_.AdvanceHeadPointerShorts(count * channels);
449 playBuffer = new int16[targetFrames_ * channels];
454 for (size_t i = 0; i < frameCount * channels; ++i) {
458 frameCount * channels * kNumberOfBytesPerInt16;
556 LOGE("unknown channels %d, using 2", mChannels);
671 // and given us the correct sample rate, number of channels and duration.