channel property

AudioChannel channel
getter/setter pair

Number of audio channels.

If number of audio channels of recording is different than that of audio capture, the behavior is:

  • If the number of capture is 1, and the number of recording is 2, the recorded audio is two-channel data after copying mono-channel data.
  • If the number of capture is 2, and the number of recording is 1, the recorded audio is recorded by mixing the audio of the two channels.

Implementation

AudioChannel channel;