All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
MainController::SampleManager Class Reference

Public Member Functions

SampleThreadPool * getGlobalSampleThreadPool ()
 
ModulatorSamplerSoundPoolgetModulatorSamplerSoundPool () const
 
void copySamplesToClipboard (const Array< WeakReference< ModulatorSamplerSound >> &soundsToCopy)
 
int getStreamingBufferSize () const
 
const ValueTree getLoadedSampleMap (const String &fileName) const
 
const AudioSampleBufferPoolgetAudioSampleBufferPool () const
 
AudioSampleBufferPoolgetAudioSampleBufferPool ()
 

Detailed Description

Contains all methods related to sample management.

Member Function Documentation

void copySamplesToClipboard ( const Array< WeakReference< ModulatorSamplerSound >> &  soundsToCopy)

Copies the samples to an internal clipboard for copy & paste functionality.

const AudioSampleBufferPool* getAudioSampleBufferPool ( ) const
inline

Returns the impulse response pool.

AudioSampleBufferPool* getAudioSampleBufferPool ( )
inline

Returns the impulse response pool.

SampleThreadPool* getGlobalSampleThreadPool ( )
inline

returns a pointer to the thread pool that streams the samples from disk.

const ValueTree getLoadedSampleMap ( const String &  fileName) const

Returns the ValueTree that represents the samplemap with the specified file name.

This is used when a sample map is loaded - it checks if the name already exists in the loaded monolithic data and loads the sounds from there if there is a match.

ModulatorSamplerSoundPool* getModulatorSamplerSoundPool ( ) const
inline

returns a pointer to the global sample pool

int getStreamingBufferSize ( ) const
inline

returns the fixed streaming buffer size.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.