[][src]Module ggez::audio

Provides an interface to output sound to the user's speakers.

It consists of two main types: SoundData is just an array of raw sound data bytes, and a Source is a SoundData connected to a particular sound channel ready to be played.



Static sound data stored in memory. It is Arc'ed, so cheap to clone.


A source of audio data that is connected to an output channel and ready to play. It will stop playing when dropped.


A source of audio data located in space relative to a listener's ears. Will stop playing when dropped.



A trait object defining an audio context, allowing us to someday use something other than rodio if we really want.


A trait defining the operations possible on a sound; it is implemented by both Source and SpatialSource.