libgig  3.3.0.svn4
gig::playback_state_t Struct Reference

Reflects the current playback state for a sample. More...

#include <gig.h>

Public Attributes

unsigned long position
 Current position within the sample. More...
 
bool reverse
 If playback direction is currently backwards (in case there is a pingpong or reverse loop defined). More...
 
unsigned long loop_cycles_left
 How many times the loop has still to be passed, this value will be decremented with each loop cycle. More...
 

Detailed Description

Reflects the current playback state for a sample.

Definition at line 297 of file gig.h.

Member Data Documentation

unsigned long gig::playback_state_t::loop_cycles_left

How many times the loop has still to be passed, this value will be decremented with each loop cycle.

Definition at line 300 of file gig.h.

Referenced by gig::Sample::ReadAndLoop().

unsigned long gig::playback_state_t::position

Current position within the sample.

Definition at line 298 of file gig.h.

Referenced by gig::Sample::ReadAndLoop().

bool gig::playback_state_t::reverse

If playback direction is currently backwards (in case there is a pingpong or reverse loop defined).

Definition at line 299 of file gig.h.

Referenced by gig::Sample::ReadAndLoop().


The documentation for this struct was generated from the following file: