Lines Matching defs:converter
304 /* The audio converter if necessary */
305 AudioConverterRef converter;
454 /** @todo Check converter ID? */
521 /* Are we using a converter? */
522 if (pStreamIn->converter)
569 AudioConverterReset(pStreamIn->converter);
571 err = AudioConverterFillComplexBuffer(pStreamIn->converter, drvHostCoreAudioConverterCallback, pStreamIn,
597 else /* No converter being used. */
824 * need a converter. The same count if the number of channels is different. */
828 err = AudioConverterNew(&pStreamIn->deviceFormat, &pStreamIn->streamFormat, &pStreamIn->converter);
840 * If the channel count is different we have to tell this the converter
848 err = AudioConverterSetProperty(pStreamIn->converter, kAudioConverterChannelMap, sizeof(channelMap), channelMap);
851 LogRel(("CoreAudio: Failed to set channel mapping for the audio input converter (%RI32)\n", err));
865 /* Set sample rate converter quality to maximum */
867 err = AudioConverterSetProperty(pStreamIn->converter, kAudioConverterSampleRateConverterQuality,
870 LogRel(("CoreAudio: Failed to set input audio converter quality to the maximum (%RI32)\n", err));
872 LogRel(("CoreAudio: Input converter is active\n"));
944 * necessary when using the converter where the sample rate could differ.
1216 * necessary when using the converter where the sample rate could differ.
1740 if (pStreamIn->converter)
1742 AudioConverterDispose(pStreamIn->converter);
1743 pStreamIn->converter = NULL;
1867 pStreamIn->converter = NULL;