File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2313,15 +2313,22 @@ pub const Sound = opaque {
2313
2313
}
2314
2314
extern fn ma_sound_get_length_in_seconds (sound : * const Sound , length : * f32 ) Result ;
2315
2315
2316
- pub const Flags = packed struct (u32 ) {
2316
+ pub const Flags = packed struct (c_int ) {
2317
+ // Resource manager flags
2317
2318
stream : bool = false ,
2318
2319
decode : bool = false ,
2319
2320
async_load : bool = false ,
2320
2321
wait_init : bool = false ,
2322
+ unknown_length : bool = false ,
2323
+
2324
+ _padding0 : u7 = 0 ,
2325
+
2326
+ // ma_sound specific flags
2321
2327
no_default_attachment : bool = false ,
2322
2328
no_pitch : bool = false ,
2323
2329
no_spatialization : bool = false ,
2324
- _padding : u25 = 0 ,
2330
+
2331
+ _padding1 : u17 = 0 ,
2325
2332
};
2326
2333
2327
2334
pub const Config = extern struct {
You can’t perform that action at this time.
0 commit comments