Skip to content

Commit

Permalink
fixed bug introduced by 0673bdd
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jan 12, 2024
1 parent b8144ba commit 334d8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/scripts/jsf/avmix/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,8 @@ filter.configure_pid = function(pid)
pid.afmt = pid.get_prop('AudioFormat');
let sr = pid.get_prop('SampleRate');
if ((sr != filter.sr) || (pid.afmt != filter.afmt)) {
pid.negociate_prop('SampleRate', filter.sr);
pid.negociate_prop('AudioFormat', filter.afmt);
pid.negotiate_prop('SampleRate', filter.sr);
pid.negotiate_prop('AudioFormat', filter.afmt);
}

pid.ch_buf = new Float32Array(pid.channels);
Expand Down

0 comments on commit 334d8f8

Please sign in to comment.