Arduino A2DP
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
BluetoothA2DPOutputPrint Class Reference

Output Class using Print API: More...

#include <BluetoothA2DPOutput.h>

Inheritance diagram for BluetoothA2DPOutputPrint:
BluetoothA2DPOutput

Public Member Functions

bool begin ()
 
void end () override
 
 operator bool ()
 
virtual void set_output (audio_tools::AudioOutput &output)
 Not implemented.
 
virtual void set_output (audio_tools::AudioStream &output)
 Not implemented.
 
void set_output (Print &output)
 Output to Arduino Print.
 
void set_output_active (bool active) override
 
void set_sample_rate (int rate) override
 
size_t write (const uint8_t *data, size_t len) override
 

Protected Attributes

Print * p_print = nullptr
 

Detailed Description

Output Class using Print API:

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

bool BluetoothA2DPOutputPrint::begin ( )
inlinevirtual

Implements BluetoothA2DPOutput.

◆ end()

void BluetoothA2DPOutputPrint::end ( )
inlineoverridevirtual

Implements BluetoothA2DPOutput.

◆ set_output() [1/3]

virtual void BluetoothA2DPOutput::set_output ( audio_tools::AudioOutput &  output)
inlinevirtualinherited

Not implemented.

Reimplemented in BluetoothA2DPOutputAudioTools, and BluetoothA2DPOutputDefault.

◆ set_output() [2/3]

virtual void BluetoothA2DPOutput::set_output ( audio_tools::AudioStream &  output)
inlinevirtualinherited

Not implemented.

Reimplemented in BluetoothA2DPOutputAudioTools, and BluetoothA2DPOutputDefault.

◆ set_output() [3/3]

void BluetoothA2DPOutputPrint::set_output ( Print &  output)
inlinevirtual

Output to Arduino Print.

Reimplemented from BluetoothA2DPOutput.

◆ set_output_active()

void BluetoothA2DPOutputPrint::set_output_active ( bool  active)
inlineoverridevirtual

Implements BluetoothA2DPOutput.

◆ set_sample_rate()

void BluetoothA2DPOutputPrint::set_sample_rate ( int  rate)
inlineoverridevirtual

Implements BluetoothA2DPOutput.

◆ write()

size_t BluetoothA2DPOutputPrint::write ( const uint8_t *  data,
size_t  len 
)
inlineoverridevirtual

Implements BluetoothA2DPOutput.


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