Commit Graph

1741 Commits

Author SHA1 Message Date
David Reid 493b2ec9c3 Prep work adding support for extra formats to the channel converter. 2020-05-10 07:35:18 +10:00
David Reid e03d7985b7 Add compile-time and run-time version querying.
This adds the following:
  * MA_VERSION_MINOR
  * MA_VERSION_MAJOR
  * MA_VERSION_REVISION
  * MA_VERSION_STRING
  * ma_version()
  * ma_version_string()

Public issue https://github.com/dr-soft/miniaudio/issues/156
2020-05-07 15:10:58 +10:00
David Reid d429df4ed8 Change ma_clip_samples/frames_f32 to take a 64-bit count. 2020-05-07 14:58:14 +10:00
David Reid 369b476b37 Version 0.10.5 2020-05-05 06:52:44 +10:00
David Reid cb9505acb2 Fix a crash in the linear resampler when LPF order is 0.
Public issue https://github.com/dr-soft/miniaudio/issues/155
2020-05-04 07:02:39 +10:00
David Reid 90550c9e8a Change ma_zero_pcm_frames() to take a 64-bit frame count. 2020-05-02 15:41:15 +10:00
David Reid d20430210a Update revision history. 2020-05-01 19:43:01 +10:00
David Reid 342199847c Fix level 4 warnings on VC6. 2020-05-01 18:58:58 +10:00
David Reid dae1a040b3 Silence some warnings. 2020-05-01 18:23:58 +10:00
David Reid 135b098526 Improve VC6 compatibility for formatted logging.
Public issue https://github.com/dr-soft/miniaudio/issues/153
2020-05-01 18:01:36 +10:00
David Reid 5852d6ed24 Update extras. 2020-04-30 17:08:33 +10:00
David Reid 07730e7a16 Fix a typo. 2020-04-29 07:34:50 +10:00
David Reid e1f39d97a7 Fix compilation errors on older versions of Visual Studio.
Public issue https://github.com/dr-soft/miniaudio/issues/153
2020-04-28 13:16:59 +10:00
David Reid 0608fb1b0a Minor documentation fixes. 2020-04-26 11:10:49 +10:00
David Reid 845ca22710 Update documentation for ma_decoder.
Public issue https://github.com/dr-soft/miniaudio/issues/152
2020-04-26 09:16:47 +10:00
David Reid 1ca969601f Update revision history. 2020-04-26 08:47:21 +10:00
David Reid 6b375b3a02 Add MA_NO_GENERATION build option. 2020-04-26 08:42:18 +10:00
David Reid 2a765d6311 Move struct ma_lcg to a more appropriate location. 2020-04-26 08:39:57 +10:00
David Reid 90ae3091f8 Update dr_mp3. 2020-04-26 08:08:07 +10:00
David Reid e438ab0c9c Update loopback example to use the ma_encoder API. 2020-04-23 17:30:49 +10:00
David Reid 3645d9b0fd Update capture example to use the ma_encoder API. 2020-04-23 17:13:34 +10:00
David Reid 521a66235b Update dr_wav. 2020-04-21 19:47:46 +10:00
David Reid 5e8a299aa8 Add MA_NO_ENCODING to the Build Options section in documentation.
Public issue https://github.com/dr-soft/miniaudio/issues/151
2020-04-20 10:01:55 +10:00
David Reid 7e1bdf7724 Update dr_flac and dr_mp3. 2020-04-19 12:24:23 +10:00
David Reid 1f295eba8a Update extras. 2020-04-13 08:40:28 +10:00
David Reid efb1574a8e Merge pull request #149 from MarcoLizza/master
Fixing warnings and minor subtle typo.
2020-04-13 08:37:09 +10:00
David Reid 56c8441efb Update dr_flac. 2020-04-13 08:33:52 +10:00
Marco Lizza 66fad49e20 Fixing nanosleep() call on POSIX, wrongly converting milliseconds. 2020-04-12 22:53:36 +02:00
Marco Lizza 16207dd0fa Fixing strict-protype warning. 2020-04-12 22:50:59 +02:00
David Reid 81a18ca6d9 Version 0.10.4 2020-04-12 10:42:38 +10:00
David Reid 755aef065e Fix a bug when reading frames from the client. 2020-04-12 10:36:29 +10:00
David Reid 376732929c Update extras. 2020-04-10 16:31:14 +10:00
David Reid 63c5cf851e Fix a typo. 2020-04-09 07:53:38 +10:00
David Reid 10988da584 Version 0.10.3 2020-04-07 18:09:54 +10:00
David Reid 41220f368d Fix some warnings on some compilers. 2020-04-07 17:20:37 +10:00
David Reid 128f3965db Remove an excess space. 2020-04-07 17:20:19 +10:00
David Reid bc6e566225 Update revision history. 2020-04-07 14:33:59 +10:00
David Reid 87d2a3915f Remove an unused member in ma_device. 2020-04-06 08:36:03 +10:00
David Reid 3d867739b8 Update dr_flac and dr_mp3. 2020-04-05 11:47:54 +10:00
David Reid 4265396703 Update release notes and revision history. 2020-04-05 10:23:56 +10:00
David Reid ba906aee83 WASAPI: Add some overrun detection for ma_device_type_capture.
This is derived from the ma_device_type_duplex case. It basically
detects a possible overrun and drops some periods. The idea is to
prevent the buffer from indefinitely straddling the end of the buffer
and causing persistent glitching.

Public issue https://github.com/dr-soft/miniaudio/issues/81
2020-04-05 10:04:40 +10:00
David Reid aedd11699e Fix a bug where format conversion is unnecessarily being enabled. 2020-04-05 09:07:14 +10:00
David Reid d46c1ee802 ALSA: Disable ALSA's automatic data conversion.
Public issue https://github.com/dr-soft/miniaudio/issues/146
2020-04-05 08:48:36 +10:00
David Reid c433e02976 Fix compilation errors on GCC. 2020-04-05 08:43:48 +10:00
David Reid 31f49a7cca Minor formatting change. 2020-04-04 14:41:03 +10:00
David Reid f378577eac Minor documentation fix. 2020-04-04 14:32:28 +10:00
David Reid 6bcf88d18e Remove a small dependency on the Win32 API.
This was causing warnings on some older Visual Studio compilers.
2020-04-04 14:30:25 +10:00
David Reid 9fb37b2294 Add ma_post_log_messagev() and ma_post_log_messagef().
Public issue https://github.com/dr-soft/miniaudio/issues/145
2020-04-04 14:28:27 +10:00
David Reid ebeff9e371 Fix Visual Studio 2005 compilation errors. 2020-04-04 13:16:30 +10:00
David Reid c11d82b863 Remove MA_NO_STDIO.
Yet another compilation error with this setting enabled. Now removing
this entirely because I'm tired of maintaining it for almost no
practical benefit.
2020-04-04 11:57:30 +10:00