Arduino AudioKit HAL
|
AudioKit API using the audio_hal. More...
#include <AudioKitCodec.h>
Public Member Functions | |
AudioKitConfig | defaultConfig () |
Provides the configuration for input & output. | |
AudioKitConfig | defaultConfig (bool isOutput) |
Provides the configuration for input or output. | |
bool | begin (AudioKitConfig cfg) |
Starts the CODEC. | |
bool | end () |
Stops the CODEC. | |
bool | setActive (bool active) |
Sets the codec active / inactive. | |
bool | setMute (bool mute) |
Mutes the output. | |
bool | setVolume (int vol) |
Defines the Volume. | |
int | volume () |
Determines the volume. | |
Protected Attributes | |
audio_hal_func_t | audio_hal |
audio_hal_codec_config_t | audio_hal_conf |
audio_hal_codec_i2s_iface_t | iface |
AudioKitConfig | config |
AudioKit API using the audio_hal.
Definition at line 21 of file AudioKitCodec.h.