Bug 1471922 - Update cubeb-pulse-rs to 79886477. r=kamidphish

--HG--
extra : rebase_source : 5ecf7036ff47adb36f55d8578e484154a81f7e95
This commit is contained in:
Matthew Gregan 2018-08-26 20:34:41 +12:00
Родитель 8f2c9bd605
Коммит ab37fcf704
3 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
The cubeb-pulse-rs git repository is: https://github.com/djg/cubeb-pulse-rs.git
The git commit ID used was d0bdf51ebd0a653cc4276d2346db852a3060ade0 (2018-06-29 10:09:52 +1000)
The git commit ID used was 798864774d7b9e65e8327ba87a753254afa3da6e (2018-07-24 14:13:11 +1000)

Просмотреть файл

@ -486,7 +486,9 @@ impl ContextOps for PulseContext {
fn success(_: &pulse::Context, success: i32, user_data: *mut c_void) {
let ctx = unsafe { &*(user_data as *mut PulseContext) };
debug_assert_ne!(success, 0);
if success != 1 {
cubeb_log!("subscribe_success ignored failure: {}", success);
}
ctx.mainloop.signal();
}

Просмотреть файл

@ -902,13 +902,17 @@ impl<'ctx> PulseStream<'ctx> {
fn stream_success(_: &pulse::Stream, success: i32, u: *mut c_void) {
let stm = unsafe { &*(u as *mut PulseStream) };
debug_assert_ne!(success, 0);
if success != 1 {
cubeb_log!("stream_success ignored failure: {}", success);
}
stm.context.mainloop.signal();
}
fn context_success(_: &pulse::Context, success: i32, u: *mut c_void) {
let ctx = unsafe { &*(u as *mut PulseContext) };
debug_assert_ne!(success, 0);
if success != 1 {
cubeb_log!("context_success ignored failure: {}", success);
}
ctx.mainloop.signal();
}