summaryrefslogtreecommitdiff
path: root/audio/audio.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-04 10:21:03 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-04 10:21:03 +0000
commit683efdcbdb83a45f8a6ff52831855d06a56df469 (patch)
treedb679ff9bdbe522dcaadb40d04e5f98a05bcdf06 /audio/audio.h
parent3945462805beb52cdc3e42eff948afbe2e7c4683 (diff)
downloadqemu-683efdcbdb83a45f8a6ff52831855d06a56df469.tar.gz
qemu-683efdcbdb83a45f8a6ff52831855d06a56df469.tar.bz2
qemu-683efdcbdb83a45f8a6ff52831855d06a56df469.zip
First cut at WM8750 volume control (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4321 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio.h')
-rw-r--r--audio/audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/audio.h b/audio/audio.h
index ec9eee46f4..ae29b8a63c 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -124,6 +124,9 @@ int AUD_is_active_out (SWVoiceOut *sw);
void AUD_init_time_stamp_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
uint64_t AUD_get_elapsed_usec_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
+void AUD_set_volume_out (SWVoiceOut *sw, int mute, uint8_t lvol, uint8_t rvol);
+void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol);
+
SWVoiceIn *AUD_open_in (
QEMUSoundCard *card,
SWVoiceIn *sw,