40 Commits (8fe8d903bb9ff1ff1068825aba7c563b1790422c)

Author SHA1 Message Date
  Andrew Belt ac73ef478a Update RtAudio to 5.2.0. Rewrite error handling in RtAudioDevice. 2 years ago
  Andrew Belt 6ae7fe0521 Use audio device's preferred sample rate by default in RtAudioDevice. 2 years ago
  Andrew Belt c77389c6d7 Revert "Initialize sample rate and block size of RtAudioDevice in constructor instead of openStream(). Fix algorithm to find closest allowed sample rate of device." 2 years ago
  Andrew Belt 1a973d685e Initialize sample rate and block size of RtAudioDevice in constructor instead of openStream(). Fix algorithm to find closest allowed sample rate of device. 2 years ago
  Andrew Belt 7396bb63ee Set rtaudio default sample rate to 44100, block size to 256 except DirectSound to 1024. 2 years ago
  Andrew Belt 884389bc7b Move processMutex from RtAudioDevice to audio::Device. 2 years ago
  Andrew Belt 1f2de5d7f4 Change default rtaudio block size to 512. 2 years ago
  Andrew Belt e5ef358c08 Add mutex to RtAudioDevice process, subscribe, and unsubscribe methods. 3 years ago
  Andrew Belt d297b0ee7f Build and link PulseAudio on Linux. 3 years ago
  Andrew Belt c6a23ddbf1 Prevent multiple ASIO devices from being used simultaneously 3 years ago
  Andrew Belt 486015a587 Only cache RtAudio device info for DirectSound, WASAPI, and ASIO. 3 years ago
  Andrew Belt ab10c56bd8 Add future ability for lazily querying RtAudio device infos. 3 years ago
  Andrew Belt 768a29b9ae Scan RtAudio devices for all drivers at launch. Make logging more 3 years ago
  Andrew Belt 16b273194d Add more error handling to rtaudio driver. 3 years ago
  Andrew Belt bf21e1574c Set RtAudio thread name. Limit thread on Linux to 15 characters. 3 years ago
  Andrew Belt 7f44c6d706 Remove "unsupported" from JACK driver name. It's still not really supported, but we could at some point. 3 years ago
  Andrew Belt b5d7a12448 Make AudioInterface handle devices with 0 inputs or 0 outputs better. Clear engine buffers more aggressively, especially for the primary module. 3 years ago
  Andrew Belt 86f3658b51 Add `Exception::Exception(const char* format, ...)` so you can create Exception objects using C format strings. 3 years ago
  Andrew Belt bc08eccddc Refactor Port a bit. Use default sample rate from audio::Device. 3 years ago
  Andrew Belt dd9633303c Turn off printing warnings to stderr for RtAudio and RtMidi. Fix exception catching when instantiating RtMidi objects. 3 years ago
  Andrew Belt 2879e5eb61 Adjust when exceptions are thrown in RtAudioDevice. 3 years ago
  Andrew Belt 4626dea31f Use float instead of int for sample rates in audio:: namespace. 3 years ago
  Andrew Belt bae735df4e Revert "Fix rtaudio include path" 4 years ago
  Andrew Belt 5d44cb44be Fix rtaudio include path 4 years ago
  Andrew Belt ae85cb4e9b Disable RTAUDIO_MINIMIZE_LATENCY in RtAudio driver. 4 years ago
  Andrew Belt 3e0c375a89 Change `audio::Device::getSampleRates()` and `getBlockSizes()` to return a set instead of a vector. 4 years ago
  Andrew Belt 9e44616837 Show current sample rate and block size in AudioWidget menu. Increase minimum RtAudio block size back up to 32. 4 years ago
  Andrew Belt c140186885 Add exception handling to audio::Port and RtAudioDevice. Add more Port methods that wrap Device/Driver methods. 4 years ago
  Andrew Belt f25b4a8937 Enable auto-connect for RtAudio JACK driver. 4 years ago
  Andrew Belt 2aa41c9621 Fix include path for RtAudio 4 years ago
  Andrew Belt 1d80038a67 Add 16 to list of allowed RtAudio block sizes. 4 years ago
  Andrew Belt abb62eca09 Update RtAudio. Don't use RTAUDIO_MINIMIZE_LATENCY flag because that makes it impossible to choose other block sizes. 4 years ago
  Andrew Belt 25b540e0ee Switch RtAudio to my own fork. Tweak StreamOptions in RtAudio driver. 4 years ago
  Andrew Belt 120aafe6d3 Change order of includes to C++ standard headers, library headers, and local project headers. 4 years ago
  Andrew Belt 7ad436bbf9 Hard-code RtAudio driver names. 4 years ago
  Andrew Belt 60d2283010 Add timestamp to MIDI message. Make MIDI-* modules wait until a message is `stepFrames` frames old until processing it, improving MIDI stability. Add Engine::getStepFrame, getStepTime, and getStepFrames. 4 years ago
  Andrew Belt dba086af70 Refactor rtaudio driver. Reorder rtaudio drivers. 5 years ago
  Andrew Belt 70d527d99a Test audio. Fix audio deadlock in Engine::fromJson(). 5 years ago
  Andrew Belt e1aaa6f6a7 Fix abstractions of audio structure. Some testing. 5 years ago
  Andrew Belt b6a7b09e7a Restructure audio namespace to mirror midi class structure. (untested) 5 years ago