1. 16 Jun, 2020 1 commit
  2. 15 Jun, 2020 1 commit
  3. 14 Jun, 2020 23 commits
  4. 13 Jun, 2020 6 commits
  5. 12 Jun, 2020 2 commits
    • David Reid's avatar
      Introduce paged decoding to the resource manager in the high level API. · 213ee9dc
      David Reid authored
      This enables early playback of the sound while the remainder of the
      sound is loaded in the background. When the first page is loaded, the
      sound can start playback. While it's playing, the rest of the sound is
      loaded in a background thread. In addition, sounds no longer need to
      wait for every sound prior to it in the queue to fully decode before it
      is able to start - it only needs to wait for the first page of each of
      the queued sounds to decode. This enables much fairer prioritization of
      asynchronously loaded sounds.
      
      This paged decoding system is *not* a true streaming solution for long
      sounds. Support for true streaming will be added in future commits.
      This commit is only concerned with filling in-memory buffers containing
      the whole sound in an asynchronous manner.
      213ee9dc
    • David Reid's avatar
      7f49fca2
  6. 11 Jun, 2020 1 commit
  7. 10 Jun, 2020 2 commits
    • David Reid's avatar
      Work in progress on the new high level API. · 8734e8f5
      David Reid authored
        * Early work on asynchronously decoding into a memory buffer. This is
          just an early implementation - there are still issues needing to be
          figured out. In particular, sounds do not automatically start until
          the entire file has been decoded. It would be good if they could
          start as soon as the first second or so of data has been decoded.
      8734e8f5
    • David Reid's avatar
      Updates to data sources. · 86181dfa
      David Reid authored
        * ma_data_source_read_pcm_frames and ma_data_source_seek_pcm_frames
          now return a result code and output the frames read/seeked as an
          output parameter.
        * These return MA_AT_END if the end of the data source has been
          reached. This should never be returned if the loop parameter is set
          to true.
      86181dfa
  8. 08 Jun, 2020 4 commits