Compare commits
No commits in common. "bb097cd3d5868037121ec29f85d4ec5e69f278ed" and "e02bc10ebcd7576831c717b48a048406331e23e1" have entirely different histories.
bb097cd3d5
...
e02bc10ebc
2 changed files with 9 additions and 11 deletions
|
@ -47,6 +47,5 @@ audrey_c = static_library(
|
||||||
'--gresources',
|
'--gresources',
|
||||||
meson.project_source_root() / 'resources/audrey.gresource.xml',
|
meson.project_source_root() / 'resources/audrey.gresource.xml',
|
||||||
],
|
],
|
||||||
vala_header: 'audrey.h',
|
|
||||||
vala_gir: 'audrey-0.gir',
|
vala_gir: 'audrey-0.gir',
|
||||||
)
|
)
|
||||||
|
|
17
src/mpv.rs
17
src/mpv.rs
|
@ -4,8 +4,7 @@
|
||||||
#[allow(unreachable_code)]
|
#[allow(unreachable_code)]
|
||||||
mod ffi;
|
mod ffi;
|
||||||
|
|
||||||
#[link(name = "mpv")]
|
#[link(name = "mpv")] extern "C" {}
|
||||||
extern "C" {}
|
|
||||||
|
|
||||||
pub struct Error(std::ffi::c_int);
|
pub struct Error(std::ffi::c_int);
|
||||||
|
|
||||||
|
@ -74,7 +73,7 @@ impl Handle {
|
||||||
22 => todo!("Event::PropertyChange"),
|
22 => todo!("Event::PropertyChange"),
|
||||||
24 => todo!("Event::QueueOverflow"),
|
24 => todo!("Event::QueueOverflow"),
|
||||||
25 => todo!("Event::Hook"),
|
25 => todo!("Event::Hook"),
|
||||||
_ => Some(Event::Ignore(event.event_id)),
|
_ => Event::Ignore(event.event_id),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -133,15 +132,15 @@ impl<'a> FormatData<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct EventProperty<'a> {
|
pub struct EventProperty<'a> {
|
||||||
pub name: &'a str,
|
name: &'a str,
|
||||||
pub value: FormatData<'a>,
|
value: FormatData<'a>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct EventLogMessage<'a> {
|
pub struct EventLogMessage<'a> {
|
||||||
pub prefix: &'a str,
|
prefix: &'a str,
|
||||||
pub level: &'a str,
|
level: &'a str,
|
||||||
pub text: &'a str,
|
text: &'a str,
|
||||||
pub log_level: i32,
|
log_level: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub enum EndFileReason {
|
pub enum EndFileReason {
|
||||||
|
|
Loading…
Reference in a new issue