Skip to contentSkip to conversation

: (snd_pcm_route_load_ttable) Invalid type for X - when using REAL numbers

ALSA - lib 0000892 [email protected] 1 participant 1 message Jul 8, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=892>
======================================================================
Reported By: slammer
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   892
Category:                   0_general
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             02-08-2005 15:06 CET
Last Modified:              07-08-2005 10:35 CEST

======================================================================
Summary: (snd_pcm_route_load_ttable) Invalid type for X -
when using REAL numbers
Description:
According to the route plugin description at
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html

ttable { schannels numbers)

                CCHANNEL {
                        SCHANNEL REAL   # route value (0.0 - 1.0)
                }

the ttable values can be REAL.
Although when defining such a simple pcm as:

pcm.ch51dup {
    type route
    ttable {
        0 {
            0 1
            4 1
            2 0.5
            3 0.5
        }
        1 {
            1 1
            5 1
            2 0.5
            3 0.5
        }
    }
    slave.pcm {
        type hw
        card 0
        device 0
    }
    slave.channels 6
}

and trying to use the pcm, I get an error:
(snd_pcm_route_load_ttable) Invalid type for 2.
(snd_pcm_route_load_ttable) Invalid type for 3.

This i tried to define the table values in different manners e.g. ttable.0.3 0.5 (even used the exact sample from
http://alsa.opensrc.org/index.php?page=FAQ028) but the result is the same.

======================================================================

----------------------------------------------------------------------
jdthood - 02-13-05 10:58
----------------------------------------------------------------------
This has also been reported in Debian bug
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=291533 for the de_DE locale.

    http://bugs.debian.org/291533

I think that alsa-lib should read configuration files with the locale set to C.

----------------------------------------------------------------------
tiwai - 02-14-05 16:23
----------------------------------------------------------------------
Fixed on CVS.

Issue History
Date Modified Username Field Change
======================================================================

02-08-05 15:06 slammer        New Issue                                    
02-08-05 15:06 slammer        Issue Monitored: slammer                     
02-08-05 15:09 slammer        Note Added: 0003533                          
02-09-05 11:29 tiwai          Note Added: 0003537                          
02-09-05 11:47 slammer        Note Added: 0003542                          
02-09-05 11:52 tiwai          Note Added: 0003543                          
02-09-05 12:09 slammer        Note Added: 0003548                          
02-09-05 12:31 slammer        Issue End Monitor: slammer                    
02-09-05 12:31 slammer        Issue Monitored: slammer                     
02-11-05 22:25 slammer        Note Added: 0003568                          
02-13-05 10:58 jdthood        Note Added: 0003580                          
02-14-05 16:23 tiwai          Status                   new => resolved     
02-14-05 16:23 tiwai          Resolution               open => fixed       
02-14-05 16:23 tiwai          Assigned To               => tiwai           
02-14-05 16:23 tiwai          Note Added: 0003598                          
02-14-05 16:23 tiwai          Assigned To              tiwai =>            
02-15-05 11:55 slammer        Issue End Monitor: slammer                    
07-08-05 10:35 perex          Status                   resolved => closed  

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar