Remove some unneeded functions
This commit is contained in:
parent
69ab93a824
commit
c9a08fc7b2
38
Alc/wave.c
38
Alc/wave.c
@ -288,34 +288,6 @@ static ALCboolean wave_open_capture(ALCdevice *pDevice, const ALCchar *deviceNam
|
|||||||
return ALC_FALSE;
|
return ALC_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wave_close_capture(ALCdevice *pDevice)
|
|
||||||
{
|
|
||||||
(void)pDevice;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void wave_start_capture(ALCdevice *pDevice)
|
|
||||||
{
|
|
||||||
(void)pDevice;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void wave_stop_capture(ALCdevice *pDevice)
|
|
||||||
{
|
|
||||||
(void)pDevice;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void wave_capture_samples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint lSamples)
|
|
||||||
{
|
|
||||||
(void)pDevice;
|
|
||||||
(void)pBuffer;
|
|
||||||
(void)lSamples;
|
|
||||||
}
|
|
||||||
|
|
||||||
static ALCuint wave_available_samples(ALCdevice *pDevice)
|
|
||||||
{
|
|
||||||
(void)pDevice;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BackendFuncs wave_funcs = {
|
BackendFuncs wave_funcs = {
|
||||||
wave_open_playback,
|
wave_open_playback,
|
||||||
@ -323,11 +295,11 @@ BackendFuncs wave_funcs = {
|
|||||||
wave_reset_playback,
|
wave_reset_playback,
|
||||||
wave_stop_playback,
|
wave_stop_playback,
|
||||||
wave_open_capture,
|
wave_open_capture,
|
||||||
wave_close_capture,
|
NULL,
|
||||||
wave_start_capture,
|
NULL,
|
||||||
wave_stop_capture,
|
NULL,
|
||||||
wave_capture_samples,
|
NULL,
|
||||||
wave_available_samples
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
void alc_wave_init(BackendFuncs *func_list)
|
void alc_wave_init(BackendFuncs *func_list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user