Skip to contentSkip to conversation

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

ALSA - lib 0001594 [email protected] 1 participant 1 message Nov 23, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1594>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   1594
Category:                   hw specific configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-23-2005 20:30 CET
Last Modified:              11-23-2005 20:32 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 - 11-23-05 20:32
----------------------------------------------------------------------
The submitter provided this patch:

PMacToonie.conf renamed from PMacToonie.conf.original +1 -0
@@ -28,6 +28,7 @@
 		type string
 	}
 	type asym
+	playback.pcm {
 		type plug
 		slave.pcm {
 			type softvol

Issue History
Date Modified Username Field Change
======================================================================
11-23-05 20:30 jdthood New Issue
11-23-05 20:32 jdthood Note Added: 0006828
======================================================================

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