diff options
author | Chris Robinson <[email protected]> | 2011-08-18 23:58:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-18 23:58:00 -0700 |
commit | c96a6c2b1bb90317fd95dfddbec4f492c17fef50 (patch) | |
tree | d79ba3bdb5e5c207d16ee5df1332b2f629d56864 /Alc | |
parent | 0b0588cc37c7be4c94563366d6d3e004f3a6e9fb (diff) |
Remove a typedef
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -63,14 +63,14 @@ DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xad, #define EmptyFuncs { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } -typedef struct BackendInfo { +struct BackendInfo { const char *name; ALCboolean (*Init)(BackendFuncs*); void (*Deinit)(void); void (*Probe)(enum DevProbe); BackendFuncs Funcs; -} BackendInfo; -static BackendInfo BackendList[] = { +}; +static struct BackendInfo BackendList[] = { #ifdef HAVE_PULSEAUDIO { "pulse", alc_pulse_init, alc_pulse_deinit, alc_pulse_probe, EmptyFuncs }, #endif @@ -112,7 +112,7 @@ static BackendInfo BackendList[] = { { NULL, NULL, NULL, NULL, EmptyFuncs } }; -static BackendInfo BackendLoopback = { +static struct BackendInfo BackendLoopback = { "loopback", alc_loopback_init, alc_loopback_deinit, alc_loopback_probe, EmptyFuncs }; #undef EmptyFuncs @@ -617,7 +617,7 @@ static void alc_initconfig(void) } else { - BackendInfo Bkp = BackendList[n]; + struct BackendInfo Bkp = BackendList[n]; while(n > i) { BackendList[n] = BackendList[n-1]; |