|
LMMS
|
#include <SampleClip.h>
Public Slots | |
| void | setSampleFile (const QString &sf) |
| void | updateLength () |
| void | toggleRecord () |
| void | playbackPositionChanged () |
| void | updateTrackClips () |
| Public Slots inherited from lmms::Clip | |
| void | toggleMute () |
| Mutes this Clip. | |
Signals | |
| void | sampleChanged () |
| void | wasReversed () |
| Signals inherited from lmms::Clip | |
| void | lengthChanged () |
| void | positionChanged () |
| void | destroyedClip () |
| void | colorChanged () |
| Signals inherited from lmms::Model | |
| void | dataChanged () |
| void | dataUnchanged () |
| void | propertiesChanged () |
Protected Member Functions | |
| SampleClip (const SampleClip &orig) | |
| Protected Member Functions inherited from lmms::Clip | |
| Clip (const Clip &other) | |
| Copy a Clip. | |
| Protected Member Functions inherited from lmms::JournallingObject | |
| void | changeID (jo_id_t _id) |
Private Member Functions | |
| mapPropertyFromModel (bool, isRecord, setRecord, m_recordModel) | |
Private Attributes | |
| Sample | m_sample |
| BoolModel | m_recordModel |
| bool | m_isPlaying |
Friends | |
| class | gui::SampleClipView |
Additional Inherited Members | |
| Static Public Member Functions inherited from lmms::Clip | |
| static bool | comparePosition (const Clip *a, const Clip *b) |
| Returns true if and only if a->startPosition() < b->startPosition(). | |
| static void | copyStateTo (Clip *src, Clip *dst) |
| Copies the state of a Clip to another Clip. | |
| lmms::SampleClip::SampleClip | ( | Track * | track | ) |
|
override |
|
protected |
Change the length of this Clip.
If the clip's length has changed, update it. We also add a journal entry for undo and update the display.
| _length | The new length of the clip. |
Reimplemented from lmms::Clip.
|
inlineoverridevirtual |
|
overridevirtual |
Implements lmms::Clip.
| bool lmms::SampleClip::hasSampleFileLoaded | ( | const QString & | filename | ) | const |
| bool lmms::SampleClip::isPlaying | ( | ) | const |
Implements lmms::SerializingObject.
|
private |
|
inlineoverridevirtual |
Implements lmms::SerializingObject.
|
delete |
|
slot |
|
inline |
|
signal |
| const QString & lmms::SampleClip::sampleFile | ( | ) | const |
| TimePos lmms::SampleClip::sampleLength | ( | ) | const |
|
overridevirtual |
Implements lmms::SerializingObject.
| void lmms::SampleClip::setIsPlaying | ( | bool | isPlaying | ) |
| void lmms::SampleClip::setSampleBuffer | ( | std::shared_ptr< const SampleBuffer > | sb | ) |
|
slot |
|
slot |
|
slot |
|
signal |
|
friend |
|
private |
|
private |
|
private |