Struct sdl2_mixer::Chunk [] [src]

pub struct Chunk {
    pub raw: *mut Struct_Mix_Chunk,
    pub owned: bool,
}

The internal format for an audio chunk.

Fields

Methods

impl Chunk
[src]

Load file for use as a sample.

Set chunk->volume to volume.

current volume for the chunk.

Trait Implementations

impl PartialEq for Chunk
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Drop for Chunk
[src]

A method called when the value goes out of scope. Read more