mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 04:17:57 -05: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