summaryrefslogtreecommitdiffstats
path: root/audio_utils/include/audio_utils/spdif/SPDIFEncoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio_utils/include/audio_utils/spdif/SPDIFEncoder.h')
-rw-r--r--audio_utils/include/audio_utils/spdif/SPDIFEncoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio_utils/include/audio_utils/spdif/SPDIFEncoder.h b/audio_utils/include/audio_utils/spdif/SPDIFEncoder.h
index 3c84d73..1a432d8 100644
--- a/audio_utils/include/audio_utils/spdif/SPDIFEncoder.h
+++ b/audio_utils/include/audio_utils/spdif/SPDIFEncoder.h
@@ -83,6 +83,7 @@ public:
protected:
void clearBurstBuffer();
+ bool wouldOverflowBuffer(size_t numBytes) const; // Would this many bytes cause an overflow?
void writeBurstBufferShorts(const uint16_t* buffer, size_t numBytes);
void writeBurstBufferBytes(const uint8_t* buffer, size_t numBytes);
void sendZeroPad();