Loading media/libaaudio/src/binding/AAudioServiceMessage.h +5 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ typedef enum aaudio_service_event_e : uint32_t { struct AAudioMessageEvent { aaudio_service_event_t event; union { // Align so that 32 and 64-bit code can exchange messages through shared memory. alignas(8) double dataDouble; int64_t dataLong; }; Loading @@ -59,6 +61,8 @@ typedef struct AAudioServiceMessage_s { code what; union { // Align so that 32 and 64-bit code can exchange messages through shared memory. alignas(8) AAudioMessageTimestamp timestamp; // what == TIMESTAMP AAudioMessageEvent event; // what == EVENT }; Loading Loading
media/libaaudio/src/binding/AAudioServiceMessage.h +5 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ typedef enum aaudio_service_event_e : uint32_t { struct AAudioMessageEvent { aaudio_service_event_t event; union { // Align so that 32 and 64-bit code can exchange messages through shared memory. alignas(8) double dataDouble; int64_t dataLong; }; Loading @@ -59,6 +61,8 @@ typedef struct AAudioServiceMessage_s { code what; union { // Align so that 32 and 64-bit code can exchange messages through shared memory. alignas(8) AAudioMessageTimestamp timestamp; // what == TIMESTAMP AAudioMessageEvent event; // what == EVENT }; Loading