From: "Arve Knudsen" <aknuds-1@broadpark.no>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: "alsa-devel@lists.sourceforge.net" <alsa-devel@lists.sourceforge.net>
Subject: Re: Problem writing to PCM plugin
Date: Wed, 11 Aug 2004 17:06:20 +0200 [thread overview]
Message-ID: <opsckpkuvbfmr65f@mail.broadpark.no> (raw)
In-Reply-To: <Pine.HPX.4.33n.0408111544140.15385-100000@studcom.urz.uni-halle.de>
Based on your suggestion I rewrote the plugin, so it wraps a route plugin.
And now things work as I would expect. I must say I'm still confused on
the issue, as I haven't found any explanation why my original approach
wouldn't work. What's the difference between defining a translation table
directly inside a "plug" plugin, and aggregating a slave "route" plugin
within a "plug"?
Sort of weird that the plugin caused an assertion only when used in
combination with the nForce2 chip, and not the Hammerfall (just silent
operation).
Thanks
Arve Knudsen
On Wed, 11 Aug 2004 15:45:29 +0200 (METDST), Clemens Ladisch
<clemens@ladisch.de> 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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
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
next prev parent reply other threads:[~2004-08-11 15:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-11 13:33 Problem writing to PCM plugin Arve Knudsen
2004-08-11 13:36 ` Jaroslav Kysela
2004-08-11 13:53 ` Arve Knudsen
2004-08-11 13:45 ` Clemens Ladisch
2004-08-11 14:00 ` Arve Knudsen
2004-08-11 15:06 ` Arve Knudsen [this message]
2004-08-11 15:03 ` Jaroslav Kysela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=opsckpkuvbfmr65f@mail.broadpark.no \
--to=aknuds-1@broadpark.no \
--cc=alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.