mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-30 01:34:05 +00:00
Add LiGetPendingAudioDuration() function
This commit is contained in:
1 parent
52f489bc46
commit
6b42954b47
2 files changed
+11
-1
No files matched your search
@@ -408,3 +408,7 @@ int startAudioStream(void* audioContext, int arFlags) {
|
||||
int LiGetPendingAudioFrames(void) {
|
||||
return LbqGetItemCount(&packetQueue);
|
||||
}
|
||||
|
||||
int LiGetPendingAudioDuration(void) {
|
||||
return LiGetPendingAudioFrames() * AudioPacketDuration;
|
||||
}
|
||||
Reference in new issue
Block a user