diff options
author | Jeremy Andrews <athenian200@outlook.com> | 2021-08-24 16:07:22 -0500 |
---|---|---|
committer | Jeremy Andrews <athenian200@outlook.com> | 2021-08-24 16:07:22 -0500 |
commit | 89c3761e5c995efbd5d6039f938773c5259e947d (patch) | |
tree | 8eeb25f606609001ff30ee287ad74c8356a90c17 /dom/base/nsDOMWindowUtils.cpp | |
parent | 893fc903790e1ca5bba598113c49d94a165e333b (diff) | |
download | uxp-89c3761e5c995efbd5d6039f938773c5259e947d.tar.gz |
Issue #1806 - Part 5: Add multichannel audio capability.
I'm positive this works on Windows at the very least. Cubeb added proper channel map support at some point, and this allows us to take advantage of that.
Ref: BZ 1431221, BZ 1432779
Diffstat (limited to 'dom/base/nsDOMWindowUtils.cpp')
-rw-r--r-- | dom/base/nsDOMWindowUtils.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/base/nsDOMWindowUtils.cpp b/dom/base/nsDOMWindowUtils.cpp index 3606a1b0bc..eb09a6f14f 100644 --- a/dom/base/nsDOMWindowUtils.cpp +++ b/dom/base/nsDOMWindowUtils.cpp @@ -2379,13 +2379,6 @@ nsDOMWindowUtils::GetCurrentMaxAudioChannels(uint32_t* aChannels) } NS_IMETHODIMP -nsDOMWindowUtils::GetCurrentPreferredChannelLayout(nsAString& aLayout) -{ - CubebUtils::GetPreferredChannelLayout(aLayout); - return NS_OK; -} - -NS_IMETHODIMP nsDOMWindowUtils::GetCurrentPreferredSampleRate(uint32_t* aRate) { *aRate = CubebUtils::PreferredSampleRate(); |