All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - lib 0000584]: LADSPA plugins which require multiple channels are not connected to properly -> SEGV
@ 2005-12-13 14:26 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-12-13 14:26 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=584> 
======================================================================
Reported By:                divVerent
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   584
Category:                   1_pcm - digital audio
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             10-15-2004 22:58 CEST
Last Modified:              12-13-2005 15:26 CET
======================================================================
Summary:                    LADSPA plugins which require multiple channels are
not connected to properly -> SEGV
Description: 
Instead of connecting all channels to the LADSPA plugin and invoking it
once, libasound connects them one-by-one and invokes the LADSPA plugin
multiple times. In other words, libasound only handles mono plugins and
"stretches" them into stereo plugins by processing the audio data channel
by channel.

This will however make real stereo/multichannel plugins crash because they
do what "ladspa.h" says:

/* quoting ladspa.h
The plugin may assume that all its input and output ports have been
connected to the relevant data location (see the `connect_port()' function
below) before it is asked to run.
*/
======================================================================

----------------------------------------------------------------------
 divVerent - 03-20-05 15:15 
----------------------------------------------------------------------
By handling multichannel LADSPA plugins so that all channels are connected
to their slots.

I see that this would break old functionality which can "expand" a
single-channel LADSPA plugin to all channels. Perhaps it would be good to
make this "expansion" an option of the LADSPA plugin.

Unfortunately, from what I've read in the ALSA source code about this, it
would require a complete rewrite of the LADSPA interface. But I still hope
I am wrong.

----------------------------------------------------------------------
 perex - 12-13-05 15:26 
----------------------------------------------------------------------
It's fixed in ALSA CVS. The configuration example works now and the LADSPA
code in alsa-lib was recoded to be more universal.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-15-04 22:58 divVerent      New Issue                                    
10-15-04 23:21 divVerent      Issue Monitored: divVerent                    
03-20-05 13:02 jdthood        Note Added: 0004076                          
03-20-05 15:15 divVerent      Note Added: 0004090                          
12-13-05 15:26 perex          Status                   new => resolved     
12-13-05 15:26 perex          Resolution               open => fixed       
12-13-05 15:26 perex          Assigned To               => perex           
12-13-05 15:26 perex          Note Added: 0007018                          
======================================================================




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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ALSA - lib 0000584]: LADSPA plugins which require multiple channels are not connected to properly -> SEGV
@ 2005-03-20 14:15 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-03-20 14:15 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=584> 
======================================================================
Reported By:                divVerent
Assigned To:                
======================================================================
Project:                    ALSA - lib
Issue ID:                   584
Category:                   pcm - digital audio
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-15-2004 22:58 CEST
Last Modified:              03-20-2005 15:15 CET
======================================================================
Summary:                    LADSPA plugins which require multiple channels are
not connected to properly -> SEGV
Description: 
Instead of connecting all channels to the LADSPA plugin and invoking it
once, libasound connects them one-by-one and invokes the LADSPA plugin
multiple times. In other words, libasound only handles mono plugins and
"stretches" them into stereo plugins by processing the audio data channel
by channel.

This will however make real stereo/multichannel plugins crash because they
do what "ladspa.h" says:

/* quoting ladspa.h
The plugin may assume that all its input and output ports have been
connected to the relevant data location (see the `connect_port()' function
below) before it is asked to run.
*/
======================================================================

----------------------------------------------------------------------
 jdthood - 03-20-05 13:02 
----------------------------------------------------------------------
Submitter: How do you think that this should be fixed?

----------------------------------------------------------------------
 divVerent - 03-20-05 15:15 
----------------------------------------------------------------------
By handling multichannel LADSPA plugins so that all channels are connected
to their slots.

I see that this would break old functionality which can "expand" a
single-channel LADSPA plugin to all channels. Perhaps it would be good to
make this "expansion" an option of the LADSPA plugin.

Unfortunately, from what I've read in the ALSA source code about this, it
would require a complete rewrite of the LADSPA interface. But I still hope
I am wrong.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-15-04 22:58 divVerent      New Issue                                    
10-15-04 23:21 divVerent      Issue Monitored: divVerent                    
03-20-05 13:02 jdthood        Note Added: 0004076                          
03-20-05 15:15 divVerent      Note Added: 0004090                          
======================================================================




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ALSA - lib 0000584]: LADSPA plugins which require multiple channels are not connected to properly -> SEGV
@ 2005-03-20 12:02 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-03-20 12:02 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=584> 
======================================================================
Reported By:                divVerent
Assigned To:                
======================================================================
Project:                    ALSA - lib
Issue ID:                   584
Category:                   pcm - digital audio
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-15-2004 22:58 CEST
Last Modified:              03-20-2005 13:02 CET
======================================================================
Summary:                    LADSPA plugins which require multiple channels are
not connected to properly -> SEGV
Description: 
Instead of connecting all channels to the LADSPA plugin and invoking it
once, libasound connects them one-by-one and invokes the LADSPA plugin
multiple times. In other words, libasound only handles mono plugins and
"stretches" them into stereo plugins by processing the audio data channel
by channel.

This will however make real stereo/multichannel plugins crash because they
do what "ladspa.h" says:

/* quoting ladspa.h
The plugin may assume that all its input and output ports have been
connected to the relevant data location (see the `connect_port()' function
below) before it is asked to run.
*/
======================================================================

----------------------------------------------------------------------
 jdthood - 03-20-05 13:02 
----------------------------------------------------------------------
Submitter: How do you think that this should be fixed?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-15-04 22:58 divVerent      New Issue                                    
10-15-04 23:21 divVerent      Issue Monitored: divVerent                    
03-20-05 13:02 jdthood        Note Added: 0004076                          
======================================================================




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ALSA - lib 0000584]: LADSPA plugins which require multiple channels are not connected to properly -> SEGV
@ 2004-10-15 20:58 bugtrack
  0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2004-10-15 20:58 UTC (permalink / raw)
  To: alsa-devel


The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000584
======================================================================
Reported By:                divVerent
Assigned To:                
======================================================================
Project:                    ALSA - lib
Bug ID:                     584
Category:                   pcm - digital audio
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-15-2004 22:58 CEST
Last Modified:              10-15-2004 22:58 CEST
======================================================================
Summary:                    LADSPA plugins which require multiple channels are not connected to properly -> SEGV
Description: 
Instead of connecting all channels to the LADSPA plugin and invoking it
once, libasound connects them one-by-one and invokes the LADSPA plugin
multiple times. In other words, libasound only handles mono plugins and
"stretches" them into stereo plugins by processing the audio data channel
by channel.

This will however make real stereo/multichannel plugins crash because they
do what "ladspa.h" says:

/* quoting ladspa.h
The plugin may assume that all its input and output ports have been
connected to the relevant data location (see the `connect_port()' function
below) before it is asked to run.
*/
======================================================================

Bug History
Date Modified  Username       Field                    Change              
======================================================================
10-15-04 22:58 divVerent      New Bug                                      
======================================================================


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-13 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 14:26 [ALSA - lib 0000584]: LADSPA plugins which require multiple channels are not connected to properly -> SEGV bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2005-03-20 14:15 bugtrack
2005-03-20 12:02 bugtrack
2004-10-15 20:58 bugtrack

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.