aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-26 12:00:18 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-26 12:00:18 +0000
commit662caa6f9197a4e0d5e64743f1078ddc82836852 (patch)
tree2b3092fd51c86201bfcfc1bbaed7d4cb76711ae5 /hw/i2c.h
parentc21c583a1de9c1033252ef51929398ddc237a7c0 (diff)
Let WM8750 users write to audio buffer directly.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4254 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/i2c.h')
-rw-r--r--hw/i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i2c.h b/hw/i2c.h
index fae46b77bb..b390d1b944 100644
--- a/hw/i2c.h
+++ b/hw/i2c.h
@@ -67,6 +67,8 @@ void wm8750_data_req_set(i2c_slave *i2c,
void (*data_req)(void *, int, int), void *opaque);
void wm8750_dac_dat(void *opaque, uint32_t sample);
uint32_t wm8750_adc_dat(void *opaque);
+void *wm8750_dac_buffer(void *opaque, int samples);
+void wm8750_dac_commit(void *opaque);
/* ssd0303.c */
void ssd0303_init(DisplayState *ds, i2c_bus *bus, int address);