summaryrefslogtreecommitdiff
path: root/libs/backends/portaudio
AgeCommit message (Collapse)Author
2015-09-02Add two utility methods to abstract PortAudioBackend stateTim Mayberry
These may change as support for callback API is added
2015-09-02Extract MIDI input/output processing in PortAudioBackend into new methodsTim Mayberry
2015-09-02Add a DSPLoadCalculator class to the PortAudioBackend for DSP load calculationTim Mayberry
The class uses the same algorithm as in the coreaudio and alsa backends and should probably go into libardour at some point
2015-09-02Fix include style of system headerTim Mayberry
2015-09-02Extract main processing section of PortAudioBackend into new methodTim Mayberry
2015-09-02Extract freewheel processing in PortAudioBackend into new methodTim Mayberry
2015-09-02Don't update unused dsp timer variable in freewheel process in PortaudioBackendTim Mayberry
2015-09-02Refactor port change handling part of PA Backend process function into new ↵Tim Mayberry
method
2015-09-02Rename variables in PortaudioBackend in preparation for using PA callback APITim Mayberry
2015-09-02Fix copy and paste error in debug output message in WINMME Midi OutputTim Mayberry
2015-09-02Signal WinMME Midi output thread so the thread wakes up and terminates properlyTim Mayberry
2015-09-02Stop WINMME midi driver/devices when PortAudio backend is stoppedTim Mayberry
2015-09-02Refactor part of PortAudioBackend::_start/stop into new methodsTim Mayberry
2015-09-02Don't add "None" devices for ASIO driver in PortaudioBackendTim Mayberry
2015-09-02Implement new AudioBackend API for force updating devices in PortaudioBackendTim Mayberry
2015-09-02Update devices in PortaudioBackend when setting the driverTim Mayberry
Reinitialize portaudio to pick up changes in devices and ASIO buffer settings
2015-09-02Rename several methods in PortAudioIO classTim Mayberry
return ErrorCode's and handle them where necessary
2015-09-02Refactor part of PortAudioIO::pcm_setup into new methodTim Mayberry
2015-09-02Change the functions related to initializing the Portaudio libraryTim Mayberry
2015-09-02Remove unused and cryptic _state member from PortAudioIOTim Mayberry
2015-09-02Use PortAudioIO::ErrorCode as return value from PortAudioIO::pcm_setupTim Mayberry
2015-09-02Define some error codes in PortAudioIO classTim Mayberry
2015-09-02Refactor parts of PortAudioIO class into new methodTim Mayberry
2015-09-02Refactor part of PortAudioIO::pcm_setup into 2 new methodsTim Mayberry
2015-09-02Make two private methods in PortAudioIO constTim Mayberry
2015-09-02Refactor part of PortAudioIO::pcm_setup into new methodTim Mayberry
2015-09-02Add utility method to PortAudioIO class to remove goto from pcm_setupTim Mayberry
2015-09-02Remove apple specific fixes from PortaudioBackend now that it is windows onlyTim Mayberry
2015-09-02Don't query supported sample rates for ASIO devices in PortaudioBackendTim Mayberry
There has been reports this can take several minutes on some devices so just return the default rates(and fail to open the device when a SR is specified that isn't supported)
2015-09-02Use two private utility functions in PortaudioIO class for default SR's and ↵Tim Mayberry
buffer sizes
2015-09-02Reindent and reformat switch statements in PortaudioBackendTim Mayberry
This is more readable and consistent with the rest of the source files
2015-09-02Use translated error messages in PortaudioBackend when SR or i/o channel ↵Tim Mayberry
counts don't match requested These errors are probably preventable but currently they do occur so at least tell the user about them(and hope they check the error log window)
2015-09-02Use a translated error message in PortaudioBackend when unable to open audio ↵Tim Mayberry
device
2015-09-02Convert some error output to debug output in PortaudioBackendTim Mayberry
2015-09-02Use translated error message in PortaudioBackend with failing to aquire RT permsTim Mayberry
2015-09-02Use debug output rather than sending errors for developer relevant port errorsTim Mayberry
Most of these are not errors that are intended for the user, they are only intended for developers so don't send them to PBD::error. The errors that may be relevant to users should be handled in libardour or the GUI in response to return values
2015-09-02Move AudioBackend related debug bits into libardourTim Mayberry
I put these in libpbd as that is where the debug bits are for the Waves backend but I think it makes more sense for them to be in libardour as that is where the AudioBackend class is defined I left the Waves debug bits in libpbd for now.
2015-09-02Use PortaudioIO::get_current_host_api_type utility function in PortaudioIO classTim Mayberry
2015-09-02Add Utility function to get host API type in PortaudioIO classTim Mayberry
2015-09-02Add "None" devices to PortaudioBackendTim Mayberry
This allows for disabling either input or output, but not both
2015-09-02Use AudioBackend standard device names for "Default" in PortaudioBackendTim Mayberry
2015-09-02Use StandardDevices enum in PortaudioIO for default devicesTim Mayberry
This just makes it a bit easier to read through the code rather than using magic numbers.
2015-09-02Add StandardDevice enum to portaudio_io.h headerTim Mayberry
2015-09-02Use translated error message in PortaudioBackend for audio device I/O errorTim Mayberry
2015-09-02Use translated error message for failing to set thread priorities in ↵Tim Mayberry
PortaudioBackend
2015-09-02Use AudioBackend::get_standard_device_name for "None" midi device in ↵Tim Mayberry
PortaudioBackend
2015-09-02Use pretty name infrastructure to display MIDI device nameTim Mayberry
2015-08-07Set the default host api in PortaudioBackend when initializing portaudioTim Mayberry
Not setting a default driver causes issues with the EngineControl dialog
2015-08-05Remove "Default" devices from the PortaudioBackendTim Mayberry
These are not really necessary now that input and output devices can be selected separately.
2015-08-05Use ASIO specific device channel names for port properties/pretty namesTim Mayberry