Module audio_server

Consts

SPEAKER_MODE_STEREO = 0'i64
SPEAKER_SURROUND_51 = 2'i64
SPEAKER_SURROUND_71 = 3'i64

Procs

proc setBusCount(amount: int64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusCount(): int64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc removeBus(index: int64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc addBus(atPosition: int64 = -1'i64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc moveBus(index: int64; toIndex: int64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusName(busIdx: int64; name: string) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusName(busIdx: int64): string {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusIndex(busName: string): int64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusVolumeDb(busIdx: int64; volumeDb: float64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusVolumeDb(busIdx: int64): float64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusSend(busIdx: int64; send: string) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusSend(busIdx: int64): string {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusSolo(busIdx: int64; enable: bool) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc isBusSolo(busIdx: int64): bool {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusMute(busIdx: int64; enable: bool) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc isBusMute(busIdx: int64): bool {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusBypassEffects(busIdx: int64; enable: bool) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc isBusBypassingEffects(busIdx: int64): bool {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc addBusEffect(busIdx: int64; effect: AudioEffect; atPosition: int64 = -1'i64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc removeBusEffect(busIdx: int64; effectIdx: int64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusEffectCount(busIdx: int64): int64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusEffect(busIdx: int64; effectIdx: int64): AudioEffect {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc swapBusEffects(busIdx: int64; effectIdx: int64; byEffectIdx: int64) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusEffectEnabled(busIdx: int64; effectIdx: int64; enabled: bool) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc isBusEffectEnabled(busIdx: int64; effectIdx: int64): bool {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusPeakVolumeLeftDb(busIdx: int64; channel: int64): float64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getBusPeakVolumeRightDb(busIdx: int64; channel: int64): float64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc lock() {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc unlock() {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getSpeakerMode(): int64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getMixRate(): float64 {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getDeviceList(): Array {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getDevice(): string {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setDevice(arg0: string) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setBusLayout(busLayout: AudioBusLayout) {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc generateBusLayout(): AudioBusLayout {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}