|
LMMS
|
#include <AudioSampleRecorder.h>
Public Member Functions | |
| AudioSampleRecorder (const ch_cnt_t _channels, bool &_success_ful, AudioEngine *audioEngine) | |
| ~AudioSampleRecorder () override | |
| f_cnt_t | framesRecorded () const |
| std::shared_ptr< const SampleBuffer > | createSampleBuffer () |
| Public Member Functions inherited from lmms::AudioDevice | |
| AudioDevice (const ch_cnt_t _channels, AudioEngine *audioEngine) | |
| virtual | ~AudioDevice () |
| void | lock () |
| void | unlock () |
| virtual void | registerPort (AudioBusHandle *port) |
| virtual void | unregisterPort (AudioBusHandle *port) |
| virtual void | renamePort (AudioBusHandle *port) |
| bool | supportsCapture () const |
| sample_rate_t | sampleRate () const |
| void | processNextBuffer () |
| virtual void | startProcessing () |
| virtual void | stopProcessing () |
Private Types | |
| using | BufferList = QList<QPair<SampleFrame*, f_cnt_t>> |
Private Member Functions | |
| void | writeBuffer (const SampleFrame *_ab, const f_cnt_t _frames) override |
Private Attributes | |
| BufferList | m_buffers |
Additional Inherited Members | |
| Protected Member Functions inherited from lmms::AudioDevice | |
| f_cnt_t | getNextBuffer (SampleFrame *_ab) |
| int | convertToS16 (const SampleFrame *_ab, const f_cnt_t _frames, int_sample_t *_output_buffer, const bool _convert_endian=false) |
| void | clearS16Buffer (int_sample_t *_outbuf, const f_cnt_t _frames) |
| ch_cnt_t | channels () const |
| void | setSampleRate (const sample_rate_t _new_sr) |
| void | setChannels (const ch_cnt_t channels) |
| AudioEngine * | audioEngine () |
| Static Protected Member Functions inherited from lmms::AudioDevice | |
| static void | stopProcessingThread (QThread *thread) |
| Protected Attributes inherited from lmms::AudioDevice | |
| bool | m_supportsCapture |
|
private |
| lmms::AudioSampleRecorder::AudioSampleRecorder | ( | const ch_cnt_t | _channels, |
| bool & | _success_ful, | ||
| AudioEngine * | audioEngine ) |
|
override |
| std::shared_ptr< const SampleBuffer > lmms::AudioSampleRecorder::createSampleBuffer | ( | ) |
| f_cnt_t lmms::AudioSampleRecorder::framesRecorded | ( | ) | const |
|
overrideprivatevirtual |
Reimplemented from lmms::AudioDevice.
|
private |