Function songbird::tracks::create_player[][src]

pub fn create_player(source: Input) -> (Track, TrackHandle)

Creates a Track object to pass into the audio context, and a TrackHandle for safe, lock-free access in external code.

Typically, this would be used if you wished to directly work on or configure the Track object before it is passed over to the driver.