Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 158064 - s-c-s bypasses specific configuration for sound cards
Summary: s-c-s bypasses specific configuration for sound cards
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-soundcard
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact:
Depends On:
Blocks: 130593
TreeView+ depends on / blocked
Reported: 2005-05-18 10:38 UTC by Martin Stransky
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-05-18 11:41:24 UTC

Attachments (Terms of Use)
patch for s-c-s (deleted)
2005-05-18 10:38 UTC, Martin Stransky
no flags Details

Description Martin Stransky 2005-05-18 10:38:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323

Description of problem:
If s-c-s writes to /etc/asound.conf lines

pcm.!default { type hw card 0 }
ctl.!default { type hw card 0 }

they will bypass specific configuration for cards (soft volume, sw mixing) and
alsa will use only basic hardware device.

But if we use 

defaults.pcm.card 0
defaults.pcm.card 0

ALSA can use specific config stored in /etc/alsa/cards

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. run s-c-s
2. choose default card
3. look to /etc/asound.conf

Actual Results:  Cards can't use config in /etc/alsa/cards

Expected Results:  Cards can use config in /etc/alsa/cards

Additional info:

Comment 1 Martin Stransky 2005-05-18 10:38:59 UTC
Created attachment 114500 [details]
patch for s-c-s

Comment 2 Bastien Nocera 2005-05-18 11:02:54 UTC
Looks great, feel free to commit.

Comment 3 Martin Stransky 2005-05-18 11:41:24 UTC

Note You need to log in before you can comment on or make changes to this bug.