From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzh3e-00060C-KZ for qemu-devel@nongnu.org; Tue, 02 Jun 2015 03:56:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzh3Y-0005vc-GV for qemu-devel@nongnu.org; Tue, 02 Jun 2015 03:56:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzh3Y-0005vT-BG for qemu-devel@nongnu.org; Tue, 02 Jun 2015 03:56:16 -0400 Message-ID: <1433231769.1637.19.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 02 Jun 2015 09:56:09 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 05/12] audio: expose drv_opaque to init_out and init_in List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?K=C5=91v=C3=A1g=C3=B3=2C_Zolt=C3=A1n?= Cc: qemu-devel@nongnu.org Hi, > -static int alsa_init_out (HWVoiceOut *hw, struct audsettings *as) > +static int alsa_init_out(HWVoiceOut *hw, struct audsettings *as, > + void *drv_opaque) > { > ALSAVoiceOut *alsa = (ALSAVoiceOut *) hw; > struct alsa_params_req req; > @@ -827,6 +828,8 @@ static int alsa_init_out (HWVoiceOut *hw, struct audsettings *as) > snd_pcm_t *handle; > struct audsettings obt_as; > > + (void) drv_opaque; > + What is the reason for this? cheers, Gerd