Add audio stretching support
This commit is contained in:
parent
9cd79c25ed
commit
a6efff8b02
15 changed files with 50 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue