Skip to content

Instantly share code, notes, and snippets.

@divx118
Created April 10, 2014 16:23
Show Gist options
  • Save divx118/10399221 to your computer and use it in GitHub Desktop.
Save divx118/10399221 to your computer and use it in GitHub Desktop.
audio cracking
chronos@localhost / $ cras_test_client --dump_server_info
System Volume (0-100): 100
Capture Gain (-17.25 - 30.00): 20.00dB
Output Devices:
ID Name
6 HDA Intel PCH: ALC283 Analog:1,0
5 HDA Intel MID: HDMI 2:0,8
4 HDA Intel MID: HDMI 1:0,7
3 HDA Intel MID: HDMI 0:0,3
1 Silent playback device.
Output Nodes:
ID Prio Vol Plugged Time Type Name
6:0 3 36 no 1397063301 HEADPHONE Headphone
6:1 1 72 yes 1397061021 INTERNAL_SPEAKER*Speaker
5:0 2 100 no 0 HDMI HDMI/DP,pcm=8 Jack
4:0 2 100 no 0 HDMI HDMI/DP,pcm=7 Jack
3:0 2 100 no 0 HDMI HDMI/DP,pcm=3 Jack
3:1 2 100 no 0 HDMI HDMI
1:0 0 100 no 0 UNKNOWN (default)
Input Devices:
ID Name
7 HDA Intel PCH: ALC283 Analog:1,0
2 Silent record device.
Input Nodes:
ID Prio Gain Plugged Time Type Name
7:0 3 0 no 0 MIC Mic Jack
7:1 1 0 yes 1397061021 INTERNAL_MIC *Internal Mic
2:0 0 0 no 0 UNKNOWN (default)
Selected Output Node: 6:1
Selected Input Node: 7:1
Attached clients:
ID pid uid
57 31543 1000
58 31686 1000
59 31686 1000
Num active streams: 1
Last audio active time: 12196, 359368133
chronos@localhost / $ amixer -D hw:0
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
chronos@localhost / $ cras_test_client --dump_server_info
System Volume (0-100): 100
Capture Gain (-17.25 - 30.00): 20.00dB
Output Devices:
ID Name
6 HDA Intel PCH: ALC283 Analog:1,0
5 HDA Intel MID: HDMI 2:0,8
4 HDA Intel MID: HDMI 1:0,7
3 HDA Intel MID: HDMI 0:0,3
1 Silent playback device.
Output Nodes:
ID Prio Vol Plugged Time Type Name
6:0 3 36 no 1397063301 HEADPHONE Headphone
6:1 1 72 yes 1397061021 INTERNAL_SPEAKER*Speaker
5:0 2 100 no 0 HDMI HDMI/DP,pcm=8 Jack
4:0 2 100 no 0 HDMI HDMI/DP,pcm=7 Jack
3:0 2 100 no 0 HDMI HDMI/DP,pcm=3 Jack
3:1 2 100 no 0 HDMI HDMI
1:0 0 100 no 0 UNKNOWN (default)
Input Devices:
ID Name
7 HDA Intel PCH: ALC283 Analog:1,0
2 Silent record device.
Input Nodes:
ID Prio Gain Plugged Time Type Name
7:0 3 0 no 0 MIC Mic Jack
7:1 1 0 yes 1397061021 INTERNAL_MIC *Internal Mic
2:0 0 0 no 0 UNKNOWN (default)
Selected Output Node: 6:1
Selected Input Node: 7:1
Attached clients:
ID pid uid
50 2135 1000
51 2135 1000
53 31149 1000
Num active streams: 2
Last audio active time: 12026, 879302569
chronos@localhost / $ amixer -D hw:0
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
chronos@localhost / $ cras_test_client --dump_server_info
System Volume (0-100): 100
Capture Gain (-17.25 - 30.00): 20.00dB
Output Devices:
ID Name
6 HDA Intel PCH: ALC283 Analog:1,0
5 HDA Intel MID: HDMI 2:0,8
4 HDA Intel MID: HDMI 1:0,7
3 HDA Intel MID: HDMI 0:0,3
1 Silent playback device.
Output Nodes:
ID Prio Vol Plugged Time Type Name
6:0 3 36 no 1397063301 HEADPHONE Headphone
6:1 1 72 yes 1397061021 INTERNAL_SPEAKER*Speaker
5:0 2 100 no 0 HDMI HDMI/DP,pcm=8 Jack
4:0 2 100 no 0 HDMI HDMI/DP,pcm=7 Jack
3:0 2 100 no 0 HDMI HDMI/DP,pcm=3 Jack
3:1 2 100 no 0 HDMI HDMI
1:0 0 100 no 0 UNKNOWN (default)
Input Devices:
ID Name
7 HDA Intel PCH: ALC283 Analog:1,0
2 Silent record device.
Input Nodes:
ID Prio Gain Plugged Time Type Name
7:0 3 0 no 0 MIC Mic Jack
7:1 1 0 yes 1397061021 INTERNAL_MIC *Internal Mic
2:0 0 0 no 0 UNKNOWN (default)
Selected Output Node: 6:1
Selected Input Node: 7:1
Attached clients:
ID pid uid
67 32193 1000
68 2135 1000
70 32637 1000
Num active streams: 2
Last audio active time: 12359, 255441638
chronos@localhost / $ amixer -D hw:0
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment