Mercurial > repos > rliterman > csp2
annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/alsa/pcm/default.conf @ 68:5028fdace37b
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 16:23:26 -0400 |
parents | |
children |
rev | line source |
---|---|
jpayne@68 | 1 # |
jpayne@68 | 2 # Default output |
jpayne@68 | 3 # |
jpayne@68 | 4 |
jpayne@68 | 5 pcm.!default { |
jpayne@68 | 6 @args [ CARD ] |
jpayne@68 | 7 @args.CARD { |
jpayne@68 | 8 type string |
jpayne@68 | 9 default { |
jpayne@68 | 10 @func getenv |
jpayne@68 | 11 vars [ |
jpayne@68 | 12 ALSA_PCM_CARD |
jpayne@68 | 13 ALSA_CARD |
jpayne@68 | 14 ] |
jpayne@68 | 15 default { |
jpayne@68 | 16 @func refer |
jpayne@68 | 17 name defaults.pcm.card |
jpayne@68 | 18 } |
jpayne@68 | 19 } |
jpayne@68 | 20 } |
jpayne@68 | 21 type empty |
jpayne@68 | 22 slave.pcm { |
jpayne@68 | 23 # use card-specific definition if exists |
jpayne@68 | 24 @func refer |
jpayne@68 | 25 name { |
jpayne@68 | 26 @func concat |
jpayne@68 | 27 strings [ |
jpayne@68 | 28 "cards." |
jpayne@68 | 29 { |
jpayne@68 | 30 @func card_driver |
jpayne@68 | 31 card $CARD |
jpayne@68 | 32 } |
jpayne@68 | 33 ".pcm.default:CARD=" $CARD |
jpayne@68 | 34 ] |
jpayne@68 | 35 } |
jpayne@68 | 36 default { |
jpayne@68 | 37 # use plughw as default |
jpayne@68 | 38 type plug |
jpayne@68 | 39 slave.pcm { |
jpayne@68 | 40 type hw |
jpayne@68 | 41 card $CARD |
jpayne@68 | 42 } |
jpayne@68 | 43 hint.device 0 |
jpayne@68 | 44 } |
jpayne@68 | 45 } |
jpayne@68 | 46 hint { |
jpayne@68 | 47 description "Default Audio Device" |
jpayne@68 | 48 device_output { |
jpayne@68 | 49 @func refer |
jpayne@68 | 50 name defaults.pcm.dmix.device |
jpayne@68 | 51 } |
jpayne@68 | 52 device_input { |
jpayne@68 | 53 @func refer |
jpayne@68 | 54 name defaults.pcm.dsnoop.device |
jpayne@68 | 55 } |
jpayne@68 | 56 } |
jpayne@68 | 57 } |