Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #defaults.pcm.rate_converter="samplerate_medium"
- #possible values
- #samplerate_best
- #samplerate_linear
- #samplerate_medium
- #samplerate_order
- #pcm.ears20 {
- #type plug
- #slave.pcm "dmixer"
- #route_policy duplicate
- #}
- pcm.dmixer {
- type dmix
- ipc_key 1024
- ipc_key_add_uid true
- slave {
- pcm "hw:0,0"
- period_time 0
- period_size 1024
- buffer_size 8192
- periods 128
- format S32_LE
- rate 48000
- }
- bindings {
- 0 0
- 1 1
- }
- hint {
- show on
- description "Default DMIX"
- }
- }
- # oss part
- pcm.dsp0 {
- type plug
- slave.pcm "dmixer" #"spdifdmix" "dmixer"
- }
- ctl.mixer0 {
- type hw
- card 1
- }
- pcm.!default {
- type plug
- slave.pcm "dmixer"
- }
- pcm.spdifdmix {
- type dmix
- ipc_key 2048
- ipc_key_add_uid true
- slave {
- pcm "hw:0,1"
- period_time 0
- period_size 1024 #1024 #useful if you ear scratch or have a crappy sound (try other values if it doesn't work)
- buffer_size 8192 #8192 useful if you ear scratch or have a crappy sound (try other values if it doesn't work)
- format S32_LE
- periods 256
- rate 48000 #192000 set to 44100 or other.
- }
- bindings {
- 0 0
- 1 1
- }
- hint {
- show on
- description "SPDIF DMIXER"
- }
- }
- # oss part
- #pcm.dsp1 {
- # type plug
- # slave.pcm "spdifdmix"
- #}
- ctl.mixer_spdifdmix {
- type hw
- card 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement