Oboe
A library for creating real-time audio apps on Android
Loading...
Searching...
No Matches
oboe::AudioStreamRoutingCallback Class Reference

#include <AudioStreamCallback.h>

Public Member Functions

virtual void onRoutingChanged (AudioStream *, const int32_t *, int32_t)
 

Detailed Description

AudioStreamRoutingCallback defines a callback interface for being notified when the routed devices of a stream are changed.

It is used with AudioStreamBuilder::setRoutingCallback().

Member Function Documentation

◆ onRoutingChanged()

virtual void oboe::AudioStreamRoutingCallback::onRoutingChanged ( AudioStream * ,
const int32_t * ,
int32_t  )
inlinevirtual

This will be called when the routed devices of the stream are changed.

Parameters
audioStreampointer to the associated stream
deviceIdsa pointer to a list of current routed device ids.
numDevicesthe number of current routed devices.

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