From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Arve Knudsen" Subject: Re: Problem writing to PCM plugin Date: Wed, 11 Aug 2004 16:00:25 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org Actually the plugin is of type "plug", and according to snd_pcm_dump it =20 seems ALSA-lib takes care of converting the sample format. Only getting t= o =20 know the plugin system here ... Regards Arve Knudsen On Wed, 11 Aug 2004 15:45:29 +0200 (METDST), Clemens Ladisch =20 wrote: > Arve Knudsen wrote: >> pcm_plug.c:363: snd_pcm_plug_change_channels: Assertion >> `snd_pcm_format_linear(slv->format)' failed' >> >> The obvious difference to aplay I can think of is that we use floating >> point format in the PortAudio tests, so there is an intermediate >> conversion before the audio gets to the routing plugin. > > The route plugin doesn't support floating point formats. Try wrapping > it into a lfloat (or plug) plugin. > > > HTH > Clemens > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285