Lines Matching full:cras
5 """This module provides cras audio utilities."""
121 """Gets a command to query the nodes from Cras.
123 @returns: The command to query nodes information from Cras using dbus-send.
127 '--dest=org.chromium.cras /org/chromium/cras '
128 'org.chromium.cras.Control.GetNodes')
160 """Gets Cras DBus control interface.
165 @returns: A dBus.Interface object with Cras Control interface.
178 cras_object = bus.get_object('org.chromium.cras', '/org/chromium/cras')
179 return dbus.Interface(cras_object, 'org.chromium.cras.Control')
183 """Gets nodes information from Cras.
195 field is a list of selected node IDs returned from Cras DBus API.
257 Since Cras only reports the plugged node in GetNodes, we can
278 # Cras node types reported from Cras DBus control API.
344 Cras DBus API only reports plugged node, so every node reported by Cras
348 Cras will ignore unknown nodes.
378 Note that Chrome UI uses SetActiveOutputNode of Cras DBus API
395 Note that Chrome UI uses SetActiveInputNode of Cras DBus API
412 Note that Chrome UI uses SetActiveOutputNode of Cras DBus API
432 Note that Chrome UI uses SetActiveInputNode of Cras DBus API