Commit 1cfde16e by yschimke Committed by tonihei

Make AudioTrackBufferSizeProvider public.

Was getting "java.lang.IllegalAccessError: Illegal class access" in debug app.

PiperOrigin-RevId: 465562541
parent 16a32521
......@@ -12,9 +12,10 @@
* Limit parallel download removals to 1 to avoid excessive thread creation
([#10458](https://github.com/google/ExoPlayer/issues/10458)).
* Audio:
* Adds AudioOffloadListener.onExperimentalOffloadedPlayback for the
* Adds `AudioOffloadListener.onExperimentalOffloadedPlayback` for the
AudioTrack offload state.
([#134](https://github.com/androidx/media/issues/134)).
* Make `AudioTrackBufferSizeProvider` a public interface.
* Metadata:
* `MetadataRenderer` can now be configured to render metadata as soon as
they are available. Create an instance with
......
......@@ -234,7 +234,7 @@ public final class DefaultAudioSink implements AudioSink {
}
/** Provides the buffer size to use when creating an {@link AudioTrack}. */
interface AudioTrackBufferSizeProvider {
public interface AudioTrackBufferSizeProvider {
/** Default instance. */
AudioTrackBufferSizeProvider DEFAULT =
new DefaultAudioTrackBufferSizeProvider.Builder().build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment