Skip to content

Commit c7adc64

Browse files
committed
Cleanup
1 parent 408288c commit c7adc64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chrome/player/ui/audio/config/AudioConvolverControl.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ export class AudioConvolverProfile {
5151
newChannels.push(AudioConvolverChannel.default(i));
5252
}
5353
}
54-
return new AudioConvolverProfile(obj.id, obj.label, obj.downmix, obj.bufferSize ?? 2048, newChannels);
54+
return new AudioConvolverProfile(obj.id, obj.label, obj.downmix, obj.bufferSize, newChannels);
5555
}
5656

5757
static default(id) {
5858
const channels = [];
5959
for (let i = 0; i < MAX_AUDIO_CHANNELS; i++) {
6060
channels.push(AudioConvolverChannel.default(i));
6161
}
62-
return new AudioConvolverProfile(id, `Profile ${id + 1}`, true, 2048, channels);
62+
return new AudioConvolverProfile(id, `Profile ${id + 1}`, true, 4096, channels);
6363
}
6464

6565
isDefault() {

0 commit comments

Comments
 (0)