mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-15 00:27:40 +00:00
WM8731: Add Codec abstraction.
This commit is contained in:
@@ -73,12 +73,14 @@ void set_volume(const volume_t volume);
|
||||
|
||||
namespace debug {
|
||||
|
||||
int reg_count();
|
||||
uint16_t reg_read(const int register_number);
|
||||
size_t reg_count();
|
||||
uint32_t reg_read(const size_t register_number);
|
||||
std::string codec_name();
|
||||
size_t reg_bits();
|
||||
|
||||
} /* namespace debug */
|
||||
|
||||
void init();
|
||||
void init(audio::Codec* const codec);
|
||||
void shutdown();
|
||||
|
||||
enum class Rate {
|
||||
|
Reference in New Issue
Block a user