{"action":"created","issue":{"url":"https://api.github.com/repos/linuxdeepin/dde-control-center/issues/36","repository_url":"https://api.github.com/repos/linuxdeepin/dde-control-center","labels_url":"https://api.github.com/repos/linuxdeepin/dde-control-center/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/linuxdeepin/dde-control-center/issues/36/comments","events_url":"https://api.github.com/repos/linuxdeepin/dde-control-center/issues/36/events","html_url":"https://github.com/linuxdeepin/dde-control-center/issues/36","id":185374889,"number":36,"title":"auto-switch option for headphone and speaker","user":{"login":"ceyhunnabiyev","id":5506156,"avatar_url":"https://avatars1.githubusercontent.com/u/5506156?v=4","gravatar_id":"","url":"https://api.github.com/users/ceyhunnabiyev","html_url":"https://github.com/ceyhunnabiyev","followers_url":"https://api.github.com/users/ceyhunnabiyev/followers","following_url":"https://api.github.com/users/ceyhunnabiyev/following{/other_user}","gists_url":"https://api.github.com/users/ceyhunnabiyev/gists{/gist_id}","starred_url":"https://api.github.com/users/ceyhunnabiyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceyhunnabiyev/subscriptions","organizations_url":"https://api.github.com/users/ceyhunnabiyev/orgs","repos_url":"https://api.github.com/users/ceyhunnabiyev/repos","events_url":"https://api.github.com/users/ceyhunnabiyev/events{/privacy}","received_events_url":"https://api.github.com/users/ceyhunnabiyev/received_events","type":"User","site_admin":false},"labels":[{"id":64464114,"url":"https://api.github.com/repos/linuxdeepin/dde-control-center/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"jouyouyun","id":1975438,"avatar_url":"https://avatars0.githubusercontent.com/u/1975438?v=4","gravatar_id":"","url":"https://api.github.com/users/jouyouyun","html_url":"https://github.com/jouyouyun","followers_url":"https://api.github.com/users/jouyouyun/followers","following_url":"https://api.github.com/users/jouyouyun/following{/other_user}","gists_url":"https://api.github.com/users/jouyouyun/gists{/gist_id}","starred_url":"https://api.github.com/users/jouyouyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouyouyun/subscriptions","organizations_url":"https://api.github.com/users/jouyouyun/orgs","repos_url":"https://api.github.com/users/jouyouyun/repos","events_url":"https://api.github.com/users/jouyouyun/events{/privacy}","received_events_url":"https://api.github.com/users/jouyouyun/received_events","type":"User","site_admin":false},"assignees":[{"login":"jouyouyun","id":1975438,"avatar_url":"https://avatars0.githubusercontent.com/u/1975438?v=4","gravatar_id":"","url":"https://api.github.com/users/jouyouyun","html_url":"https://github.com/jouyouyun","followers_url":"https://api.github.com/users/jouyouyun/followers","following_url":"https://api.github.com/users/jouyouyun/following{/other_user}","gists_url":"https://api.github.com/users/jouyouyun/gists{/gist_id}","starred_url":"https://api.github.com/users/jouyouyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouyouyun/subscriptions","organizations_url":"https://api.github.com/users/jouyouyun/orgs","repos_url":"https://api.github.com/users/jouyouyun/repos","events_url":"https://api.github.com/users/jouyouyun/events{/privacy}","received_events_url":"https://api.github.com/users/jouyouyun/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-10-26T12:07:30Z","updated_at":"2017-11-20T04:19:41Z","closed_at":null,"author_association":"NONE","body":"When I plug-in headphone  it  doesn't switch playback device to headphone automatically, staying on speakers, doing it only manually . it would be nice  if  auto-switch  option added  for headphone and  speaker. Even   headphone selected or no,  speaker doesn't work..   \n"},"comment":{"url":"https://api.github.com/repos/linuxdeepin/dde-control-center/issues/comments/345587932","html_url":"https://github.com/linuxdeepin/dde-control-center/issues/36#issuecomment-345587932","issue_url":"https://api.github.com/repos/linuxdeepin/dde-control-center/issues/36","id":345587932,"user":{"login":"aiamuzz","id":3283676,"avatar_url":"https://avatars2.githubusercontent.com/u/3283676?v=4","gravatar_id":"","url":"https://api.github.com/users/aiamuzz","html_url":"https://github.com/aiamuzz","followers_url":"https://api.github.com/users/aiamuzz/followers","following_url":"https://api.github.com/users/aiamuzz/following{/other_user}","gists_url":"https://api.github.com/users/aiamuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/aiamuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiamuzz/subscriptions","organizations_url":"https://api.github.com/users/aiamuzz/orgs","repos_url":"https://api.github.com/users/aiamuzz/repos","events_url":"https://api.github.com/users/aiamuzz/events{/privacy}","received_events_url":"https://api.github.com/users/aiamuzz/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T04:19:41Z","updated_at":"2017-11-20T04:19:41Z","author_association":"NONE","body":"sure ...\r\n\r\n```\r\npacmd list-cards\r\n2 card(s) available.\r\n    index: 0\r\n\tname: <alsa_card.pci-0000_00_1b.0>\r\n\tdriver: <module-alsa-card.c>\r\n\towner module: 5\r\n\tproperties:\r\n\t\talsa.card = \"0\"\r\n\t\talsa.card_name = \"HDA Intel PCH\"\r\n\t\talsa.long_card_name = \"HDA Intel PCH at 0xd4730000 irq 41\"\r\n\t\talsa.driver_name = \"snd_hda_intel\"\r\n\t\tdevice.bus_path = \"pci-0000:00:1b.0\"\r\n\t\tsysfs.path = \"/devices/pci0000:00/0000:00:1b.0/sound/card0\"\r\n\t\tdevice.bus = \"pci\"\r\n\t\tdevice.vendor.id = \"8086\"\r\n\t\tdevice.vendor.name = \"Intel Corporation\"\r\n\t\tdevice.product.id = \"1e20\"\r\n\t\tdevice.product.name = \"7 Series/C216 Chipset Family High Definition Audio Controller\"\r\n\t\tdevice.form_factor = \"internal\"\r\n\t\tdevice.string = \"0\"\r\n\t\tdevice.description = \"Built-in Audio\"\r\n\t\tmodule-udev-detect.discovered = \"1\"\r\n\t\tdevice.icon_name = \"audio-card-pci\"\r\n\tprofiles:\r\n\t\tinput:analog-stereo: Analog Stereo Input (priority 60, available: unknown)\r\n\t\toutput:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)\r\n\t\toutput:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)\r\n\t\toutput:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)\r\n\t\toutput:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)\r\n\t\toutput:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)\r\n\t\toutput:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)\r\n\t\toutput:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)\r\n\t\toutput:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)\r\n\t\toutput:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)\r\n\t\toutput:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)\r\n\t\toutput:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)\r\n\t\toutput:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)\r\n\t\toutput:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)\r\n\t\toutput:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)\r\n\t\toff: Off (priority 0, available: unknown)\r\n\tactive profile: <output:analog-stereo+input:analog-stereo>\r\n\tsinks:\r\n\t\talsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo\r\n\tsources:\r\n\t\talsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo\r\n\t\talsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo\r\n\tports:\r\n\t\tanalog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)\r\n\t\t\tproperties:\r\n\t\t\t\tdevice.icon_name = \"audio-input-microphone\"\r\n\t\tanalog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)\r\n\t\t\tproperties:\r\n\t\t\t\tdevice.icon_name = \"audio-input-microphone\"\r\n\t\tanalog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)\r\n\t\t\tproperties:\r\n\t\t\t\t\r\n\t\tanalog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)\r\n\t\t\tproperties:\r\n\t\t\t\t\r\n\t\tanalog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)\r\n\t\t\tproperties:\r\n\t\t\t\tdevice.icon_name = \"audio-speakers\"\r\n\t\tanalog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)\r\n\t\t\tproperties:\r\n\t\t\t\tdevice.icon_name = \"audio-headphones\"\r\n\t\thdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)\r\n\t\t\tproperties:\r\n\t\t\t\tdevice.icon_name = \"video-display\"\r\n\t\thdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)\r\n\t\t\tproperties:\r\n\t\t\t\tdevice.icon_name = \"video-display\"\r\n    index: 5\r\n\tname: <bluez_card.20_17_07_21_12_B3>\r\n\tdriver: <module-bluez5-device.c>\r\n\towner module: 30\r\n\tproperties:\r\n\t\tdevice.description = \"BQ-618\"\r\n\t\tdevice.string = \"20:17:07:21:12:B3\"\r\n\t\tdevice.api = \"bluez\"\r\n\t\tdevice.class = \"sound\"\r\n\t\tdevice.bus = \"bluetooth\"\r\n\t\tdevice.form_factor = \"headset\"\r\n\t\tbluez.path = \"/org/bluez/hci0/dev_20_17_07_21_12_B3\"\r\n\t\tbluez.class = \"0x240404\"\r\n\t\tbluez.alias = \"BQ-618\"\r\n\t\tdevice.icon_name = \"audio-headset-bluetooth\"\r\n\t\tdevice.intended_roles = \"phone\"\r\n\tprofiles:\r\n\t\theadset_head_unit: Headset Head Unit (HSP/HFP) (priority 20, available: unknown)\r\n\t\ta2dp_sink: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)\r\n\t\toff: Off (priority 0, available: yes)\r\n\tactive profile: <off>\r\n\tports:\r\n\t\theadset-output: Headset (priority 0, latency offset 0 usec, available: unknown)\r\n\t\t\tproperties:\r\n\t\t\t\t\r\n\t\theadset-input: Headset (priority 0, latency offset 0 usec, available: unknown)\r\n\t\t\tproperties:\r\n\r\n```"}}
{"actor":{"display_login":"aiamuzz"}}