|
arduino-audio-tools
|
Configuration for WM8960. More...
#include <WM8960Stream.h>
Public Member Functions | |
| WM8960Config () | |
| WM8960Config (RxTxMode mode) | |
| virtual void | clear () |
| void | copyFrom (AudioInfo info) |
| Same as set. | |
| bool | equals (AudioInfo alt) |
| Returns true if alt values are the same like the current values. | |
| bool | equalsExSampleRate (AudioInfo alt) |
| Checks if only the sample rate is different. | |
| void | logInfo (const char *source="") |
| operator bool () | |
| Returns true if all components are defined (no component is 0) | |
| bool | operator!= (AudioInfo alt) |
| Returns true if alt values are the different from the current values. | |
| bool | operator== (AudioInfo alt) |
| Returns true if alt values are the same like the current values. | |
| void | set (AudioInfo info) |
| Copies the values from info. | |
| void | setAudioInfo (AudioInfo info) |
| Same as set. | |
Configuration for WM8960.
|
inline |
|
inline |
Returns true if alt values are the same like the current values.
Checks if only the sample rate is different.
Returns true if alt values are the different from the current values.
Returns true if alt values are the same like the current values.
|
inherited |
|
inherited |
Number of bits per sample (int16_t = 16 bits)
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Number of channels: 2=stereo, 1=mono.
| float default_volume = 0.6 |
Volume that is used on start (range 0.0 to 1.0)
| int8_t features = -1 |
|
inherited |
| uint32_t i2c_retry_count = 0 |
Number of i2c write retry on fail: 0 = endless until success.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Sample Rate: e.g 44100.
|
inherited |
|
inherited |
| uint32_t vs1053_mclk_hz = 0 |
masterclock rate for wm8960 - default is 0