Skip to content

Commit

Permalink
Try fixing a compilation error with MA_NO_DEVICE_IO.
Browse files Browse the repository at this point in the history
Public issue #652
  • Loading branch information
mackron committed Mar 26, 2023
1 parent 15aa776 commit bf90b04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions miniaudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -15918,7 +15918,10 @@ MA_ATOMIC_SAFE_TYPE_IMPL(i32, int32)
MA_ATOMIC_SAFE_TYPE_IMPL(64, uint64)
MA_ATOMIC_SAFE_TYPE_IMPL(f32, float)
MA_ATOMIC_SAFE_TYPE_IMPL(32, bool32)

#if !defined(MA_NO_DEVICE_IO)
MA_ATOMIC_SAFE_TYPE_IMPL(i32, device_state)
#endif


MA_API ma_uint64 ma_calculate_frame_count_after_resampling(ma_uint32 sampleRateOut, ma_uint32 sampleRateIn, ma_uint64 frameCountIn)
Expand Down

0 comments on commit bf90b04

Please sign in to comment.