just re-using this push function for torch incomming audio data. it empties the buffer in case torchlight stopped emitting instead of draining it over time

This commit is contained in:
2026-06-02 00:35:46 +01:00
parent a02af1a297
commit 009962f120
4 changed files with 7 additions and 8 deletions
+1
View File
@@ -12,6 +12,7 @@ public:
bool Pop(int16_t *pData, size_t Samples);
bool Push(int16_t *pData, size_t BufLen);
bool PushTorch(int16_t *pData, size_t BufLen);
size_t TotalLength();
size_t TotalFree();