Expose async logging for backends#70
Conversation
|
Not sure why this isn't building... I've been testing with |
|
Glad to see you are making progress! I guess the corresponding cubeb changes (to expose |
…available, both to fix build errors
…tead of kinetik's
cubeb-backend/src/log.rs
Outdated
| cstr | ||
| } | ||
|
|
||
| match($use_async) { |
There was a problem hiding this comment.
Since $use_async is an ident, could we use a literal for $use_async to distinguish whether the call is an async log or not (see https://doc.rust-lang.org/reference/macros-by-example.html#transcribing), which should have better readability? What do you think?
ffi::cubeb_async_log. See also: ashleyz's cubeb async_logging branch changes.
|
Build errors in nightly should be fixed with PR #72 |
|
Related PR: mozilla/cubeb#714 Related WIP branch to use async calls with PulseAudio: ashleyz/cubeb-pulse-rs |
Patch to expose async logging for backends. Adds
cubeb_alog!/cubeb_alogv!macros to make use of it.