mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-03 18:52:25 -07:00
Add audio stretching support
This commit is contained in:
@@ -85,6 +85,13 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
size_t SamplesInQueue(u32 num_channels) const {
|
||||
if (!ctx)
|
||||
return 0;
|
||||
|
||||
return queue.size() / num_channels;
|
||||
}
|
||||
|
||||
u32 GetNumChannels() const {
|
||||
return num_channels;
|
||||
}
|
||||
|
Reference in New Issue
Block a user