diff options
Diffstat (limited to 'firmware/export/pcm-internal.h')
-rw-r--r-- | firmware/export/pcm-internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/export/pcm-internal.h b/firmware/export/pcm-internal.h index d69138f534..bae6a368fa 100644 --- a/firmware/export/pcm-internal.h +++ b/firmware/export/pcm-internal.h | |||
@@ -22,6 +22,16 @@ | |||
22 | #ifndef PCM_INTERNAL_H | 22 | #ifndef PCM_INTERNAL_H |
23 | #define PCM_INTERNAL_H | 23 | #define PCM_INTERNAL_H |
24 | 24 | ||
25 | struct pcm_peaks | ||
26 | { | ||
27 | long period; | ||
28 | long tick; | ||
29 | uint16_t val[2]; | ||
30 | }; | ||
31 | |||
32 | void pcm_do_peak_calculation(struct pcm_peaks *peaks, bool active, | ||
33 | const void *addr, int count); | ||
34 | |||
25 | /** The following are for internal use between pcm.c and target- | 35 | /** The following are for internal use between pcm.c and target- |
26 | specific portion **/ | 36 | specific portion **/ |
27 | 37 | ||