1. 23 Aug, 2020 8 commits
  2. 22 Aug, 2020 2 commits
    • David Reid's avatar
      Changes to fading and delays. · 1f89b003
      David Reid authored
        * Removed ma_engine_sound_set_fade_in/out()
        * Add ma_engine_sound_set_fade_point_in_frames()
        * Add ma_engine_sound_set_fade_point_in_milliseconds()
        * Add ma_engine_sound_set_stop_delay()
        * Add ma_engine_sound_get_time_in_frames()
        * Removed ma_engine_sound_group_set_fade_in/out()
        * Add ma_engine_sound_group_set_fade_point_in_frames()
        * Add ma_engine_sound_group_set_fade_point_in_milliseconds()
        * Add ma_engine_sound_group_set_stop_delay()
        * Add ma_engine_sound_group_get_time_in_frames()
      
      The fade in/out system has been replaced with something more general
      and flexible which allows for up to two fade points to be configured
      per sound or group, with arbitrary time periods and volumes.
      
      This commit also includes the addition of a placeholder parameter for
      ma_engine_sound_init_from_file() which is used to notify the caller
      when an asynchronously loaded sound has finished loading.
      1f89b003
    • David Reid's avatar
      Update documentation. · 1ea2ee3c
      David Reid authored
      1ea2ee3c
  3. 19 Aug, 2020 1 commit
  4. 17 Aug, 2020 2 commits
  5. 16 Aug, 2020 9 commits
  6. 15 Aug, 2020 3 commits
  7. 14 Aug, 2020 4 commits
  8. 09 Aug, 2020 8 commits
  9. 08 Aug, 2020 3 commits
    • David Reid's avatar
      Minor cleanup. · 4060f18c
      David Reid authored
      4060f18c
    • David Reid's avatar
      Engine: Add support for fading. · 9763fa62
      David Reid authored
      This adds support for having a sound fade in when it is started and
      fade out when it is stopped.
      
      This commit does not yet include support for fading out when the sound
      approaches the end - it only fades out when explicitly stopped with
      ma_sound_stop().
      
      The fade time is set in milliseconds.
      
      This commit includes a new effect called ma_fader, but it currently
      only supports f32 formats. Support for other formats will be added in
      the future.
      9763fa62
    • David Reid's avatar
      764ebc5e