fn from_field(field: u8) -> OutputVolume {
        // TODO: Handle bit 4. Seems to be related to the microphone
        // input? Maybe GameBoy Color only?

        OutputVolume {
            vin:   field & 8 != 0,
            level: 8 - (field & 7),
        }
    }
/// Build an OutputVolume from a N50 field
Build an OutputVolume from a N50 field
Build an OutputVolume from a N50 field
fn from_field(field: u8) -> OutputVolume {
        // TODO: Handle bit 4. Seems to be related to the microphone
        // input? Maybe GameBoy Color only?
        OutputVolume {
            vin:   field & 8 != 0,
            level: 8 - (field & 7),
        }
    }
fn from_field ( field : u8 ) -> OutputVolume { // TODO: Handle bit 4. Seems to be related to the microphone // input? Maybe GameBoy Color only? OutputVolume { vin : field & 8 != 0 , level : 8 - ( field & 7 ) , } }
Build an OutputVolume from a N50 field
Build an OutputVolume from a N50 field
field
u8
field
u8