Fix EEF envelope generation - volume was backwards
parent
2233841eca
commit
a1b9a5dde5
|
@ -958,7 +958,7 @@ impl EchoFormat for DmfModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_eef_volume( dmf_volume: u8 ) -> Result<u8, Box<dyn Error>> {
|
fn get_eef_volume( dmf_volume: u8 ) -> Result<u8, Box<dyn Error>> {
|
||||||
Ok( min( dmf_volume, 0x0F ) )
|
Ok( min( 0x0F - dmf_volume, 0x0F ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_eef_shift( dmf_shift: i8 ) -> Result<u8, Box<dyn Error>> {
|
fn get_eef_shift( dmf_shift: i8 ) -> Result<u8, Box<dyn Error>> {
|
||||||
|
|
Loading…
Reference in New Issue