diff options
Diffstat (limited to 'src/pcm_export.h')
-rw-r--r-- | src/pcm_export.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pcm_export.h b/src/pcm_export.h index 418dcdfa3..a7e7c3f68 100644 --- a/src/pcm_export.h +++ b/src/pcm_export.h @@ -115,6 +115,14 @@ pcm_export_open(struct pcm_export_state *state, bool dsd_usb, bool shift8, bool pack, bool reverse_endian); /** + * Calculate the size of one output frame. + */ +G_GNUC_PURE +size_t +pcm_export_frame_size(const struct pcm_export_state *state, + const struct audio_format *audio_format); + +/** * Export a PCM buffer. * * @param state an initialized and open pcm_export_state object |