Class LibopusAudioRenderer

    • Constructor Detail

      • LibopusAudioRenderer

        public LibopusAudioRenderer()
      • LibopusAudioRenderer

        public LibopusAudioRenderer​(@Nullable
                                    Handler eventHandler,
                                    @Nullable
                                    AudioRendererEventListener eventListener,
                                    AudioProcessor... audioProcessors)
        Creates a new instance.
        Parameters:
        eventHandler - A handler to use when delivering events to eventListener. May be null if delivery of events is not required.
        eventListener - A listener of events. May be null if delivery of events is not required.
        audioProcessors - Optional AudioProcessors that will process audio before output.
      • LibopusAudioRenderer

        public LibopusAudioRenderer​(@Nullable
                                    Handler eventHandler,
                                    @Nullable
                                    AudioRendererEventListener eventListener,
                                    AudioSink audioSink)
        Creates a new instance.
        Parameters:
        eventHandler - A handler to use when delivering events to eventListener. May be null if delivery of events is not required.
        eventListener - A listener of events. May be null if delivery of events is not required.
        audioSink - The sink to which audio will be output.