Adds support for multi-channel output audio for the low-latency path in Windows.
What's new? ======== Output stream is always opened up using the native number of channels and channel configuration. The user can set a lower number of channels during construction and for this case up-mixing (typically 2 -> 7.1) takes place since the audio source does not deliver sufficient number of channels for this case. It is still possible to avoid up-mixing simply by creating up the stream using the native channel count (which can be queried before construction). TODO ==== - Clean up ChannelUpMix(). - Add support for 8-bit and 24-bit audio? - Add support for 2 -> 1 down-mixing? - More mixing combinations? - Add accessors for ChannelCount/Layout. - Improve usage of channel_factor to detect mixing mode. BUG=138762 TEST=media_unittests --gtest_filter=WASAPIAudioOutput* Review URL: https://chromiumcodereview.appspot.com/10823100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150307 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
This diff is collapsed.
File added
File added
Please register or sign in to comment