mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Set default channel count for AnalyserNode to 2
This was deliberately changed (https://github.com/WebAudio/web-audio-api/pull/1397 ) but the tests have not been updated
This commit is contained in:
parent
f3efd14975
commit
e9be179952
5 changed files with 8 additions and 27 deletions
|
@ -38,7 +38,7 @@ impl AnalyserNode {
|
|||
options: &AnalyserOptions,
|
||||
) -> Fallible<(AnalyserNode, IpcReceiver<Block>)> {
|
||||
let node_options = options.parent
|
||||
.unwrap_or(1, ChannelCountMode::Max,
|
||||
.unwrap_or(2, ChannelCountMode::Max,
|
||||
ChannelInterpretation::Speakers);
|
||||
|
||||
if options.fftSize > 32768 || options.fftSize < 32 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue