From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spv2W-0007yD-0I for qemu-devel@nongnu.org; Sat, 14 Jul 2012 01:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Spv2U-0001nx-VW for qemu-devel@nongnu.org; Sat, 14 Jul 2012 01:37:11 -0400 Received: from mail1.g-b.net ([64.191.66.247]:34630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Spv2U-0001nj-R8 for qemu-devel@nongnu.org; Sat, 14 Jul 2012 01:37:10 -0400 Message-ID: <50010582.8020004@g-b.net> Date: Sat, 14 Jul 2012 06:37:06 +0100 From: agraham MIME-Version: 1.0 References: <5000D6CE.80407@g-b.net> In-Reply-To: <5000D6CE.80407@g-b.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] QEMU VNC Audio - All audio data null Reply-To: agraham@g-b.net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraham@g-b.net Cc: qemu-devel@nongnu.org On 07/14/2012 03:17 AM, agraham wrote: > Hi Guys, > > I've written a VNC client that implements the VNC QEMU Audio extensions. > Using QEMU 0.13 it works very very for remote sound, however after > upgrading to QEMU 1.1.0 the audio stream contains only bytes of zeros, > so this results in no sound on the client. > > It is almost like the stream is muted by sending 0 bytes instead of the > actual data. > > 0: VNC: :SOUND: AudioOn > 1: VNC: :SOUND: Received _QEMU_Audio_Server_Message: Operation: 1 > 2: VNC: :SOUND: Received _QEMU_Audio_Start > 3: VNC: :SOUND: Received _QEMU_Audio_Server_Message: Operation: 2 > 4: VNC: :SOUND: Received _QEMU_Audio_Data 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > Is there something new that needs to be done in order for the sound to > be pushed out, like some unmute mechanism? > > I rebuilt QEMU 0.15.1 and sound worked but was very choppy, I think due > to some timer injection changes - but that's another issue. > > Thanks in advance. > > Albert I've just rebuilt QEMU 1.0 (and all of its dependencies) and it has the same problem (zero bytes), so some incompatibility was introduced between 0.15.1 and 1.1.0. Anyone got any clues ? Thanks. Albert