How to get PCM mono data using WASAPI RRS feed

  • Question

  • Hi..

    I want to capture 16 bit mono data using WASAPI.

    I am aware that GetMixFormat gives nChannel and with SetMixFormat u can set it.

    But if I set nChannel = 1 , m_AudioClient->Initialize fails with not supported error code

    For sampling frequency also it was giving not supported , but when I change the sampling frequency on right clicking on the 'volume' icon on the explorer of the PC , change the default format of the 'Microphone' s advanced properties. After changing settings different frequencies works.

    Is there any similar way to change from stereo to mono ? 

    Looking forward for the help..

    Thanks in advance..



    Monday, December 17, 2012 4:06 PM