summaryrefslogtreecommitdiff
path: root/rtaudio_c.cpp
AgeCommit message (Collapse)Author
2023-06-14fix rtaudio_get_device_infoBilly Messenger
2023-06-06use optimal types in c headerBilly Messenger
2021-12-09API changes for new device selection/enumeration scheme, implemented only ↵Gary Scavone
for the Core and Jack APIs.
2020-06-05Update C API and several backend APIs for no-exceptions branch.Stephen Sinclair
2020-06-05Merge branch 'master' into noexceptionsStephen Sinclair
2020-06-04Initialize errtype to RTAUDIO_NO_ERRORElijah Shaw-Rutschman
Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2020-06-04Add rtaudio_error_type() method to retrieve RtAudioError::TypeElijah Shaw-Rutschman
`rtaudio_c.h` defines the `rtaudio_error_t` enum, however it doesn’t appear to be used anywhere; the various C functions only retrieve the error message string from `RtAudioError`. This change set redefines the `rtaudio_t->has_error` member as `rtaudio_t->errtype`. The new member holds `rtaudio_error_t` values and is retrievable by the getter function `rtaudio_error_type()`. These changes will allow for fine-grained error handling when using the C API. Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
2019-07-30Added new setErrorCallback() function and removed errorCallback argument in ↵Gary Scavone
openStream(). Also added RtAudioError::Type return value to openStream(), startStream(), stopStream() and abortStream() functions, but only implemented in RtApiCore.
2018-12-13rtaudio_num_comiled_api renamed rtaudio_get_num_compiled_apissonoro1234
2018-12-05drop const from returnsonoro1234
2018-12-05rtaudio_c: add rtaudio_num_compiled_api()sonoro1234
2018-10-30Fix Go build due to enum casting (#164)Serge Zaitsev
* fix go build due to enum casts by casting enum array explicitly
2018-08-11allow to obtain api names regardless of being compiled or notJP Cimalando
2018-08-09make some data extern C and constJP Cimalando
2018-08-08Fix api name functions for C, replace map with array.Stephen Sinclair
2018-08-08Use short lower-case names as API identifiersJP Cimalando
2018-08-07Add the C interface for the name APIJP Cimalando
2017-10-06c api: Fix struct initializer stuff for older gcc.Stephen Sinclair
Fixes #100.
2017-10-02add rtaudio c api wrappers (#98)Serge Zaitsev
add rtaudio c api wrappers