Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fd5bc2d authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Audio V4: Remove deprecated function and enum



The debugDump function was deprecated by the introduction of the
debug method in the IBase.

AudioMode CURRENT and INVALID should not be passed to the
vendor.

Bug: 38184704
Test: none
Change-Id: I0e14c71ce7216524587a6ba28cae0cdb821bae23
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
parent 79c57408
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -254,16 +254,4 @@ interface IDevice {
     */
    setParameters(vec<ParameterValue> context, vec<ParameterValue> parameters)
            generates (Result retval);

    /**
     * Dumps information about the device into the provided file descriptor.
     * This is used for the dumpsys facility.
     * The implementation should not block as the caller might have time
     * constraint on the dump.
     * A back to back dump of all HAL Device and Stream should take under 100ms.
     *
     * @param fd dump file descriptor.
     * @return retval operation completion status: OK or NOT_SUPPORTED.
     */
    debugDump(handle fd) generates (Result retval);
};
+0 −12
Original line number Diff line number Diff line
@@ -258,18 +258,6 @@ interface IStream {
    setParameters(vec<ParameterValue> context, vec<ParameterValue> parameters)
            generates (Result retval);

    /**
     * Dumps information about the stream into the provided file descriptor.
     * This is used for the dumpsys facility.
     * The implementation should not block as the caller might have time
     * constraint on the dump.
     * A back to back dump of all HAL Device and Stream should take under 100ms.
     *
     * @param fd dump file descriptor.
     * @return retval operation completion status: OK or NOT_SUPPORTED.
     */
    debugDump(handle fd) generates (Result retval);

    /**
     * Called by the framework to start a stream operating in mmap mode.
     * createMmapBuffer() must be called before calling start().
+0 −2
Original line number Diff line number Diff line
@@ -493,8 +493,6 @@ enum AudioInterleave : int32_t {
 */
@export(name="audio_mode_t", value_prefix="AUDIO_MODE_")
enum AudioMode : int32_t {
    INVALID          = -2,
    CURRENT          = -1,
    NORMAL           = 0,
    RINGTONE         = 1,
    IN_CALL          = 2,
+0 −12
Original line number Diff line number Diff line
@@ -55,16 +55,4 @@ interface IEffectsFactory {
     */
    createEffect(Uuid uid, AudioSession session, AudioIoHandle ioHandle)
        generates (Result retval, IEffect result, uint64_t effectId);

    /**
     * Dumps information about effects into the provided file descriptor.
     * This is used for the dumpsys facility.
     * The implementation should not block as the caller might have time
     * constraint on the dump.
     * A back to back dump of all HAL Device and Stream should take under 100ms.
     *
     * @param fd dump file descriptor.
     * @return retval operation completion status: OK or NOT_SUPPORTED.
     */
    debugDump(handle fd) generates (Result retval);
};