Logo Search packages:      
Sourcecode: akode version File versions  Download package

void aKode::Player::close (  ) 

Closes the player and releases the sink Valid in all states.

State: Open -> Closed

Definition at line 246 of file player.cpp.

References state(), and unload().

Referenced by open().

    if (state() == Closed) return;
    if (state() != Open)

    assert(state() == Open);

    delete d->volume_filter;
    d->volume_filter = 0;

    delete d->sink;
    d->sink = 0;

Generated by  Doxygen 1.6.0   Back to index