summaryrefslogtreecommitdiffstats
path: root/conf.d/project/asoundrc-fulup4a
blob: d500f5a16af594e8093258586d413f7344049846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#AGL Audio High Level ALSA configuration
#This define 2 sounds card with 8 audio roles each
#The alsa soft volume control name must match with the HAL Control Name

pcm.SoftMixer { 
    type dmix            
    slave {pcm "hw:v1340"}  #Jabra Solmate 1
    ipc_key 1001          # ipc_key should be unique to each dmix
} 

# -----------------------------------------------------
#  Register ControllerHookPlugin (ToiBeFix fullpath)
# -----------------------------------------------------
pcm_hook_type.CtlHookPlugin {
    install "AlsaInstallHook" 
    lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/alsa-hook/policy_alsa_hook.so"
}

pcm.Entertainment_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Entertainment_Volume"
 }
}

pcm.Guidance_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Guidance_Volume"
 }
}

pcm.Communications_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Communications_Volume"
 }
}

pcm.Notification_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Notification_Volume"
 }
}

pcm.Warning_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Warning_Volume"
 }
}

pcm.System_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "System_Volume"
 }
}

pcm.Startup_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Startup_Volume"
 }
}

pcm.Shutdown_Main {
 type softvol
 slave.pcm "SoftMixer"
 control{
   name "Shutdown_Volume"
 }
}