Commit Graph

6 Commits

Author SHA1 Message Date
David Reid 3018ba3ee5 Some refactoring to the PulseAudio backend.
The PulseAudio mainloop and context objects have been moved out of the
device and into the context.
2020-10-31 16:43:25 +10:00
David Reid 069549254d Rename some APIs from previous commit.
This uses the "enabled" notion rather than "available" as I think it's
a bit clearer in terms of enabled at compile time rather than available
at run time.

Public issue https://github.com/mackron/miniaudio/issues/211
2020-10-25 09:54:58 +10:00
David Reid e59ee1e773 Add support for retrieving available backends at run-time.
The following APIs have been added:

  * ma_is_backend_available()
  * ma_get_avaialable_backends()

Public issue https://github.com/mackron/miniaudio/issues/211
2020-10-25 09:06:57 +10:00
David Reid a0fd38e020 Add enumeration to device IO test. 2020-03-08 11:15:23 +10:00
David Reid fbdad2d2b8 Fix a warning on some compilers. 2020-03-07 11:07:00 +10:00
David Reid 348bb43a47 Add device IO test. 2020-03-01 12:03:49 +10:00