audio stats functions
This commit is contained in:
@@ -194,3 +194,12 @@ audio.set_velocity(speakerid: integer, x: number, y: number, z: number)
|
||||
audio.get_duration(speakerid: integer) -> number
|
||||
```
|
||||
|
||||
### Другие функции
|
||||
|
||||
```lua
|
||||
-- получить текущее число живых спикеров
|
||||
audio.count_speakers() -> integer
|
||||
|
||||
-- получить текущее число проигрываемых аудио-потоков
|
||||
audio.count_streams() -> integer
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user