zenilib
0.5.3.0
|
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include "alMain.h"
#include "alu.h"
Go to the source code of this file.
Functions | |
void | alc_wave_deinit (void) |
ALCboolean | alc_wave_init (BackendFuncs *func_list) |
void | alc_wave_probe (enum DevProbe type) |
static void | fwrite16le (ALushort val, FILE *f) |
static void | fwrite32le (ALuint val, FILE *f) |
static void | wave_close_playback (ALCdevice *device) |
static ALCenum | wave_open_playback (ALCdevice *device, const ALCchar *deviceName) |
static ALCboolean | wave_reset_playback (ALCdevice *device) |
static ALCboolean | wave_start_playback (ALCdevice *device) |
static void | wave_stop_playback (ALCdevice *device) |
static ALuint | WaveProc (ALvoid *ptr) |
Variables | |
static const ALuint | channel_masks [] |
static const ALubyte | SUBTYPE_FLOAT [] |
static const ALubyte | SUBTYPE_PCM [] |
static const BackendFuncs | wave_funcs |
static const ALCchar | waveDevice [] = "Wave File Writer" |
ALCboolean alc_wave_init | ( | BackendFuncs * | func_list | ) |
Definition at line 347 of file wave.c.
References ALC_TRUE, and wave_funcs.
Definition at line 357 of file wave.c.
References ALL_DEVICE_PROBE, AppendAllDevicesList(), CAPTURE_DEVICE_PROBE, ConfigValueExists(), and waveDevice.
Definition at line 70 of file wave.c.
Referenced by wave_reset_playback().
Definition at line 76 of file wave.c.
Referenced by wave_reset_playback(), and wave_stop_playback().
Definition at line 194 of file wave.c.
References ALCdevice_struct::ExtraData, free, and NULL.
Definition at line 165 of file wave.c.
References ALC_INVALID_VALUE, ALC_NO_ERROR, calloc, ALCdevice_struct::DeviceName, ERR, ALCdevice_struct::ExtraData, free, GetConfigValue(), strdup(), and waveDevice.
|
static |
Definition at line 203 of file wave.c.
References ALC_FALSE, ALC_TRUE, BytesFromDevFmt(), channel_masks, ChannelsFromDevFmt(), DevFmtByte, DevFmtFloat, DevFmtInt, DevFmtShort, DevFmtUByte, DevFmtUInt, DevFmtUShort, ERR, ALCdevice_struct::ExtraData, ALCdevice_struct::FmtChans, ALCdevice_struct::FmtType, ALCdevice_struct::Frequency, fwrite16le(), fwrite32le(), SEEK_SET, SetDefaultWFXChannelOrder(), SUBTYPE_FLOAT, and SUBTYPE_PCM.
|
static |
Definition at line 277 of file wave.c.
References ALC_FALSE, ALC_TRUE, ERR, ALCdevice_struct::ExtraData, ALCdevice_struct::FmtChans, ALCdevice_struct::FmtType, FrameSizeFromDevFmt(), free, malloc, NULL, StartThread(), ALCdevice_struct::UpdateSize, and WaveProc().
Definition at line 300 of file wave.c.
References ALCdevice_struct::ExtraData, free, fwrite32le(), NULL, SEEK_SET, and StopThread().
Definition at line 85 of file wave.c.
References ALCdevice_Lock, ALCdevice_Unlock, aluHandleDisconnect(), aluMixData(), BytesFromDevFmt(), ALCdevice_struct::Connected, ERR, ALCdevice_struct::ExtraData, ALCdevice_struct::FmtChans, ALCdevice_struct::FmtType, FrameSizeFromDevFmt(), ALCdevice_struct::Frequency, i, IS_LITTLE_ENDIAN, Sleep, timeGetTime(), and ALCdevice_struct::UpdateSize.
Referenced by wave_start_playback().
Definition at line 57 of file wave.c.
Referenced by wave_reset_playback().
Definition at line 52 of file wave.c.
Referenced by wave_reset_playback().
Definition at line 48 of file wave.c.
Referenced by wave_reset_playback().
|
static |
Definition at line 330 of file wave.c.
Referenced by alc_wave_init().
Definition at line 46 of file wave.c.
Referenced by alc_wave_probe(), and wave_open_playback().