Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Sample Configuration Files
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Sample Configuration Files Copies of commonly used configuration files in SUSE Linux
(Moderated - Please do not post questions here)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-Dec-2004, 13:07
Crashoverride
Guest
 
Posts: n/a
Default

Sample .asoundrc for Envy24 HT-s & Envy 24 GT cards using analogue out with dmixer and 5.1 surround plug for programs such as xmms.



Code:
pcm.audio2000 {
	type plug
	slave.pcm "dmixer"
}

pcm.dmixer *{
	type dmix
	ipc_key 1024
	slave {
 *pcm "hw:0,0"
 *format S32_LE
 *period_time 0
 *period_size 1024
 *buffer_size 8192

 *rate 44100
	}
	bindings {
 *0 0
 *1 1
	}
}

ctl.dmixer {
	type hw
	card 0
	device 1
}

pcm.duplicate {
 * * * *type plug
 * * * *slave.pcm "surround51"
 * * * *slave.channels 6
 * * * *route_policy duplicate
}
  #2 (permalink)  
Old 25-Mar-2005, 12:36
sirbrett
Guest
 
Posts: n/a
Default

this /etc/asound.conf got software mixing via dmix working on my nforce3 250 chipset.

Code:
pcm.card0 {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "dmixer"
}


pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 32768
rate 44100
}
bindings {
0 0
1 1
}
}
  #3 (permalink)  
Old 30-Dec-2006, 12:09
Crashoverride
Guest
 
Posts: n/a
Default

Again a .asoundrc file for the Envy 24 based cards except this time for the digital out:
Code:
# hw:0,1 designates the Digital Coaxial Output
# S32_LE is the only format supported by the driver
# period_time, period_size, and buffer_size are needed to make aRts not stutter. Increase buffer_size if stuttering persists.
pcm.spdifdmix {
****type dmix
****ipc_key 1024
****slave {
********pcm "hw:0,1"
********format S32_LE
********period_time 0
********period_size 1024
********buffer_size 4096
****}
}

# default ALSA route for software support of multiple sound streams
pcm.!default {
****type plug
****slave.pcm spdifdmix
}

# Ogle
pcm.!spdif {
****type plug
****slave.pcm "hw:0,1"
}

# mplayer -ac hwac3
pcm.!iec958 {
****type plug
****slave.pcm "hw:0,1"
}
  #4 (permalink)  
Old 10-Jun-2007, 10:21
elger
Guest
 
Posts: n/a
Default

Does anyone have a working config so that my SoundBlaster Audigy will output PCM over spdif?

My rig used to work but siddenly xine does not switch from AC/2 to PCM. Any help would be really appreciated.

Regards
A
  #5 (permalink)  
Old 17-Sep-2007, 20:46
Sandlst
Guest
 
Posts: n/a
Default

This is the .asoundrc I use to make my Intel sound card (82801G ICH7 Family High Definition Audio Controller) work with some sdl apps and mix better.
Code:
pcm.!default {
type plugin
card 0
}

ctl.!default {
type hw
card 0
}

pcm.!default {
 type plug
 slave.pcm "dmixer"
}

pcm.dmixer {
 type dmix
 ipc_key 1024
 slave {
**pcm {
** type hw
** card 0
**}
**rate 44100
**period_time 0
**period_size 2048
**buffer_size 32768
 }
 slowptr 1
}
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2