Loading audio/2.0/IDevicesFactory.hal +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ import IDevice; interface IDevicesFactory { typedef android.hardware.audio@2.0::Result Result; enum Device { enum Device : int32_t { PRIMARY, A2DP, USB, Loading audio/2.0/IPrimaryDevice.hal +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ interface IPrimaryDevice extends IDevice { */ setBtScoWidebandEnabled(bool enabled) generates (Result retval); enum TtyMode { enum TtyMode : int32_t { OFF, VCO, HCO, Loading audio/2.0/types.hal +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ package android.hardware.audio@2.0; import android.hardware.audio.common@2.0; enum Result { enum Result : int32_t { OK, NOT_INITIALIZED, INVALID_ARGUMENTS, Loading @@ -27,7 +27,7 @@ enum Result { }; @export(name="audio_drain_type_t", value_prefix="AUDIO_DRAIN_") enum AudioDrain { enum AudioDrain : int32_t { /* drain() returns when all data has been played. */ ALL, /* drain() returns a short time before all data from the current track has Loading audio/common/2.0/types.hal +10 −10 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ typedef uint32_t AudioHwSync; * Each port has a unique ID or handle allocated by policy manager. */ @export(name="") enum AudioHandleConsts { enum AudioHandleConsts : int32_t { AUDIO_IO_HANDLE_NONE = 0, AUDIO_MODULE_HANDLE_NONE = 0, AUDIO_PORT_HANDLE_NONE = 0, Loading Loading @@ -114,7 +114,7 @@ enum AudioStreamType : int32_t { }; @export(name="audio_source_t", value_prefix="AUDIO_SOURCE_") enum AudioSource { enum AudioSource : int32_t { // These values must kept in sync with // frameworks/base/media/java/android/media/MediaRecorder.java, // frameworks/av/services/audiopolicy/AudioPolicyService.cpp, Loading Loading @@ -269,7 +269,7 @@ enum AudioFormat : uint32_t { * assumptions. */ @export(name="") enum FixedChannelCount { enum FixedChannelCount : int32_t { FCC_2 = 2, // This is typically due to legacy implementation of stereo I/O FCC_8 = 8 // This is typically due to audio mixer and resampler limitations }; Loading Loading @@ -425,7 +425,7 @@ enum AudioChannelMask : uint32_t { * to this convention will be noted at the appropriate API. */ @export(name="", value_prefix="AUDIO_INTERLEAVE_") enum AudioInterleave { enum AudioInterleave : int32_t { LEFT = 0, RIGHT = 1, }; Loading @@ -435,7 +435,7 @@ enum AudioInterleave { * routing. */ @export(name="audio_mode_t", value_prefix="AUDIO_MODE_") enum AudioMode { enum AudioMode : int32_t { INVALID = -2, CURRENT = -1, NORMAL = 0, Loading Loading @@ -597,7 +597,7 @@ enum AudioDevice : uint32_t { * (when getOuput() is called) to an available output stream. */ @export(name="audio_output_flags_t", value_prefix="AUDIO_OUTPUT_FLAG_") enum AudioOutputFlag { enum AudioOutputFlag : int32_t { NONE = 0x0, // no attributes DIRECT = 0x1, // this output directly connects a track // to one output stream: no software mixer Loading Loading @@ -627,7 +627,7 @@ enum AudioOutputFlag { * attributes corresponding to the specified flags. */ @export(name="audio_input_flags_t", value_prefix="AUDIO_INPUT_FLAG_") enum AudioInputFlag { enum AudioInputFlag : int32_t { NONE = 0x0, // no attributes FAST = 0x1, // prefer an input that supports "fast tracks" HW_HOTWORD = 0x2, // prefer an input that captures from hw hotword source Loading Loading @@ -728,7 +728,7 @@ struct AudioGainConfig { /* Audio port role: either source or sink */ @export(name="audio_port_role_t", value_prefix="AUDIO_PORT_ROLE_") enum AudioPortRole { enum AudioPortRole : int32_t { NONE, SOURCE, SINK, Loading @@ -739,7 +739,7 @@ enum AudioPortRole { * PlaybackThread output) or a physical device (e.g OUT_SPEAKER) */ @export(name="audio_port_type_t", value_prefix="AUDIO_PORT_TYPE_") enum AudioPortType { enum AudioPortType : int32_t { NONE, DEVICE, MIX, Loading Loading @@ -816,7 +816,7 @@ struct AudioPortDeviceExt { * Latency class of the audio mix. */ @export(name="audio_mix_latency_class_t", value_prefix="AUDIO_LATENCY_") enum AudioMixLatencyClass { enum AudioMixLatencyClass : int32_t { LOW, NORMAL } ; Loading audio/effect/2.0/IDownmixEffect.hal +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ import android.hardware.audio.common@2.0; import IEffect; interface IDownmixEffect extends IEffect { enum Type { enum Type : int32_t { STRIP, // throw away the extra channels FOLD // mix the extra channels with FL/FR }; Loading Loading
audio/2.0/IDevicesFactory.hal +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ import IDevice; interface IDevicesFactory { typedef android.hardware.audio@2.0::Result Result; enum Device { enum Device : int32_t { PRIMARY, A2DP, USB, Loading
audio/2.0/IPrimaryDevice.hal +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ interface IPrimaryDevice extends IDevice { */ setBtScoWidebandEnabled(bool enabled) generates (Result retval); enum TtyMode { enum TtyMode : int32_t { OFF, VCO, HCO, Loading
audio/2.0/types.hal +2 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ package android.hardware.audio@2.0; import android.hardware.audio.common@2.0; enum Result { enum Result : int32_t { OK, NOT_INITIALIZED, INVALID_ARGUMENTS, Loading @@ -27,7 +27,7 @@ enum Result { }; @export(name="audio_drain_type_t", value_prefix="AUDIO_DRAIN_") enum AudioDrain { enum AudioDrain : int32_t { /* drain() returns when all data has been played. */ ALL, /* drain() returns a short time before all data from the current track has Loading
audio/common/2.0/types.hal +10 −10 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ typedef uint32_t AudioHwSync; * Each port has a unique ID or handle allocated by policy manager. */ @export(name="") enum AudioHandleConsts { enum AudioHandleConsts : int32_t { AUDIO_IO_HANDLE_NONE = 0, AUDIO_MODULE_HANDLE_NONE = 0, AUDIO_PORT_HANDLE_NONE = 0, Loading Loading @@ -114,7 +114,7 @@ enum AudioStreamType : int32_t { }; @export(name="audio_source_t", value_prefix="AUDIO_SOURCE_") enum AudioSource { enum AudioSource : int32_t { // These values must kept in sync with // frameworks/base/media/java/android/media/MediaRecorder.java, // frameworks/av/services/audiopolicy/AudioPolicyService.cpp, Loading Loading @@ -269,7 +269,7 @@ enum AudioFormat : uint32_t { * assumptions. */ @export(name="") enum FixedChannelCount { enum FixedChannelCount : int32_t { FCC_2 = 2, // This is typically due to legacy implementation of stereo I/O FCC_8 = 8 // This is typically due to audio mixer and resampler limitations }; Loading Loading @@ -425,7 +425,7 @@ enum AudioChannelMask : uint32_t { * to this convention will be noted at the appropriate API. */ @export(name="", value_prefix="AUDIO_INTERLEAVE_") enum AudioInterleave { enum AudioInterleave : int32_t { LEFT = 0, RIGHT = 1, }; Loading @@ -435,7 +435,7 @@ enum AudioInterleave { * routing. */ @export(name="audio_mode_t", value_prefix="AUDIO_MODE_") enum AudioMode { enum AudioMode : int32_t { INVALID = -2, CURRENT = -1, NORMAL = 0, Loading Loading @@ -597,7 +597,7 @@ enum AudioDevice : uint32_t { * (when getOuput() is called) to an available output stream. */ @export(name="audio_output_flags_t", value_prefix="AUDIO_OUTPUT_FLAG_") enum AudioOutputFlag { enum AudioOutputFlag : int32_t { NONE = 0x0, // no attributes DIRECT = 0x1, // this output directly connects a track // to one output stream: no software mixer Loading Loading @@ -627,7 +627,7 @@ enum AudioOutputFlag { * attributes corresponding to the specified flags. */ @export(name="audio_input_flags_t", value_prefix="AUDIO_INPUT_FLAG_") enum AudioInputFlag { enum AudioInputFlag : int32_t { NONE = 0x0, // no attributes FAST = 0x1, // prefer an input that supports "fast tracks" HW_HOTWORD = 0x2, // prefer an input that captures from hw hotword source Loading Loading @@ -728,7 +728,7 @@ struct AudioGainConfig { /* Audio port role: either source or sink */ @export(name="audio_port_role_t", value_prefix="AUDIO_PORT_ROLE_") enum AudioPortRole { enum AudioPortRole : int32_t { NONE, SOURCE, SINK, Loading @@ -739,7 +739,7 @@ enum AudioPortRole { * PlaybackThread output) or a physical device (e.g OUT_SPEAKER) */ @export(name="audio_port_type_t", value_prefix="AUDIO_PORT_TYPE_") enum AudioPortType { enum AudioPortType : int32_t { NONE, DEVICE, MIX, Loading Loading @@ -816,7 +816,7 @@ struct AudioPortDeviceExt { * Latency class of the audio mix. */ @export(name="audio_mix_latency_class_t", value_prefix="AUDIO_LATENCY_") enum AudioMixLatencyClass { enum AudioMixLatencyClass : int32_t { LOW, NORMAL } ; Loading
audio/effect/2.0/IDownmixEffect.hal +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ import android.hardware.audio.common@2.0; import IEffect; interface IDownmixEffect extends IEffect { enum Type { enum Type : int32_t { STRIP, // throw away the extra channels FOLD // mix the extra channels with FL/FR }; Loading