We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1540636 commit 7da4d0eCopy full SHA for 7da4d0e
1 file changed
playback/src/player.rs
@@ -1186,10 +1186,6 @@ impl PlayerInternal {
1186
Some(mut packet) => {
1187
if !packet.is_empty() {
1188
if let AudioPacket::Samples(ref mut data) = packet {
1189
- if let Some(ref editor) = self.audio_filter {
1190
- editor.modify_stream(data)
1191
- }
1192
-
1193
if self.config.normalisation
1194
&& !(f64::abs(normalisation_factor - 1.0) <= f64::EPSILON
1195
&& self.config.normalisation_method == NormalisationMethod::Basic)
@@ -1302,6 +1298,10 @@ impl PlayerInternal {
1302
1298
}
1303
1299
1304
1300
1301
+
+ if let Some(ref editor) = self.audio_filter {
+ editor.modify_stream(data)
+ }
1305
1306
1307
if let Err(err) = self.sink.write(&packet, &mut self.converter) {
0 commit comments