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