Add audio stretching support

This commit is contained in:
fearlessTobi 2018-08-23 14:33:03 +02:00 committed by MerryMage
parent 9cd79c25ed
commit a6efff8b02
15 changed files with 50 additions and 0 deletions

View file

@ -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;
}