|
| 1 | +SectionDevice."Headphones" { |
| 2 | + Comment "Headphones / Line Out" |
| 3 | + |
| 4 | + Value { |
| 5 | + PlaybackPriority 200 |
| 6 | + PlaybackPCM "hw:${CardId},0" |
| 7 | + PlaybackMixerElem "Speaker" |
| 8 | + PlaybackVolume "Speaker Playback Volume" |
| 9 | + PlaybackSwitch "Speaker Playback Switch" |
| 10 | + } |
| 11 | +} |
| 12 | + |
| 13 | +SectionDevice."Mic" { |
| 14 | + Comment "Microphone" |
| 15 | + ConflictingDevice [ "Line In" "SPDIF In" "Direct 1" ] |
| 16 | + |
| 17 | + EnableSequence [ |
| 18 | + cset "name='PCM Capture Source' 'External Mic'" |
| 19 | + cset "name='External Mic Capture Switch' on" |
| 20 | + ] |
| 21 | + DisableSequence [ |
| 22 | + cset "name='External Mic Capture Switch' off" |
| 23 | + ] |
| 24 | + |
| 25 | + Value { |
| 26 | + CapturePriority 500 |
| 27 | + CapturePCM "hw:${CardId},0" |
| 28 | + CaptureMixerElem "External Mic" |
| 29 | + CaptureVolume "External Mic Capture Volume" |
| 30 | + CaptureSwitch "External Mic Capture Switch" |
| 31 | + } |
| 32 | +} |
| 33 | + |
| 34 | +SectionDevice."Line In" { |
| 35 | + Comment "Line In (Analog)" |
| 36 | + ConflictingDevice [ "Mic" "SPDIF In" "Direct 1" ] |
| 37 | + |
| 38 | + EnableSequence [ |
| 39 | + cset "name='PCM Capture Source' 'Line In'" |
| 40 | + cset "name='Line In Capture Switch' on" |
| 41 | + ] |
| 42 | + DisableSequence [ |
| 43 | + cset "name='Line In Capture Switch' off" |
| 44 | + ] |
| 45 | + |
| 46 | + Value { |
| 47 | + CapturePriority 400 |
| 48 | + CapturePCM "hw:${CardId},0" |
| 49 | + CaptureMixerElem "Line In" |
| 50 | + CaptureVolume "Line In Capture Volume" |
| 51 | + CaptureSwitch "Line In Capture Switch" |
| 52 | + } |
| 53 | +} |
| 54 | + |
| 55 | +SectionDevice."SPDIF In" { |
| 56 | + Comment "S/PDIF Input" |
| 57 | + ConflictingDevice [ "Mic" "Line In" "Direct 1" ] |
| 58 | + |
| 59 | + EnableSequence [ |
| 60 | + cset "name='PCM Capture Source' 'S/PDIF In'" |
| 61 | + cset "name='S/PDIF In Capture Switch' on" |
| 62 | + ] |
| 63 | + DisableSequence [ |
| 64 | + cset "name='S/PDIF In Capture Switch' off" |
| 65 | + ] |
| 66 | + |
| 67 | + Value { |
| 68 | + CapturePriority 300 |
| 69 | + CapturePCM "hw:${CardId},0" |
| 70 | + CaptureMixerElem "S/PDIF In" |
| 71 | + CaptureVolume "S/PDIF In Capture Volume" |
| 72 | + CaptureSwitch "S/PDIF In Capture Switch" |
| 73 | + } |
| 74 | +} |
| 75 | + |
| 76 | +SectionDevice."Direct 1" { |
| 77 | + Comment "Loopback" |
| 78 | + ConflictingDevice [ "Mic" "Line In" "SPDIF In" ] |
| 79 | + |
| 80 | + EnableSequence [ |
| 81 | + cset "name='PCM Capture Source' 'What U Hear'" |
| 82 | + cset "name='What U Hear Capture Switch' on" |
| 83 | + ] |
| 84 | + DisableSequence [ |
| 85 | + cset "name='What U Hear Capture Switch' off" |
| 86 | + ] |
| 87 | + |
| 88 | + Value { |
| 89 | + CapturePriority 200 |
| 90 | + CapturePCM "hw:${CardId},0" |
| 91 | + CaptureMixerElem "What U Hear" |
| 92 | + CaptureVolume "What U Hear Capture Volume" |
| 93 | + CaptureSwitch "What U Hear Capture Switch" |
| 94 | + } |
| 95 | +} |
0 commit comments