mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Replace a useless struct with a union.
This commit is contained in:
+3
-6
@@ -1806,13 +1806,10 @@ typedef struct
|
|||||||
ma_uint32 maxSampleRate;
|
ma_uint32 maxSampleRate;
|
||||||
} ma_device_info;
|
} ma_device_info;
|
||||||
|
|
||||||
typedef struct
|
typedef union
|
||||||
{
|
{
|
||||||
union
|
ma_int64 counter;
|
||||||
{
|
double counterD;
|
||||||
ma_int64 counter;
|
|
||||||
double counterD;
|
|
||||||
};
|
|
||||||
} ma_timer;
|
} ma_timer;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
Reference in New Issue
Block a user