mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-10 04:27:45 -05:00
make PA_GCC_PACKED and PA_GCC_MALLOC actually work
This commit is contained in:
parent
c0fb91db54
commit
44bca66c59
5 changed files with 10 additions and 10 deletions
|
|
@ -81,12 +81,12 @@ struct userdata {
|
|||
|
||||
#define ENTRY_VERSION 1
|
||||
|
||||
struct entry PA_GCC_PACKED {
|
||||
struct entry {
|
||||
uint8_t version;
|
||||
pa_bool_t muted:1;
|
||||
pa_channel_map channel_map;
|
||||
pa_cvolume volume;
|
||||
};
|
||||
} PA_GCC_PACKED;
|
||||
|
||||
static void save_time_callback(pa_mainloop_api*a, pa_time_event* e, const struct timeval *tv, void *userdata) {
|
||||
struct userdata *u = userdata;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue