audio: Removed unused AllowsArbitraryDeviceNames variable.

This commit is contained in:
Ryan C. Gordon
2023-10-02 23:07:00 -04:00
parent f1fc198278
commit 6c33a05bdb
5 changed files with 0 additions and 5 deletions

View File

@@ -143,7 +143,6 @@ typedef struct SDL_AudioDriverImpl
SDL_bool HasCaptureSupport;
SDL_bool OnlyHasDefaultOutputDevice;
SDL_bool OnlyHasDefaultCaptureDevice;
SDL_bool AllowsArbitraryDeviceNames;
} SDL_AudioDriverImpl;
typedef struct SDL_AudioDriver

View File

@@ -160,7 +160,6 @@ static SDL_bool DISKAUDIO_Init(SDL_AudioDriverImpl *impl)
impl->CloseDevice = DISKAUDIO_CloseDevice;
impl->DetectDevices = DISKAUDIO_DetectDevices;
impl->AllowsArbitraryDeviceNames = SDL_TRUE;
impl->HasCaptureSupport = SDL_TRUE;
return SDL_TRUE;

View File

@@ -293,7 +293,6 @@ static SDL_bool DSP_Init(SDL_AudioDriverImpl *impl)
impl->CaptureFromDevice = DSP_CaptureFromDevice;
impl->FlushCapture = DSP_FlushCapture;
impl->AllowsArbitraryDeviceNames = SDL_TRUE;
impl->HasCaptureSupport = SDL_TRUE;
return SDL_TRUE; /* this audio target is available. */

View File

@@ -317,7 +317,6 @@ static SDL_bool NETBSDAUDIO_Init(SDL_AudioDriverImpl *impl)
impl->FlushCapture = NETBSDAUDIO_FlushCapture;
impl->HasCaptureSupport = SDL_TRUE;
impl->AllowsArbitraryDeviceNames = SDL_TRUE;
return SDL_TRUE;
}

View File

@@ -348,7 +348,6 @@ static SDL_bool SNDIO_Init(SDL_AudioDriverImpl *impl)
impl->Deinitialize = SNDIO_Deinitialize;
impl->DetectDevices = SNDIO_DetectDevices;
impl->AllowsArbitraryDeviceNames = SDL_TRUE;
impl->HasCaptureSupport = SDL_TRUE;
return SDL_TRUE;