chromium/third_party/cros_system_api/dbus/audio/dbus-constants.h

// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SYSTEM_API_DBUS_AUDIO_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_AUDIO_DBUS_CONSTANTS_H_

namespace cras {
const char kCrasServicePath[] =;
const char kCrasServiceName[] =;
const char kCrasControlInterface[] =;

// Methods.
const char kSetOutputVolume[] =;
const char kSetOutputNodeVolume[] =;
const char kSwapLeftRight[] =;
const char kSetDisplayRotation[] =;
const char kSetOutputMute[] =;
const char kSetOutputUserMute[] =;
const char kSetSuspendAudio[] =;
const char kSetInputGain[] =;
const char kSetInputNodeGain[] =;
const char kSetInputMute[] =;
const char kGetVolumeState[] =;
const char kGetDefaultOutputBufferSize[] =;
const char kGetNodes[] =;
const char kSetActiveOutputNode[] =;
const char kSetActiveInputNode[] =;
const char kSetHotwordModel[] =;
const char kAddActiveOutputNode[] =;
const char kAddActiveInputNode[] =;
const char kRemoveActiveOutputNode[] =;
const char kRemoveActiveInputNode[] =;
const char kGetNumberOfActiveStreams[] =;
const char kGetNumberOfActiveInputStreams[] =;
const char kGetNumberOfActiveOutputStreams[] =;
const char kGetNumberOfInputStreamsWithPermission[] =;
const char kGetNumberOfNonChromeOutputStreams[] =;
const char kIsAudioOutputActive[] =;
const char kSetGlobalOutputChannelRemix[] =;
const char kGetSystemAecSupported[] =;
const char kGetSystemAecGroupId[] =;
const char kGetSystemNsSupported[] =;
const char kGetSystemAgcSupported[] =;
const char kSetPlayerPlaybackStatus[] =;
const char kSetPlayerIdentity[] =;
const char kSetPlayerPosition[] =;
const char kSetPlayerMetadata[] =;
const char kSetNextHandsfreeProfile[] =;
const char kSetFixA2dpPacketSize[] =;
const char kResendBluetoothBattery[] =;
const char kGetDeprioritizeBtWbsMic[] =;
const char kSetNoiseCancellationEnabled[] =;
const char kIsNoiseCancellationSupported[] =;
const char kSetStyleTransferEnabled[] =;
const char kIsStyleTransferSupported[] =;
const char kSetFlossEnabled[] =;
const char kSetSpeakOnMuteDetection[] =;
const char kSpeakOnMuteDetectionEnabled[] =;
const char kSetForceRespectUiGains[] =;
const char kGetNumStreamIgnoreUiGains[] =;
const char kSetHfpMicSrEnabled[] =;
const char kIsHfpMicSrSupported[] =;
const char kGetNumberOfArcStreams[] =;

// Names of properties returned by GetNodes() and GetNodeInfos()
const char kIsInputProperty[] =;
const char kIdProperty[] =;
const char kTypeProperty[] =;
const char kNameProperty[] =;
const char kDeviceNameProperty[] =;
const char kActiveProperty[] =;
const char kPluggedTimeProperty[] =;
const char kStableDeviceIdProperty[] =;
const char kStableDeviceIdNewProperty[] =;
const char kMaxSupportedChannelsProperty[] =;
const char kAudioEffectProperty[] =;
const char kNodeVolumeProperty[] =;
const char kInputNodeGainProperty[] =;
const char kNumberOfVolumeStepsProperty[] =;
const char kDeviceLastOpenResultProperty[] =;
// The following two properties are optional.
const char kNumberOfUnderrunsProperty[] =;
const char kNumberOfSevereUnderrunsProperty[] =;
enum AudioEffectType {};
// Screen Rotation in clock-wise degrees.
// This enum corresponds to enum Rotation in chromium ui/display/display.h
enum class DisplayRotation {};
// Names of properties returned by
// * method - GetNumberOfInputStreamsWithPermission and
// * signal - NumberOfInputStreamsWithPermissionChanged.
const char kClientType[] =;
const char kNumStreamsWithPermission[] =;

// Signals.
const char kOutputVolumeChanged[] =;
const char kOutputMuteChanged[] =;
const char kOutputNodeVolumeChanged[] =;
const char kNodeLeftRightSwappedChanged[] =;
const char kInputGainChanged[] =;
const char kInputMuteChanged[] =;
const char kInputNodeGainChanged[] =;
const char kNodesChanged[] =;
const char kActiveOutputNodeChanged[] =;
const char kActiveInputNodeChanged[] =;
const char kNumberOfActiveStreamsChanged[] =;
const char kNumberOfInputStreamsWithPermissionChanged[] =;
const char kNumberOfNonChromeOutputStreamsChanged[] =;
const char kAudioOutputActiveStateChanged[] =;
const char kHotwordTriggered[] =;
const char kBluetoothBatteryChanged[] =;
const char kSurveyTrigger[] =;
const char kSpeakOnMuteDetected[] =;
const char kNumStreamIgnoreUiGainsChanged[] =;
const char kNumberOfArcStreamsChanged[] =;
}  // namespace cras

#endif  // SYSTEM_API_DBUS_AUDIO_DBUS_CONSTANTS_H_