Package com.google.android.exoplayer2

## Interface ExoPlayer.AudioComponent

- All Known Implementing Classes:
    `SimpleExoPlayer`
  Enclosing interface:
    ExoPlayer

      @Deprecated
      public static interface ExoPlayer.AudioComponent

  Deprecated.
  Use `ExoPlayer`, as the `ExoPlayer.AudioComponent` methods are defined by that interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `clearAuxEffectInfo()` | Deprecated. Use `ExoPlayer.clearAuxEffectInfo()` instead.
    `AudioAttributes` | `getAudioAttributes()` | Deprecated. Use `Player.getAudioAttributes()` instead.
    `int` | `getAudioSessionId()` | Deprecated. Use `ExoPlayer.getAudioSessionId()` instead.
    `boolean` | `getSkipSilenceEnabled()` | Deprecated. Use `ExoPlayer.getSkipSilenceEnabled()` instead.
    `float` | `getVolume()` | Deprecated. Use `Player.getVolume()` instead.
    `void` | `setAudioAttributes​(AudioAttributes audioAttributes, boolean handleAudioFocus)` | Deprecated. Use `ExoPlayer.setAudioAttributes(AudioAttributes, boolean)` instead.
    `void` | `setAudioSessionId​(int audioSessionId)` | Deprecated. Use `ExoPlayer.setAudioSessionId(int)` instead.
    `void` | `setAuxEffectInfo​(AuxEffectInfo auxEffectInfo)` | Deprecated. Use `ExoPlayer.setAuxEffectInfo(AuxEffectInfo)` instead.
    `void` | `setSkipSilenceEnabled​(boolean skipSilenceEnabled)` | Deprecated. Use `ExoPlayer.setSkipSilenceEnabled(boolean)` instead.
    `void` | `setVolume​(float audioVolume)` | Deprecated. Use `Player.setVolume(float)` instead.

- - ### Method Detail

    - #### setAudioAttributes

          @Deprecated
          void setAudioAttributes​(AudioAttributes audioAttributes,
                                  boolean handleAudioFocus)

      Deprecated.
      Use `ExoPlayer.setAudioAttributes(AudioAttributes, boolean)` instead.

    - #### getAudioAttributes

          @Deprecated
          AudioAttributes getAudioAttributes()

      Deprecated.
      Use `Player.getAudioAttributes()` instead.

    - #### setAudioSessionId

          @Deprecated
          void setAudioSessionId​(int audioSessionId)

      Deprecated.
      Use `ExoPlayer.setAudioSessionId(int)` instead.

    - #### getAudioSessionId

          @Deprecated
          int getAudioSessionId()

      Deprecated.
      Use `ExoPlayer.getAudioSessionId()` instead.

    - #### setAuxEffectInfo

          @Deprecated
          void setAuxEffectInfo​(AuxEffectInfo auxEffectInfo)

      Deprecated.
      Use `ExoPlayer.setAuxEffectInfo(AuxEffectInfo)` instead.

    - #### clearAuxEffectInfo

          @Deprecated
          void clearAuxEffectInfo()

      Deprecated.
      Use `ExoPlayer.clearAuxEffectInfo()` instead.

    - #### setVolume

          @Deprecated
          void setVolume​(float audioVolume)

      Deprecated.
      Use `Player.setVolume(float)` instead.

    - #### getVolume

          @Deprecated
          float getVolume()

      Deprecated.
      Use `Player.getVolume()` instead.

    - #### setSkipSilenceEnabled

          @Deprecated
          void setSkipSilenceEnabled​(boolean skipSilenceEnabled)

      Deprecated.
      Use `ExoPlayer.setSkipSilenceEnabled(boolean)` instead.

    - #### getSkipSilenceEnabled

          @Deprecated
          boolean getSkipSilenceEnabled()

      Deprecated.
      Use `ExoPlayer.getSkipSilenceEnabled()` instead.