diff options
author | Moonchild <moonchild@palemoon.org> | 2022-04-05 17:00:28 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-05 17:00:28 +0200 |
commit | 3b575dfced55cf78871937b6bd41942374c95390 (patch) | |
tree | a56f756f47a7ae3e45d66ccf02279ac2d22f0d1f /dom/media/AudioConverter.cpp | |
parent | 0bc66e3b04e77af307b62371ae9f4be70b2b19b7 (diff) | |
download | uxp-3b575dfced55cf78871937b6bd41942374c95390.tar.gz |
Revert "Merge pull request 'Update libcubeb to latest version' (#1812) from athenian200/UXP:libcubeb_final into master"
This reverts commit 0bc66e3b04e77af307b62371ae9f4be70b2b19b7, reversing
changes made to 6e6b5d89964ea726b264c711bdf6f02fe0c006f5.
Diffstat (limited to 'dom/media/AudioConverter.cpp')
-rw-r--r-- | dom/media/AudioConverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/AudioConverter.cpp b/dom/media/AudioConverter.cpp index a77ea57f4a..ab9b11543d 100644 --- a/dom/media/AudioConverter.cpp +++ b/dom/media/AudioConverter.cpp @@ -143,7 +143,7 @@ AudioConverter::DownmixAudio(void* aOut, const void* aIn, size_t aFrames) const mIn.Format() == AudioConfig::FORMAT_FLT); MOZ_DIAGNOSTIC_ASSERT(mIn.Channels() >= mOut.Channels()); MOZ_DIAGNOSTIC_ASSERT( - mIn.Layout() == AudioConfig::ChannelLayout::SMPTEDefault(mIn.Layout()), + mIn.Layout() == AudioConfig::ChannelLayout(mIn.Channels()), "Can only downmix input data in SMPTE layout"); MOZ_DIAGNOSTIC_ASSERT(mOut.Layout() == AudioConfig::ChannelLayout(2) || mOut.Layout() == AudioConfig::ChannelLayout(1), |