qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] WM8750: clean up dead code
@ 2010-08-19 15:44 Serge Ziryukin
  2010-08-19 15:44 ` [Qemu-devel] [PATCH 2/2] ui/sdl: " Serge Ziryukin
  0 siblings, 1 reply; 2+ messages in thread
From: Serge Ziryukin @ 2010-08-19 15:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: Serge Ziryukin

Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>
---
 hw/wm8750.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/hw/wm8750.c b/hw/wm8750.c
index ce43c23..c9c6744 100644
--- a/hw/wm8750.c
+++ b/hw/wm8750.c
@@ -171,7 +171,6 @@ static void wm8750_set_format(WM8750State *s)
     int i;
     struct audsettings in_fmt;
     struct audsettings out_fmt;
-    struct audsettings monoout_fmt;
 
     wm8750_out_flush(s);
 
@@ -212,10 +211,6 @@ static void wm8750_set_format(WM8750State *s)
     out_fmt.nchannels = 2;
     out_fmt.freq = s->dac_hz;
     out_fmt.fmt = AUD_FMT_S16;
-    monoout_fmt.endianness = 0;
-    monoout_fmt.nchannels = 1;
-    monoout_fmt.freq = s->rate->dac_hz;
-    monoout_fmt.fmt = AUD_FMT_S16;
 
     s->dac_voice[0] = AUD_open_out(&s->card, s->dac_voice[0],
                     CODEC ".speaker", s, wm8750_audio_out_cb, &out_fmt);
-- 
1.7.2.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-19 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 15:44 [Qemu-devel] [PATCH 1/2] WM8750: clean up dead code Serge Ziryukin
2010-08-19 15:44 ` [Qemu-devel] [PATCH 2/2] ui/sdl: " Serge Ziryukin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).