hydrogen 1.2.6
Sample::Loops Class Reference

set of loop configuration flags More...

#include <Sample.h>

Public Types

enum  LoopMode { FORWARD =0 , REVERSE , PINGPONG }
 possible sample editing loop mode More...
 

Public Member Functions

 Loops ()
 constructor
 
 Loops (const Loops *other)
 copy constructor
 
bool operator== (const Loops &b) const
 equal to operator
 
QString toQString (const QString &sPrefix="", bool bShort=true) const
 

Data Fields

int count
 the counts of loops to apply
 
int end_frame
 the frame index where to end the new sample to
 
int loop_frame
 the frame index where to start the loop from
 
LoopMode mode
 one of the possible loop modes
 
int start_frame
 the frame index where to start the new sample from
 

Detailed Description

set of loop configuration flags

Definition at line 77 of file Sample.h.

Member Enumeration Documentation

◆ LoopMode

enum LoopMode

possible sample editing loop mode

Enumerator
FORWARD 
REVERSE 
PINGPONG 

Definition at line 81 of file Sample.h.

Constructor & Destructor Documentation

◆ Loops() [1/2]

Loops ( )
inline

constructor

Definition at line 92 of file Sample.h.

◆ Loops() [2/2]

Loops ( const Loops * other)
inline

copy constructor

Definition at line 94 of file Sample.h.

Member Function Documentation

◆ operator==()

bool operator== ( const Loops & b) const
inline

equal to operator

Definition at line 101 of file Sample.h.

◆ toQString()

QString toQString ( const QString & sPrefix = "",
bool bShort = true ) const

Definition at line 769 of file Sample.cpp.

Field Documentation

◆ count

int count

the counts of loops to apply

Definition at line 89 of file Sample.h.

◆ end_frame

int end_frame

the frame index where to end the new sample to

Definition at line 88 of file Sample.h.

◆ loop_frame

int loop_frame

the frame index where to start the loop from

Definition at line 87 of file Sample.h.

◆ mode

LoopMode mode

one of the possible loop modes

Definition at line 90 of file Sample.h.

◆ start_frame

int start_frame

the frame index where to start the new sample from

Definition at line 86 of file Sample.h.