Skip to contentSkip to conversation

: 'playback.pcm {' missing from PMacToonie.conf

ALSA - lib 0001594 [email protected] 1 participant 1 message Dec 2, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1594>
======================================================================

Reported By:                jdthood
Assigned To:                tiwai
======================================================================
Project:                    ALSA - lib
Issue ID:                   1594
Category:                   hw specific configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             11-23-2005 20:30 CET
Last Modified:              12-02-2005 14:44 CET

======================================================================
Summary: 'playback.pcm {' missing from PMacToonie.conf
Description:
The submitter of Debian bug report 340478 reports that there is a line missing from conf/cards/PMacToonie.conf. The file contains the following invalid block:

# default with dmix+softvol & dsnoop
PMacToonie.pcm.default {
        @args [ CARD ]
        @args.CARD {
                type string
        }
        type asym
                type plug
                slave.pcm {
                        type softvol
                        slave.pcm {
                                @func concat
                                strings [ "dmix:CARD=" $CARD ",FORMAT=S16"
]
                        }
                        control {
                                name "PCM Playback Volume"
                                card $CARD
                        }
                }
        }
        capture.pcm {
                type plug
                slave.pcm {
                        @func concat
                        strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16" ]
                }
        }
}

The resulting error is:

ALSA lib conf.c:1596:(snd_config_load1) :51:1:Unexpected }

The user says that adding

    playback.pcm {

fixes the problem.
======================================================================

----------------------------------------------------------------------
jdthood - 12-01-05 16:30
----------------------------------------------------------------------
Has this been applied? It's an obviously correct patch.

----------------------------------------------------------------------
tiwai - 12-02-05 14:44
----------------------------------------------------------------------
Applied now. Thanks.

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

11-23-05 20:30 jdthood        New Issue                                    
11-23-05 20:32 jdthood        Note Added: 0006828                          
12-01-05 16:30 jdthood        Note Added: 0006885                          
12-02-05 14:44 tiwai          Status                   new => resolved     
12-02-05 14:44 tiwai          Resolution               open => fixed       
12-02-05 14:44 tiwai          Assigned To               => tiwai           
12-02-05 14:44 tiwai          Note Added: 0006890                          

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

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