Lines Matching refs:format
168 const audio_format_t format = AUDIO_FORMAT_PCM_8_24_BIT; in pushSilence() local
169 const size_t frameSize = audio_bytes_per_sample(format) * mChannelCnt; in pushSilence()
179 doPCMWrite((const uint8_t*)mSilenceBuf, writeSize, format); in pushSilence()
213 config.format = mALSAFormat; in openPCMDevice()
224 mALSACardID, dev_id, config.rate, config.channels, config.period_size, config.format); in openPCMDevice()
385 bool hasActiveOutputs, audio_format_t format) { in processOneChunk() argument
403 doPCMWrite(data, len, format); in processOneChunk()
405 const size_t frameSize = mChannelCnt * audio_bytes_per_sample(format); in processOneChunk()
415 void AudioOutput::doPCMWrite(const uint8_t* data, size_t len, audio_format_t format) { in doPCMWrite() argument
434 switch(format) { in doPCMWrite()
453 LOG_ALWAYS_FATAL("Fugu input format(%#x) should be 16 bit or 8_24 bit pcm", format); in doPCMWrite()