mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2025-04-14 08:44:46 +00:00
qemu-display: add Audio.NSamples property
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
b1f58e8704
commit
5a62c23a80
@ -63,6 +63,10 @@ pub trait Audio {
|
||||
|
||||
/// RegisterInListener method
|
||||
fn register_in_listener(&self, listener: Fd<'_>) -> zbus::Result<()>;
|
||||
|
||||
/// NSamples property
|
||||
#[zbus(property, name = "NSamples")]
|
||||
fn nsamples(&self) -> zbus::Result<u32>;
|
||||
}
|
||||
|
||||
#[derive(derivative::Derivative)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user