diff options
| author | hathach <[email protected]> | 2022-05-27 23:11:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-05-27 23:11:25 +0700 |
| commit | dce2ad4ffb33fe884429e0c241b1957b3cd6c453 (patch) | |
| tree | 58b5ae8afe0e18922b18d97ed36a2f67c631ec7c /src/class/audio/audio_device.h | |
| parent | 15aa593790311d6e279f01ba764a1a96d282a78b (diff) | |
adding feedback fifo count (WIP)
Diffstat (limited to 'src/class/audio/audio_device.h')
| -rw-r--r-- | src/class/audio/audio_device.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/class/audio/audio_device.h b/src/class/audio/audio_device.h index 09de8e9a8..c44b4cc30 100644 --- a/src/class/audio/audio_device.h +++ b/src/class/audio/audio_device.h @@ -504,16 +504,15 @@ enum { typedef struct { uint8_t method; + uint32_t sample_freq; // sample frequency in Hz + union { struct { - uint32_t sample_freq; // sample frequency in Hz - uint32_t mclk_freq; // Main clock frequency in Hz i.e. master clock to which sample clock is based on + uint32_t mclk_freq; // Main clock frequency in Hz i.e. master clock to which sample clock is based on }frequency; struct { - uint32_t nominal; - uint32_t threshold; - // variation etc .. + uint32_t threshold_bytes; // minimum number of bytes received to be considered as filled/ready }fifo_count; }; }audio_feedback_params_t; |
