Bug 1380233 - Update cubeb pulse rust backend from upstream to 3b8cfba. r=kamidphish

MozReview-Commit-ID: CKfpyKaqLSe

--HG--
extra : rebase_source : 7675f4a21e45465939b0457e5ed34f88985e53fb
This commit is contained in:
Alex Chronopoulos 2017-07-13 13:07:32 +03:00
Родитель 48c9b10048
Коммит cfc97eef59
3 изменённых файлов: 3 добавлений и 1 удалений

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

@ -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 64515819cdf54a16626df5dce5f5c7cb1220d53b (2017-06-19 17:41:30 +1000)
The git commit ID used was 3b8cfba161cec66bee6a755bce102466baa92ddb (2017-07-07 14:57:07 +1000)

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

@ -227,6 +227,7 @@ pub struct Ops {
pub stream_destroy: Option<unsafe extern "C" fn(stream: *mut Stream)>,
pub stream_start: Option<unsafe extern "C" fn(stream: *mut Stream) -> i32>,
pub stream_stop: Option<unsafe extern "C" fn(stream: *mut Stream) -> i32>,
pub stream_reset_default_device: Option<unsafe extern "C" fn(stream: *mut Stream) -> i32>,
pub stream_get_position: Option<unsafe extern "C" fn(stream: *mut Stream, position: *mut u64) -> i32>,
pub stream_get_latency: Option<unsafe extern "C" fn(stream: *mut Stream, latency: *mut u32) -> i32>,
pub stream_set_volume: Option<unsafe extern "C" fn(stream: *mut Stream, volumes: f32) -> i32>,

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

@ -232,6 +232,7 @@ pub const PULSE_OPS: cubeb::Ops = cubeb::Ops {
stream_destroy: Some(capi_stream_destroy),
stream_start: Some(capi_stream_start),
stream_stop: Some(capi_stream_stop),
stream_reset_default_device: None,
stream_get_position: Some(capi_stream_get_position),
stream_get_latency: Some(capi_stream_get_latency),
stream_set_volume: Some(capi_stream_set_volume),