Home | History | Annotate | Download | only in audio_loopback

Lines Matching full:channels

161             memset(buffer, 0, pSles->bufSizeInFrames * pSles->channels * sizeof(short));
171 for (unsigned k = 0; k < pSles->channels; k++) {
172 ((short *)buffer)[(i+j)*pSles->channels+k] = j < 4 ? 0x7FFF : 0x8000;
222 // SLuint32 channels = 1; // -c#
250 pSles->channels = 1; // -c#
278 pSles->bufSizeInBytes = pSles->channels * pSles->bufSizeInFrames * sizeof(short);
300 size_t frameSize = pSles->channels * sizeof(short);
302 pSles->fifoBuffer = new short[FIFO_FRAMES * pSles->channels];
311 // info.channels = channels;
316 pSles->fifo2Buffer = new short[FIFO2_FRAMES * pSles->channels];
357 pcm.numChannels = pSles->channels;
361 pcm.channelMask = pSles->channels == 1 ? SL_SPEAKER_FRONT_CENTER :
539 short buffer[pSles->bufSizeInFrames * pSles->channels];