- Change ma_data_source_seek_pcm_frames() to return a result code and output the frames seeked as an output parameter.
- Change ma_data_source_seek_pcm_frames() to return a result code and output the frames seeked as an output parameter.
- Change ma_audio_buffer_unmap() to return MA_AT_END when the end has been reached. This should be considered successful.
- Change ma_audio_buffer_unmap() to return MA_AT_END when the end has been reached. This should be considered successful.
- Change playback.pDeviceID and capture.pDeviceID to constant pointers in ma_device_config.
- Change playback.pDeviceID and capture.pDeviceID to constant pointers in ma_device_config.
- Add support for initializing decoders from a virtual file system object. This is achieved via the ma_vfs API and allows the application to customize file
IO for the loading and reading of raw audio data. Passing in NULL for the VFS will use defaults. New APIs:
- ma_decoder_init_vfs()
- ma_decoder_init_vfs_wav()
- ma_decoder_init_vfs_flac()
- ma_decoder_init_vfs_mp3()
- ma_decoder_init_vfs_vorbis()
- ma_decoder_init_vfs_w()
- ma_decoder_init_vfs_wav_w()
- ma_decoder_init_vfs_flac_w()
- ma_decoder_init_vfs_mp3_w()
- ma_decoder_init_vfs_vorbis_w()
- Add support for memory mapping to ma_data_source.
- Add support for memory mapping to ma_data_source.