Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Unfortunately it seems that in zita-alsa-pcmi doesn't set state() correctly in
some cases. Setting an invalid SR doesn't display the correct error message,
first guess would be that set_hwpar is failing and state() is not
representative of the actual error.
|
|
So they can be used to give a contextual error message in the GUI
|
|
Having error codes defined in PortaudioIO means it is not dependent on the
ErrorCodes in AudioBackend but it doesn't really make sense to have another
set, so just use the PA ones until they become insufficient.
|
|
|
|
(mostly these got moved out of the PortAudio backend and into libpbd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In preparation for moving to libpbd
|
|
|
|
them to libpbd
Add functions for get/set the Multimedia timer resolution, although we are
really only interested in the minimum, this will facilitate testing
Put timer utility functions inside nested namespaces as they are platform
specific
|
|
|
|
utils::get_microsecond
|
|
Change return type of utils::get_microseconds to signed int and return -1 when
failing to read timer
|
|
zmölnig
|
|
building with MSVC)
|
|
|
|
|
|
|
|
When loading previous state, set_driver() is called before
enumerate_drivers().
The available driver list must be available early on.
|
|
|
|
|
|
|
|
|
|
TODO: separate MidiSystemNone
|
|
|
|
|
|
characteristics
|
|
function
This makes it possible to reuse the method for callback based processing
|
|
|
|
These may change as support for callback API is added
|
|
|
|
The class uses the same algorithm as in the coreaudio and alsa backends and
should probably go into libardour at some point
|
|
|
|
|
|
|
|
|
|
method
|
|
|
|
|
|
|
|
|