aboutsummaryrefslogtreecommitdiff
path: root/audio/noaudio.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-12-06 23:14:48 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-12-06 23:14:48 +0000
commitfe2cece60e02262e64cfadcbcd0408720628ef2a (patch)
tree65d927cabf8e605b8ec9528f9cae9bb28fe44aa1 /audio/noaudio.c
parent978a66ff73add1f462903af92ccf9a34f6a513c2 (diff)
downloadqemu-fe2cece60e02262e64cfadcbcd0408720628ef2a.zip
qemu-fe2cece60e02262e64cfadcbcd0408720628ef2a.tar.gz
qemu-fe2cece60e02262e64cfadcbcd0408720628ef2a.tar.bz2
audio fixes (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1165 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/noaudio.c')
-rw-r--r--audio/noaudio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/noaudio.c b/audio/noaudio.c
index 819de1e..a192885 100644
--- a/audio/noaudio.c
+++ b/audio/noaudio.c
@@ -41,7 +41,6 @@ static void no_hw_run (HWVoice *hw)
{
NoVoice *no = (NoVoice *) hw;
int rpos, live, decr, samples;
- uint8_t *dst;
st_sample_t *src;
int64_t now = qemu_get_clock (vm_clock);
int64_t ticks = now - no->old_ticks;
@@ -82,7 +81,6 @@ static int no_hw_write (SWVoice *sw, void *buf, int len)
static int no_hw_init (HWVoice *hw, int freq, int nchannels, audfmt_e fmt)
{
- NoVoice *no = (NoVoice *) hw;
hw->freq = freq;
hw->nchannels = nchannels;
hw->fmt = fmt;