Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2006-01-02 Thread Jaroslav Kysela
On Fri, 30 Dec 2005, Adam Nielsen wrote:

> > What are you trying to do?
> 
> I'm still trying to get stereo output when passing the sound through a
> LADSPA plugin (which in the latest version of ALSA converts any incoming
> stereo source into mono.)

Could you enter a bug report if the current LADSPA code has some problems?
It's difficult to track your conversation if you deleted all "vital" 
information from your previous e-mail.

Also 'aplay -v' should give you more usefull information about the actual 
routing in the LADSPA chain and the ALSA plugin chain.

Jaroslav

-
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-31 Thread Sergei Steshenko
The plugin compiles again - I removed a number of unnecessary
things from it.

After having some sleep I'll try to launch it.

What center frequencies would you like to have ?

It's configurable through the plugin's Perl part, I'd like to enter them
the way you like the because you'll have other issues to deal with :-).

Nothing really annoying (I hope), just some things are ad-hoc, and I want
to write a kind of cheatsheet to explain how to do them. It's related
to manual editing of 'Makefile'.


On Sun, 1 Jan 2006 10:32:03 +1000
Adam Nielsen <[EMAIL PROTECTED]> wrote:

> > I'll try to deliver it on Sunday evening in terms of GMT+2 timezone.
> 
> Excellent!
> 
> > First a childish question: are you sure the speakers are in phase ?
> 
> Yes, I can't stand out of phase speakers (at least by 180 degrees) so
> I'm sure that's not the problem.  Given that the speakers aren't
> equidistant from my listening position there's probably a very small
> phase difference, but it doesn't affect my reason for wanting an EQ.
> 
> > A similar childish question - if your speakers are (bi or tri)amped,
> > do the woofer/midwoofer/tweeter channels have correct phase ?
> 
> They're only relatively cheap speakers, so no, everything is in phase. 
> The problem is that my hearing seems to be particularly sensitive to
> mid-range frequencies, and so I prefer having these frequencies dampened
> a little.
> 
> Cheers,
> Adam.
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
> 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-31 Thread Adam Nielsen
> I'll try to deliver it on Sunday evening in terms of GMT+2 timezone.

Excellent!

> First a childish question: are you sure the speakers are in phase ?

Yes, I can't stand out of phase speakers (at least by 180 degrees) so
I'm sure that's not the problem.  Given that the speakers aren't
equidistant from my listening position there's probably a very small
phase difference, but it doesn't affect my reason for wanting an EQ.

> A similar childish question - if your speakers are (bi or tri)amped,
> do the woofer/midwoofer/tweeter channels have correct phase ?

They're only relatively cheap speakers, so no, everything is in phase. 
The problem is that my hearing seems to be particularly sensitive to
mid-range frequencies, and so I prefer having these frequencies dampened
a little.

Cheers,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-31 Thread Sergei Steshenko
I'll try to deliver it on Sunday evening in terms of GMT+2 timezone.

I haven't been working with it for about 9-10 months; more things have
been developed based on it, etc.

First a childish question: are you sure the speakers are in phase ?

I once remotely helped a guy in urgent desire of an equalizer by suggesting
him to check the phase/polarity, and it was the case.

A similar childish question - if your speakers are (bi or tri)amped, do the
woofer/midwoofer/tweeter channels have correct phase ?

On Sat, 31 Dec 2005 10:25:26 +1000
Adam Nielsen <[EMAIL PROTECTED]> wrote:

> > incidentally, I used to work with LADSPA equalizer plugin, and I have
> > a natively stereo version. Furthermore, my code is written as Perl/C
> > combination, so with a flip of your fingers you can actually get
> > whatever number of channels.
> 
> That sounds interesting...  I think the problem is that the EQ plugin
> I'm using is only a single channel, and the ALSA LADSPA plugin no longer
> duplicates it once for each input/output channel.
> 
> > The plugin is optimized in a sense that mutual for all channels things
> > are coded only once.
> 
> Nice...
> 
> > If you (and the list) are interested, I can publish the plugin and
> > related tools - the ones that convert Perl/C mixture into pure C.
> 
> Oh yes, I'm definitely interested!  That sounds like exactly what I'm
> after!
> 
> Cheers,
> Adam.
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
> 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-30 Thread Adam Nielsen
> incidentally, I used to work with LADSPA equalizer plugin, and I have
> a natively stereo version. Furthermore, my code is written as Perl/C
> combination, so with a flip of your fingers you can actually get
> whatever number of channels.

That sounds interesting...  I think the problem is that the EQ plugin
I'm using is only a single channel, and the ALSA LADSPA plugin no longer
duplicates it once for each input/output channel.

> The plugin is optimized in a sense that mutual for all channels things
> are coded only once.

Nice...

> If you (and the list) are interested, I can publish the plugin and
> related tools - the ones that convert Perl/C mixture into pure C.

Oh yes, I'm definitely interested!  That sounds like exactly what I'm
after!

Cheers,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-30 Thread Sergei Steshenko
Adam,

incidentally, I used to work with LADSPA equalizer plugin, and I have
a natively stereo version.

Furthermore, my code is written as Perl/C combination, so with a flip
of your fingers you can actually get whatever number of channels.

The plugin is optimized in a sense that mutual for all channels things
are coded only once.

If you (and the list) are interested, I can publish the plugin and
related tools - the ones that convert Perl/C mixture into pure C.

Regards,
  Sergei.


On Fri, 30 Dec 2005 13:10:11 +1000
Adam Nielsen <[EMAIL PROTECTED]> wrote:

> > Can you explain what you are trying to accomplish starting from the
> > beginning?
> 
> Okay, well starting from the very beginning...
> 
>  - I want 5.1 channel output from my sound card.  All the time.
> 
>  - This means that when I play stereo sound I want it routed to the
>front two speakers as well as the rear two speakers.  I also want the
>low frequencies from both input channels routed to the subwoofer
>channel.
> 
>  - When I play mono sound, I want it routed to in the same way as
>stereo - front and rear speakers, and subwoofer.
> 
>  - When I play 5.1 sound, I want it routed to each correct channel (i.e.
>I don't want the front speakers duplicated out the back, which the
>'duplicate front' mixer control does.)
> 
> This is relatively simple, but the difficulty arises because I also want
> every single channel routed via a single LADSPA plugin before it gets to
> the speakers.  This is an equaliser plugin, which boosts specific
> frequencies that my external amplifier seems to lack.
> 
> I used to have this working with stereo, but I was having some trouble
> getting the routing correct with my old ALSA version (1.0rc2 or
> something.)  I upgraded to 1.0.11rc1, however the routing then went
> haywire - which I then discovered was because the LADSPA plugin
> converted everything to mono (or rather stereo with the same signal in
> both channels.)  My intent was to get LADSPA going again with stereo,
> which would allow me to resume my quest to get 5.1 sound working too.
> 
> Hopefully this gives you some idea where I'm coming from!
> 
> Thanks,
> Adam.
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
> 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Adam Nielsen
> Can you explain what you are trying to accomplish starting from the
> beginning?

Okay, well starting from the very beginning...

 - I want 5.1 channel output from my sound card.  All the time.

 - This means that when I play stereo sound I want it routed to the
   front two speakers as well as the rear two speakers.  I also want the
   low frequencies from both input channels routed to the subwoofer
   channel.

 - When I play mono sound, I want it routed to in the same way as
   stereo - front and rear speakers, and subwoofer.

 - When I play 5.1 sound, I want it routed to each correct channel (i.e.
   I don't want the front speakers duplicated out the back, which the
   'duplicate front' mixer control does.)

This is relatively simple, but the difficulty arises because I also want
every single channel routed via a single LADSPA plugin before it gets to
the speakers.  This is an equaliser plugin, which boosts specific
frequencies that my external amplifier seems to lack.

I used to have this working with stereo, but I was having some trouble
getting the routing correct with my old ALSA version (1.0rc2 or
something.)  I upgraded to 1.0.11rc1, however the routing then went
haywire - which I then discovered was because the LADSPA plugin
converted everything to mono (or rather stereo with the same signal in
both channels.)  My intent was to get LADSPA going again with stereo,
which would allow me to resume my quest to get 5.1 sound working too.

Hopefully this gives you some idea where I'm coming from!

Thanks,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Lee Revell
On Fri, 2005-12-30 at 12:51 +1000, Adam Nielsen wrote:
> > Wait, so you're just trying to work around a bug in the LADSPA plugin?
> 
> Well, yes. *blushes*
> 
> > Why not just try to get that fixed?
> 
> Primarily because I've got absolutely no idea where to start looking,
> and I was hoping that this would be a quicker solution.  Looks like
> perhaps it wasn't ;-)
> 
> Maybe I should take a look at the source...only I fear it's going to
> take me rather a long time just to work out how it all fits together...

Can you explain what you are trying to accomplish starting from the
beginning?

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Adam Nielsen
> Wait, so you're just trying to work around a bug in the LADSPA plugin?

Well, yes. *blushes*

> Why not just try to get that fixed?

Primarily because I've got absolutely no idea where to start looking,
and I was hoping that this would be a quicker solution.  Looks like
perhaps it wasn't ;-)

Maybe I should take a look at the source...only I fear it's going to
take me rather a long time just to work out how it all fits together...

Cheers,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Lee Revell
On Fri, 2005-12-30 at 12:04 +1000, Adam Nielsen wrote:
> > What are you trying to do?
> 
> I'm still trying to get stereo output when passing the sound through a
> LADSPA plugin (which in the latest version of ALSA converts any incoming
> stereo source into mono.)  My current idea is to create a multi-card
> device, with the two "combined sound cards" being both on the same
> physical card.  Then I can feed one "card" through LADSPA giving one
> mono signal, and the other card though LADSPA giving a second mono
> signal, and then I can hopefully route the two mono signals out the left
> and right speakers giving me a stereo signal that has passed through
> LADSPA.

Wait, so you're just trying to work around a bug in the LADSPA plugin?
Why not just try to get that fixed?

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Adam Nielsen
> For stereo sound reproduction through speakers it is absolutely
> crucial to have consistent and STABLE phase relationship between the
> channels.

Good point, but to be honest I'd rather have out of phase stereo
compared to the mono sound I have at the moment ;-)

> Data is written to the two cards at different moments of time -
> because they are two cards, not one card. And the time difference is
> random - it depends on PCI activity, interrupts, memory refresh, etc. 
> So, unless you have HW means to synchronize sound in the two cards,
> the results might be bad anyway.

In this case it won't be a problem because it's the same physical card -
card #0 is "hw:0,0" and card #1 is "hw:0,0" with the card doing hardware
mixing to get the stereo signal.

Unfortunately it all seems fine until I try the "type multi" definition,
upon which all I get is silence :-(

Cheers,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Sergei Steshenko
It might be even worse.

The cards most likely have independent clock generators.

In such a case, there will be (slightly) different playback
speed of left and right channels.


On Fri, 30 Dec 2005 04:33:13 +0200
Sergei Steshenko <[EMAIL PROTECTED]> wrote:

> "
> Then I can feed one "card" through LADSPA giving one
> mono signal, and the other card though LADSPA giving a second mono
> signal, and then I can hopefully route the two mono signals out the left
> and right speakers giving me a stereo signal that has passed through
> LADSPA.
> "
> 
> - well, it might be not a good idea from acoustics point of view.
> 
> For stereo sound reproduction through speakers it is absolutely crucial to
> have consistent and STABLE phase relationship between the channels.
> 
> Data is written to the two cards at different moments of time - because
> they are two cards, not one card. And the time difference is random -
> it depends on PCI activity, interrupts, memory refresh, etc.
> 
> So, unless you have HW means to synchronize sound in the two
> cards, the results might be bad anyway.
> 
> Regards,
>   Sergei.
> 
> On Fri, 30 Dec 2005 12:04:44 +1000
> Adam Nielsen <[EMAIL PROTECTED]> wrote:
> 
> > > What are you trying to do?
> > 
> > I'm still trying to get stereo output when passing the sound through a
> > LADSPA plugin (which in the latest version of ALSA converts any incoming
> > stereo source into mono.)  My current idea is to create a multi-card
> > device, with the two "combined sound cards" being both on the same
> > physical card.  Then I can feed one "card" through LADSPA giving one
> > mono signal, and the other card though LADSPA giving a second mono
> > signal, and then I can hopefully route the two mono signals out the left
> > and right speakers giving me a stereo signal that has passed through
> > LADSPA.
> > 
> > It just seems that if you connect things in a certain way (particularly
> > with the ALSA ladspa plugin) I get all these weird assertion failures -
> > so I was hoping that if I knew why they were happening it might help me
> > figure out a way around them.
> > 
> > Thanks,
> > Adam.
> > 
> > 
> > ---
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > ___
> > Alsa-user mailing list
> > Alsa-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> > 
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
> 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Sergei Steshenko
"
Then I can feed one "card" through LADSPA giving one
mono signal, and the other card though LADSPA giving a second mono
signal, and then I can hopefully route the two mono signals out the left
and right speakers giving me a stereo signal that has passed through
LADSPA.
"

- well, it might be not a good idea from acoustics point of view.

For stereo sound reproduction through speakers it is absolutely crucial to
have consistent and STABLE phase relationship between the channels.

Data is written to the two cards at different moments of time - because
they are two cards, not one card. And the time difference is random -
it depends on PCI activity, interrupts, memory refresh, etc.

So, unless you have HW means to synchronize sound in the two
cards, the results might be bad anyway.

Regards,
  Sergei.

On Fri, 30 Dec 2005 12:04:44 +1000
Adam Nielsen <[EMAIL PROTECTED]> wrote:

> > What are you trying to do?
> 
> I'm still trying to get stereo output when passing the sound through a
> LADSPA plugin (which in the latest version of ALSA converts any incoming
> stereo source into mono.)  My current idea is to create a multi-card
> device, with the two "combined sound cards" being both on the same
> physical card.  Then I can feed one "card" through LADSPA giving one
> mono signal, and the other card though LADSPA giving a second mono
> signal, and then I can hopefully route the two mono signals out the left
> and right speakers giving me a stereo signal that has passed through
> LADSPA.
> 
> It just seems that if you connect things in a certain way (particularly
> with the ALSA ladspa plugin) I get all these weird assertion failures -
> so I was hoping that if I knew why they were happening it might help me
> figure out a way around them.
> 
> Thanks,
> Adam.
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
> 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Adam Nielsen
> Well AFAICT that assert is saying that the slave of a route plugin
> can't have a non-linear format.

That's what I thought - given that the slave is the LADSPA plugin, I
assumed I'd somehow have to convert it to linear format before passing
it to LADSPA - but I can't find any docs about how to do that :-(

Cheers,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Lee Revell
On Fri, 2005-12-30 at 12:04 +1000, Adam Nielsen wrote:
> > What are you trying to do?
> 
> I'm still trying to get stereo output when passing the sound through a
> LADSPA plugin (which in the latest version of ALSA converts any incoming
> stereo source into mono.)  My current idea is to create a multi-card
> device, with the two "combined sound cards" being both on the same
> physical card.  Then I can feed one "card" through LADSPA giving one
> mono signal, and the other card though LADSPA giving a second mono
> signal, and then I can hopefully route the two mono signals out the left
> and right speakers giving me a stereo signal that has passed through
> LADSPA.
> 
> It just seems that if you connect things in a certain way (particularly
> with the ALSA ladspa plugin) I get all these weird assertion failures -
> so I was hoping that if I knew why they were happening it might help me
> figure out a way around them.

Well AFAICT that assert is saying that the slave of a route plugin can't
have a non-linear format.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Adam Nielsen
> What are you trying to do?

I'm still trying to get stereo output when passing the sound through a
LADSPA plugin (which in the latest version of ALSA converts any incoming
stereo source into mono.)  My current idea is to create a multi-card
device, with the two "combined sound cards" being both on the same
physical card.  Then I can feed one "card" through LADSPA giving one
mono signal, and the other card though LADSPA giving a second mono
signal, and then I can hopefully route the two mono signals out the left
and right speakers giving me a stereo signal that has passed through
LADSPA.

It just seems that if you connect things in a certain way (particularly
with the ALSA ladspa plugin) I get all these weird assertion failures -
so I was hoping that if I knew why they were happening it might help me
figure out a way around them.

Thanks,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Lee Revell
On Fri, 2005-12-30 at 11:36 +1000, Adam Nielsen wrote:
> Hi all,
> 
> What does this error mean?
> 
> aplay: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion 
> `snd_pcm_format_linear(slv->format)' failed.
> Aborted by signal Aborted...
> ALSA lib pcm_plug.c:68:(snd_pcm_plug_close) plug slaves mismatch
> 
> Just when I think I'm about to solve my problem, I always seem to get
> this coming up - even using a configuration that worked with an old
> version of ALSA.
> 
> Any ideas what it means?

What are you trying to do?

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Assertion `snd_pcm_format_linear(slv->format)' failed

2005-12-29 Thread Adam Nielsen
Hi all,

What does this error mean?

aplay: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion 
`snd_pcm_format_linear(slv->format)' failed.
Aborted by signal Aborted...
ALSA lib pcm_plug.c:68:(snd_pcm_plug_close) plug slaves mismatch

Just when I think I'm about to solve my problem, I always seem to get
this coming up - even using a configuration that worked with an old
version of ALSA.

Any ideas what it means?

Thanks,
Adam.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user