Revision 9fe5497c

b/hw/hda-audio.c
559 559
    right = right * 255 / QEMU_HDA_AMP_STEPS;
560 560

  
561 561
    if (st->output) {
562
	AUD_set_volume_out(st->voice.out, muted, left, right);
562
        AUD_set_volume_out(st->voice.out, muted, left, right);
563 563
    } else {
564
	AUD_set_volume_in(st->voice.in, muted, left, right);
564
        AUD_set_volume_in(st->voice.in, muted, left, right);
565 565
    }
566 566
}
567 567

  

Also available in: Unified diff