Skip to content

cramertj/rust-jack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust JACK

Build Status

Nice Rust bindings for JACK Audio Connection Kit

Documentation

"C" & Rust API differences

  • String lengths in the "C" API include the NULL character while these Rust bindings do not. generally rust_size(x) = c_size(x) - 1.
  • "C" bindings require functions to be registered while Rust bindings register an object with the trait JackHandler.
  • jack_on_shutdown has been removed, uses only jack_on_info_shutdown.
  • Rust enums vs C enums
  • Rust bitflags vs C integers used as flags
  • deprecated Jack functions are not used/implemented in Rust bindings

Progress

Sections based on the main page sections on the Jack API.

TODO

  • implement things with unimplemented!()
  • Managing and determining latency
  • Transport and Timebase control
  • The non-callback API
  • Reading and writing MIDI data
  • Session API for clients.
  • managing support for newer/older versions of JACK
  • the API for starting and controlling a JACK server
    • Metadata API.

Other TODOS

  • make safer
  • better error reporting

About

Decent jack bindings for rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%