16 stable releases
|2.6.0||Mar 11, 2019|
|2.5.0||Dec 22, 2018|
|2.4.0||Nov 28, 2018|
|2.0.1||Jun 26, 2018|
|1.0.2||Feb 9, 2018|
#41 in Audio
99 downloads per month
A Rust language binding for the PulseAudio libpulse-mainloop-glib library.
Add this to your
[dependencies] libpulse_binding = "2.0" libpulse_glib_binding = "2.0"
and this to your crate root:
extern crate libpulse_binding as pulse; extern crate libpulse_glib_binding as pulse_glib;
PulseAudio Rust language binding library for the ‘GLIB mainloop’ component.
This component provides a wrapper around the GLIB main loop. Use this to embed PulseAudio into your GLIB/GTK+/GNOME programs.
This library is a binding that allows Rust code to connect to the PulseAudio sound server via
PulseAudio’s existing C API. This binding provides a safe(r) Rust interface which might be
preferred over the raw C API provided by the underlying
sys linking crate.
This crate provides an interface to PulseAudio’s ‘GLIB mainloop’ component, and should be used
in addition to the general
The GLIB main loop bindings are extremely easy to use. All that is required is to create a
Mainloop object using
Mainloop::new. When the main loop abstraction is needed, it is
Firstly, add a dependency on the crate in your program’s
Cargo.toml file. Secondly, import the
crate along with the general
libpulse_binding crate to the root of your program:
extern crate libpulse_binding as pulse; extern crate libpulse_glib_binding as pglib;
See the documentation in
libpulse_binding for further information regarding actual usage of