<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-2"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Well, it's fairly easy but it was hard to find.<br>
    Just edit /etc/libvirt/qemu.conf and set:<br>
     vnc_allow_host_audio = 1<br>
    it is set to 0 by default.<br>
    And then just set variable QEMU_AUDIO_DRV to alsa. I recommend alsa,
    because with pulse you don't get any sound on your host and that's
    not desirable for me.<br>
    Vojta<br>
    <br>
    On 21.4.2011 10:28, Emre Erenoglu wrote:
    <blockquote
      cite="mid:BANLkTiki=b9PH6kyJYO9-Vk5B6XuYwdfCA@mail.gmail.com"
      type="cite">Hi Vojtech, how do you do that setting?<br>
      <br>
      <div class="gmail_quote">2011/4/20 Vojtěch Polášek <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:vojtech.polasek@gmail.com">vojtech.polasek@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Hello,<br>
          I recently found another way of playing audio from vm. Just
          set qemu to use your local sound system instead of vnc or
          spice.<br>
          This works for me so I'm leaving this problem as it is.<br>
          Thank you for your replies,<br>
          Vojta<br>
          _______________________________________________<br>
          Spice-devel mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Spice-devel@lists.freedesktop.org"
            target="_blank">Spice-devel@lists.freedesktop.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freedesktop.org/mailman/listinfo/spice-devel"
            target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Emre<br>
    </blockquote>
        <br>
  </body>
</html>