Lines Matching refs:gain
207 /* 'baked-in' gain to apply, dB S7.8 format. Should be zero when possible. */
208 int16_t gain ;
428 psf_log_printf (psf, " Gain : %d.%d\n", (int) arith_shift_right (h->gain & 0xF0, 8), h->gain & 0x0F) ;
478 &h->input_samplerate, &h->gain, &h->channel_mapping) ;
616 ** The Opus decoder can do our gain for us. The OggOpus header contains a
617 ** gain field. This field, unlike various gain-related tags, is intended to
618 ** be a perminent baked-in gain applied before any user-configurable gain
619 ** (eg replay-gain.) This is so the gain of track can be set without having
622 ** Both the header.gain field and the parameter are in the Q7.8 format.
624 ** TODO: Make this configurable? Include other gain sources too?
626 opus_multistream_decoder_ctl (oopus->u.decode.state, OPUS_SET_GAIN (oopus->header.gain)) ;
772 oopus->header.gain = 0 ;
812 psf_binheader_writef (psf, "e21", BHW2 (oopus->header.gain), BHW1 (oopus->header.channel_mapping)) ;
1560 /* Reset the decoder (gain settings survive the reset) */