diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-21 11:16:54 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-21 11:16:54 -0700 |
commit | fd5567882b732f8947b44b217552077c82a3d28e (patch) | |
tree | 291a07d2c1f0586c238f29389abc881096e27c5f /src/core/ao_data.h | |
parent | fd55c1fe53adf5c50dcd3ce8296f80871cec73e9 (diff) | |
parent | 57b4d82dee10b142b820aa306028a288a85214f6 (diff) |
Merge branch 'lpc'
Diffstat (limited to 'src/core/ao_data.h')
-rw-r--r-- | src/core/ao_data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ao_data.h b/src/core/ao_data.h index 7e2f85d8..b0f086f8 100644 --- a/src/core/ao_data.h +++ b/src/core/ao_data.h @@ -82,6 +82,10 @@ struct ao_data { #define ao_data_ring_next(n) (((n) + 1) & (AO_DATA_RING - 1)) #define ao_data_ring_prev(n) (((n) - 1) & (AO_DATA_RING - 1)) +/* Get a copy of the last complete sample set */ +void +ao_data_get(__xdata struct ao_data *packet); + extern volatile __xdata struct ao_data ao_data_ring[AO_DATA_RING]; extern volatile __data uint8_t ao_data_head; extern volatile __data uint8_t ao_data_present; |