This commit is contained in:
Alcaro 2017-12-31 23:46:11 +01:00
parent a74ef2214d
commit 7fd4d5013d
3 changed files with 5 additions and 5 deletions

View File

@ -753,9 +753,9 @@ struct pcm
/** Flags that were passed to @ref pcm_open */
unsigned int flags;
/** Whether the PCM is running or not */
int running:1;
unsigned int running:1;
/** Whether or not the PCM has been prepared */
int prepared:1;
unsigned int prepared:1;
/** The number of underruns that have occured */
int underruns;
/** Size of the buffer */

View File

@ -62,6 +62,7 @@ static bool joypad_is_end_of_list(joypad_connection_t *pad) {
joypad_connection_t *pad_connection_init(unsigned pads)
{
unsigned i;
joypad_connection_t *joyconn;
if(pads > MAX_USERS)
{
@ -70,8 +71,7 @@ joypad_connection_t *pad_connection_init(unsigned pads)
pads = MAX_USERS;
}
joypad_connection_t *joyconn = (joypad_connection_t*)
calloc(pads+1, sizeof(joypad_connection_t));
joyconn = (joypad_connection_t*)calloc(pads+1, sizeof(joypad_connection_t));
if (!joyconn)
return NULL;

View File

@ -56,7 +56,7 @@ enum sinc_window
{
SINC_WINDOW_NONE = 0,
SINC_WINDOW_KAISER,
SINC_WINDOW_LANCZOS,
SINC_WINDOW_LANCZOS
};
/* For the little amount of taps we're using,