locked
Does IAudioRenderClient support mono format on WP8? RRS feed

  • Question

  • I am modifying some code from the MS Chatterbox VoIP sample app. As default, it sets up two IAudioClient2 objects, one capture and one render. The default format is 2 channel, 48k sample rate, and 32 bit samples. I was able to successfully initialize the IAudioCaptureClient with a format of 1 channel, 48k sample rate, and 16 bit audio -- this is the constraint of some code I have transplanted into the sample app -- and the capture part works just fine.

    Now I am looking to render audio with the same format. However, trying to initialize the IAudioRenderClient with 1 channel fails with AUDCLNT_E_UNSUPPORTED_FORMAT, and calling IsFormatSupported returns a "closest" match of 2 channel, 48k sample rate, 32 bit audio. Is there something funky about rendering mono audio using WASAPI, or have I done something dense here?

    I'm testing on a Nokia Lumia 920 running WP8

    Thanks in advance

    Thursday, October 10, 2013 4:39 PM