diff options
author | Chris Robinson <[email protected]> | 2014-09-08 06:59:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-09-08 06:59:58 -0700 |
commit | a234fc11e580ac851bdfabc8711546209c1c11a1 (patch) | |
tree | 881c23dcc50ee74b6fda39a516ae08bb22fcd001 /Alc/backends/qsa.c | |
parent | 9dacd89a02e94e6d15feac53a9184c0eecd6d06f (diff) |
Remove the GetLatency method from the old BackendFuncs
Diffstat (limited to 'Alc/backends/qsa.c')
-rw-r--r-- | Alc/backends/qsa.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Alc/backends/qsa.c b/Alc/backends/qsa.c index e591b10a..aca2d73c 100644 --- a/Alc/backends/qsa.c +++ b/Alc/backends/qsa.c @@ -1073,16 +1073,7 @@ static ALCenum qsa_capture_samples(ALCdevice *device, ALCvoid *buffer, ALCuint s return ALC_NO_ERROR; } -static ALint64 qsa_get_latency(ALCdevice* device) -{ - ALint frame_size=FrameSizeFromDevFmt(device->FmtChans, device->FmtType); - - return (ALint64)(device->UpdateSize*device->NumUpdates/frame_size)* - 1000000000/device->Frequency; -} - -BackendFuncs qsa_funcs= -{ +static const BackendFuncs qsa_funcs= { qsa_open_playback, qsa_close_playback, qsa_reset_playback, @@ -1093,8 +1084,7 @@ BackendFuncs qsa_funcs= qsa_start_capture, qsa_stop_capture, qsa_capture_samples, - qsa_available_samples, - qsa_get_latency, + qsa_available_samples }; ALCboolean alc_qsa_init(BackendFuncs* func_list) |