mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add PCMStream:create_sound method
This commit is contained in:
parent
cf561e78a8
commit
be2dc1abe5
4 changed files with 42 additions and 0 deletions
|
|
@ -61,3 +61,7 @@ bool MemoryPCMStream::isSeekable() const {
|
|||
}
|
||||
|
||||
void MemoryPCMStream::seek(size_t position) {}
|
||||
|
||||
size_t MemoryPCMStream::available() const {
|
||||
return buffer.size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue