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

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

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

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

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

[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

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

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

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

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

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

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

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

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

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 ;-)

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

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