mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 15:21:43 +00:00
Fixed build
This commit is contained in:
@@ -687,13 +687,6 @@ static int ALSA_OpenDevice(SDL_AudioDevice *device)
|
|||||||
return 0; // We're ready to rock and roll. :-)
|
return 0; // We're ready to rock and roll. :-)
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct ALSA_Device
|
|
||||||
{
|
|
||||||
char *name;
|
|
||||||
SDL_bool iscapture;
|
|
||||||
struct ALSA_Device *next;
|
|
||||||
} ALSA_Device;
|
|
||||||
|
|
||||||
static void add_device(const SDL_bool iscapture, const char *name, void *hint, ALSA_Device **pSeen)
|
static void add_device(const SDL_bool iscapture, const char *name, void *hint, ALSA_Device **pSeen)
|
||||||
{
|
{
|
||||||
ALSA_Device *dev = SDL_malloc(sizeof(ALSA_Device));
|
ALSA_Device *dev = SDL_malloc(sizeof(ALSA_Device));
|
||||||
|
Reference in New Issue
Block a user