|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
A thumbnail represeting a recording file. More...
#include "tracktion_RecordingThumbnailManager.h"
Public Types | |
| using | Ptr = juce::ReferenceCountedObjectPtr< Thumbnail > |
Public Member Functions | |
| ~Thumbnail () | |
| Destructor. | |
| void | reset (int numChannels, double sampleRate) |
| Destructor. | |
| void | addBlock (const juce::AudioBuffer< float > &incoming, int startOffsetInBuffer, int numSamples) |
| Adss a block of recorded data to the thumbnail. | |
Public Member Functions inherited from juce::ReferenceCountedObject | |
| void | incReferenceCount () noexcept |
| void | decReferenceCount () noexcept |
| bool | decReferenceCountWithoutDeleting () noexcept |
| int | getReferenceCount () const noexcept |
Public Attributes | |
| Engine & | engine |
| The Engine instance this belongs to. | |
| const std::unique_ptr< juce::AudioThumbnailBase > | thumb |
| The thumbnail. | |
| juce::File | file |
| The file this thumbnail represents. | |
| const HashCode | hash |
| A hash uniquely identifying this thumbnail. | |
| TimePosition | punchInTime |
| The time the start of this thumbnail represents. | |
Friends | |
| class | RecordingThumbnailManager |
Additional Inherited Members | |
Protected Member Functions inherited from juce::ReferenceCountedObject | |
| ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
| ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
| ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
| ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
| void | resetReferenceCount () noexcept |
A thumbnail represeting a recording file.
Get one of these for a file with the getThumbnailFor function.
Definition at line 26 of file tracktion_RecordingThumbnailManager.h.
| using tracktion::engine::RecordingThumbnailManager::Thumbnail::Ptr = juce::ReferenceCountedObjectPtr<Thumbnail> |
Definition at line 28 of file tracktion_RecordingThumbnailManager.h.
| tracktion::engine::RecordingThumbnailManager::Thumbnail::~Thumbnail | ( | ) |
Destructor.
Definition at line 37 of file tracktion_RecordingThumbnailManager.h.
| void tracktion::engine::RecordingThumbnailManager::Thumbnail::addBlock | ( | const juce::AudioBuffer< float > & | incoming, |
| int | startOffsetInBuffer, | ||
| int | numSamples | ||
| ) |
Adss a block of recorded data to the thumbnail.
This is called by the engine so shouldn't need to be called manually.
Definition at line 53 of file tracktion_RecordingThumbnailManager.h.
| void tracktion::engine::RecordingThumbnailManager::Thumbnail::reset | ( | int | numChannels, |
| double | sampleRate | ||
| ) |
Destructor.
Definition at line 44 of file tracktion_RecordingThumbnailManager.h.
|
friend |
Definition at line 60 of file tracktion_RecordingThumbnailManager.h.
| Engine& tracktion::engine::RecordingThumbnailManager::Thumbnail::engine |
The Engine instance this belongs to.
Definition at line 30 of file tracktion_RecordingThumbnailManager.h.
| juce::File tracktion::engine::RecordingThumbnailManager::Thumbnail::file |
The file this thumbnail represents.
Definition at line 32 of file tracktion_RecordingThumbnailManager.h.
| const HashCode tracktion::engine::RecordingThumbnailManager::Thumbnail::hash |
A hash uniquely identifying this thumbnail.
Definition at line 33 of file tracktion_RecordingThumbnailManager.h.
| TimePosition tracktion::engine::RecordingThumbnailManager::Thumbnail::punchInTime |
The time the start of this thumbnail represents.
Definition at line 34 of file tracktion_RecordingThumbnailManager.h.
| const std::unique_ptr<juce::AudioThumbnailBase> tracktion::engine::RecordingThumbnailManager::Thumbnail::thumb |
The thumbnail.
Definition at line 31 of file tracktion_RecordingThumbnailManager.h.