Configuration for AudioKitStream: we use as subclass of I2SConfig.
More...
#include <AudioKit.h>
|
| void | setupI2SPins (RxTxMode rxtx_mode) |
| | Defines the pins based on the information provided by the AudioKit project.
|
| |
| audio_hal_iface_bits_t | toBits () |
| |
| audio_hal_codec_mode_t | toCodecMode () |
| | Convert to audio_hal_codec_mode_t.
|
| |
| audio_hal_iface_format_t | toFormat () |
| | Convert to audio_hal_iface_format_t.
|
| |
| audio_hal_iface_mode_t | toMode () |
| |
| audio_hal_iface_samples_t | toSampleRate () |
| | Convert to audio_hal_iface_samples_t.
|
| |
Configuration for AudioKitStream: we use as subclass of I2SConfig.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ AudioKitStreamConfig()
◆ clear()
◆ copyFrom()
◆ equals()
Returns true if alt values are the same like the current values.
◆ equalsExSampleRate()
Checks if only the sample rate is different.
◆ logInfo()
| void logInfo |
( |
const char * |
source = "" | ) |
|
|
inlinevirtualinherited |
◆ operator bool()
Returns true if all components are defined (no component is 0)
◆ operator!=()
Returns true if alt values are the different from the current values.
◆ operator==()
Returns true if alt values are the same like the current values.
◆ set()
Copies the values from info.
◆ setAudioInfo()
◆ setupI2SPins()
Defines the pins based on the information provided by the AudioKit project.
◆ toAudioKitConfig()
| AudioKitConfig toAudioKitConfig |
( |
| ) |
|
|
inline |
convert to config object needed by HAL
◆ toBits()
| audio_hal_iface_bits_t toBits |
( |
| ) |
|
|
inlineprotected |
◆ toCodecMode()
| audio_hal_codec_mode_t toCodecMode |
( |
| ) |
|
|
inlineprotected |
Convert to audio_hal_codec_mode_t.
◆ toFormat()
| audio_hal_iface_format_t toFormat |
( |
| ) |
|
|
inlineprotected |
Convert to audio_hal_iface_format_t.
◆ toMode()
| audio_hal_iface_mode_t toMode |
( |
| ) |
|
|
inlineprotected |
Determine if ESP32 is master or slave - this is just the oposite of the HAL device
◆ toSampleRate()
| audio_hal_iface_samples_t toSampleRate |
( |
| ) |
|
|
inlineprotected |
Convert to audio_hal_iface_samples_t.
◆ AudioKitStream
◆ audiokit_config
| AudioKitConfig audiokit_config |
|
protected |
◆ auto_clear
| bool auto_clear = I2S_AUTO_CLEAR |
|
inherited |
◆ bits_per_sample
Number of bits per sample (int16_t = 16 bits)
◆ board
◆ buffer_count
◆ buffer_size
◆ channel_format
| int channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT |
|
inherited |
◆ channels
Number of channels: 2=stereo, 1=mono.
◆ default_actions_active
| bool default_actions_active = true |
◆ driver
| audio_hal_func_t driver = AUDIO_DRIVER |
◆ fixed_mclk
◆ i2s_format
◆ input_device
| audio_hal_adc_input_t input_device = AUDIOKIT_DEFAULT_INPUT |
◆ is_master
◆ output_device
| audio_hal_dac_output_t output_device = AUDIOKIT_DEFAULT_OUTPUT |
◆ pin_bck
◆ pin_data
◆ pin_data_rx
◆ pin_mck
◆ pin_ws
◆ pins
◆ port_no
◆ rx_tx_mode
◆ sample_rate
◆ sd_active
◆ signal_type
◆ use_apll
The documentation for this class was generated from the following file: