mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Minor struct packing improvement.
This commit is contained in:
+3
-4
@@ -5602,6 +5602,9 @@ MA_API ma_linear_resampler_config ma_linear_resampler_config_init(ma_format form
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
void* _pHeap;
|
||||||
|
ma_bool32 _ownsHeap;
|
||||||
|
|
||||||
ma_format format;
|
ma_format format;
|
||||||
ma_uint32 channels;
|
ma_uint32 channels;
|
||||||
ma_uint32 sampleRateIn;
|
ma_uint32 sampleRateIn;
|
||||||
@@ -5646,10 +5649,6 @@ typedef struct
|
|||||||
float* f32;
|
float* f32;
|
||||||
ma_int32* s32;
|
ma_int32* s32;
|
||||||
} lpf;
|
} lpf;
|
||||||
|
|
||||||
/* Memory management. */
|
|
||||||
void* _pHeap;
|
|
||||||
ma_bool32 _ownsHeap;
|
|
||||||
} ma_linear_resampler;
|
} ma_linear_resampler;
|
||||||
|
|
||||||
MA_API ma_result ma_linear_resampler_get_heap_size(const ma_linear_resampler_config* pConfig, size_t* pHeapSizeInBytes);
|
MA_API ma_result ma_linear_resampler_get_heap_size(const ma_linear_resampler_config* pConfig, size_t* pHeapSizeInBytes);
|
||||||
|
|||||||
Reference in New Issue
Block a user