Loading hw/audio/hda-codec.c +3 −0 Original line number Diff line number Diff line Loading @@ -261,6 +261,9 @@ static void hda_audio_set_amp(HDAAudioStream *st) left = left * 255 / QEMU_HDA_AMP_STEPS; right = right * 255 / QEMU_HDA_AMP_STEPS; if (!st->state->mixer) { return; } if (st->output) { AUD_set_volume_out(st->voice.out, muted, left, right); } else { Loading Loading
hw/audio/hda-codec.c +3 −0 Original line number Diff line number Diff line Loading @@ -261,6 +261,9 @@ static void hda_audio_set_amp(HDAAudioStream *st) left = left * 255 / QEMU_HDA_AMP_STEPS; right = right * 255 / QEMU_HDA_AMP_STEPS; if (!st->state->mixer) { return; } if (st->output) { AUD_set_volume_out(st->voice.out, muted, left, right); } else { Loading