Some struct reordering

This commit is contained in:
twinaphex 2020-08-14 07:07:34 +02:00
parent 8b8c52bb67
commit f3b440bab9
2 changed files with 5 additions and 4 deletions

View File

@ -31,6 +31,9 @@ typedef struct audio_thread
sthread_t *thread; sthread_t *thread;
slock_t *lock; slock_t *lock;
scond_t *cond; scond_t *cond;
const char *device;
unsigned *new_rate;
bool alive; bool alive;
bool stopped; bool stopped;
bool stopped_ack; bool stopped_ack;
@ -41,8 +44,6 @@ typedef struct audio_thread
int inited; int inited;
/* Initialization options. */ /* Initialization options. */
const char *device;
unsigned *new_rate;
unsigned out_rate; unsigned out_rate;
unsigned latency; unsigned latency;
unsigned block_frames; unsigned block_frames;

View File

@ -34,14 +34,14 @@ RETRO_BEGIN_DECLS
struct item_file struct item_file
{ {
void *userdata;
void *actiondata;
char *path; char *path;
char *label; char *label;
char *alt; char *alt;
unsigned type; unsigned type;
size_t directory_ptr; size_t directory_ptr;
size_t entry_idx; size_t entry_idx;
void *userdata;
void *actiondata;
}; };
typedef struct file_list typedef struct file_list