arduino-audio-tools
Loading...
Searching...
No Matches
Public Attributes | List of all members
A2DPConfig Class Reference

Configuration for A2DPStream. More...

#include <A2DPStream.h>

Public Attributes

bool auto_reconnect = false
 automatically reconnect if connection is lost (default false)
 
int buffer_size = A2DP_BUFFER_SIZE * A2DP_BUFFER_COUNT
 
int delay_ms = 1
 Delay in ms which is added to each write (default 1)
 
RxTxMode mode = RX_MODE
 Mode: TX_MODE or RX_MODE (default RX_MODE)
 
const charname = "A2DP"
 A2DP name (default A2DP)
 
bool silence_on_nodata = false
 when a2dp source is active but has no data we generate silence data (default false)
 
A2DPStartLogic startup_logic = StartWhenBufferFull
 Logic when the processing is activated (default StartWhenBufferFull)
 
A2DPNoData startup_nodata = A2DPSilence
 Action when a2dp is not active yet (default A2DPSilence)
 
int tx_write_timeout_ms = -1
 write timeout in ms: -1 is blocking write (default -1)
 
bool wait_for_connection =true
 begin should wait for connection to be established (default true)
 

Detailed Description

Configuration for A2DPStream.

Author
Phil Schatzmann

Member Data Documentation

◆ auto_reconnect

bool auto_reconnect = false

automatically reconnect if connection is lost (default false)

◆ buffer_size

◆ delay_ms

int delay_ms = 1

Delay in ms which is added to each write (default 1)

◆ mode

RxTxMode mode = RX_MODE

Mode: TX_MODE or RX_MODE (default RX_MODE)

◆ name

const char* name = "A2DP"

A2DP name (default A2DP)

◆ silence_on_nodata

bool silence_on_nodata = false

when a2dp source is active but has no data we generate silence data (default false)

◆ startup_logic

Logic when the processing is activated (default StartWhenBufferFull)

◆ startup_nodata

A2DPNoData startup_nodata = A2DPSilence

Action when a2dp is not active yet (default A2DPSilence)

◆ tx_write_timeout_ms

int tx_write_timeout_ms = -1

write timeout in ms: -1 is blocking write (default -1)

◆ wait_for_connection

bool wait_for_connection =true

begin should wait for connection to be established (default true)


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