Oboe
A library for creating real-time audio apps on Android
All Classes Functions Variables Pages
oboe::AudioStreamPresentationCallback Class Reference

#include <AudioStreamCallback.h>

Public Member Functions

virtual void onPresentationEnded (AudioStream *)
 

Detailed Description

AudioStreamPresentationCallback defines a callback interface for being notified when a data presentation event is filed.

It is used with AudioStreamBuilder::setPresentationCallback().

Member Function Documentation

◆ onPresentationEnded()

virtual void oboe::AudioStreamPresentationCallback::onPresentationEnded ( AudioStream * )
inlinevirtual

This will be called when all the buffers of an offloaded stream that were queued in the audio system (e.g. the combination of the Android audio framework and the device's audio hardware) have been played.

Parameters
audioStreampointer to the associated stream

The documentation for this class was generated from the following file: