Channel circle › core 5 Media › audio
audio (core 5, sub 0, flat id 80)
37 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| static void AudioRuntimeRun(struct Channel *ch, long unused) | (no comment) | AudioChannel.c:18 | static |
| static void AudioQueueFreeAll(struct AudioChannel *ch) | (no comment) | AudioChannel.c:32 | static |
| struct AudioChannel * AudioChannelGet(void) | (no comment) | AudioChannel.c:48 | public |
| struct AudioChannel * OpenAudioChannel(void) | (no comment) | AudioChannel.c:53 | public |
| void CloseAudioChannel(struct AudioChannel *ch) | (no comment) | AudioChannel.c:125 | public |
| int AudioSetFormat(struct AudioChannel *ch, uint32_t rate, uint16_t channels, uint16_t bits) | (no comment) | AudioChannel.c:154 | public |
| int AudioEnqueue(struct AudioChannel *ch, const uint8_t *pcm, uint32_t len) | (no comment) | AudioChannel.c:168 | public |
| int AudioDequeue(struct AudioChannel *ch, uint8_t *dst, uint32_t dst_cap, uint32_t *out_len) | (no comment) | AudioChannel.c:196 | public |
| int AudioQueueClear(struct AudioChannel *ch) | (no comment) | AudioChannel.c:222 | public |
| uint32_t AudioQueueCount(const struct AudioChannel *ch) | (no comment) | AudioChannel.c:230 | public |
| int AudioPlay(struct AudioChannel *ch) | (no comment) | AudioChannel.c:235 | public |
| int AudioStop(struct AudioChannel *ch) | (no comment) | AudioChannel.c:250 | public |
| int AudioIsPlaying(const struct AudioChannel *ch) | (no comment) | AudioChannel.c:258 | public |
| static int AudioOp(struct AudioChannel *c, uint32_t op, uint32_t a, uint64_t b) | (no comment) | AudioChannel.c:267 | static |
| static void AudioRd(struct AudioChannel *c, uint32_t *m, uint32_t *a, uint64_t *b) | (no comment) | AudioChannel.c:280 | static |
| static uint32_t WavRdU32Le(const uint8_t *p) | (no comment) | AudioWavChannel.c:18 | static |
| static uint16_t WavRdU16Le(const uint8_t *p) | (no comment) | AudioWavChannel.c:24 | static |
| static void AudiowavRuntimeRun(struct Channel *ch, long unused) | (no comment) | AudioWavChannel.c:29 | static |
| static void AudiowavFreePcm(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:43 | static |
| static int AudiowavParse(struct AudioWavChannel *ch, const uint8_t *data, uint32_t len) | Parse RIFF WAVE from memory. Copies PCM into owned ByteBuffer (LE). Returns 0 ok, -1 arg, -2 format. | AudioWavChannel.c:64 | static |
| struct AudioWavChannel * AudioWavChannelGet(void) | (no comment) | AudioWavChannel.c:166 | public |
| static struct AudioWavChannel * OpenAudioWavChannelBody(void) | (no comment) | AudioWavChannel.c:171 | static |
| static void CloseAudioWavChannelBody(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:241 | static |
| int AudioWavLoadPath(struct AudioWavChannel *ch, const char *path) | (no comment) | AudioWavChannel.c:268 | public |
| int AudioWavLoadMem(struct AudioWavChannel *ch, const uint8_t *data, uint32_t len) | (no comment) | AudioWavChannel.c:324 | public |
| int AudioWavUnload(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:335 | public |
| struct ByteBuffer * AudioWavPcm(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:344 | public |
| uint32_t AudioWavSampleRate(const struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:349 | public |
| uint16_t AudioWavChannels(const struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:354 | public |
| uint16_t AudioWavBits(const struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:359 | public |
| uint32_t AudioWavDataBytes(const struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:364 | public |
| int AudioWavIsLoaded(const struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:369 | public |
| int AudioWavEnqueueToAudio(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:374 | public |
| int AudioWavPlay(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:391 | public |
| int AudioWavStop(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:405 | public |
| struct AudioWavChannel * OpenAudioWavChannel(void) | Standard runtime entry points (Join/Leave/Read/Write/Open/Close) -- thin wrappers, behaviour of Open/Close unchanged (bodies renamed *Body). See CHREC_RUNTIME in defines.h. | AudioWavChannel.c:416 | public |
| void CloseAudioWavChannel(struct AudioWavChannel *ch) | (no comment) | AudioWavChannel.c:422 | public |