Lines Matching defs:deviceFormat

272     AudioStreamBasicDescription deviceFormat;
297 AudioStreamBasicDescription deviceFormat;
466 UInt32 cSize = RT_MIN(*pcPackets * pStreamIn->deviceFormat.mBytesPerPacket,
470 Assert(pStreamIn->deviceFormat.mBytesPerPacket);
471 *pcPackets = cSize / pStreamIn->deviceFormat.mBytesPerPacket;
525 pStreamIn->bufferList.mBuffers[0].mNumberChannels = pStreamIn->deviceFormat.mChannelsPerFrame;
526 pStreamIn->bufferList.mBuffers[0].mDataByteSize = pStreamIn->deviceFormat.mBytesPerFrame * cFrames;
806 uSize = sizeof(pStreamIn->deviceFormat);
808 1, &pStreamIn->deviceFormat, &uSize);
819 drvHostCoreAudioPrintASBDesc("CoreAudio: Input device", &pStreamIn->deviceFormat);
825 if ( pStreamIn->deviceFormat.mSampleRate != pStreamIn->streamFormat.mSampleRate
826 || pStreamIn->deviceFormat.mChannelsPerFrame != pStreamIn->streamFormat.mChannelsPerFrame)
828 err = AudioConverterNew(&pStreamIn->deviceFormat, &pStreamIn->streamFormat, &pStreamIn->converter);
832 err, pStreamIn->deviceFormat, pStreamIn->streamFormat));
836 if ( pStreamIn->deviceFormat.mChannelsPerFrame == 1 /* Mono */
858 1, &pStreamIn->deviceFormat, sizeof(pStreamIn->deviceFormat));
877 1, &pStreamIn->deviceFormat, sizeof(pStreamIn->deviceFormat));
904 uSize = sizeof(pStreamIn->deviceFormat);
906 1, &pStreamIn->deviceFormat, &uSize);
928 pStreamIn->sampleRatio = pStreamIn->streamFormat.mSampleRate / pStreamIn->deviceFormat.mSampleRate;
1141 uSize = sizeof(pStreamOut->deviceFormat);
1143 0, &pStreamOut->deviceFormat, &uSize);
1154 drvHostCoreAudioPrintASBDesc("CoreAudio: Output device", &pStreamOut->deviceFormat);
1167 uSize = sizeof(pStreamOut->deviceFormat);
1169 0, &pStreamOut->deviceFormat, &uSize);