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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user