With the help of following example code, I successfully wrote an application to capture microphone audio in PCM format. The following is the wave format of the captured PCM audio:
Channels = 2
FormatTag = Pcm
SamplesPerSecond = 44100
BitsPerSample = 32
BlockAlign = 8
AverageBytesPerSecond = 352800
I want to resample the PCM audio to the following wave type:
Channels = 1
FormatTag = Pcm
SamplesPerSecond = 8000
BitsPerSample = 16
BlockAlign = 2
AverageBytesPerSecond = 16000
Forums are saying that we can capture audio in CD quality only from windows store apps, is this true? Is it possible to convert the wave type of PCM audio in windows store app?