Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::test_helpers::MockAudioIODevice Class Reference
Inheritance diagram for zrythm::test_helpers::MockAudioIODevice:
Collaboration diagram for zrythm::test_helpers::MockAudioIODevice:

Public Member Functions

juce::StringArray getOutputChannelNames () override
juce::StringArray getInputChannelNames () override
juce::Array< double > getAvailableSampleRates () override
juce::Array< int > getAvailableBufferSizes () override
juce::String open (const juce::BigInteger &inputChannels, const juce::BigInteger &outputChannels, double requestedSampleRate, int requestedBufferSize) override
void close () override
bool isOpen () override
void start (juce::AudioIODeviceCallback *callback) override
void stop () override
bool isPlaying () override
juce::String getLastError () override
int getCurrentBufferSizeSamples () override
double getCurrentSampleRate () override
int getCurrentBitDepth () override
juce::BigInteger getActiveOutputChannels () const override
juce::BigInteger getActiveInputChannels () const override
int getOutputLatencyInSamples () override
int getInputLatencyInSamples () override
int getDefaultBufferSize () override

Detailed Description

Definition at line 12 of file mock_audio_io_device.h.

Constructor & Destructor Documentation

◆ MockAudioIODevice()

zrythm::test_helpers::MockAudioIODevice::MockAudioIODevice ( )
inline

Definition at line 15 of file mock_audio_io_device.h.

Member Function Documentation

◆ close()

void zrythm::test_helpers::MockAudioIODevice::close ( )
inlineoverride

Definition at line 52 of file mock_audio_io_device.h.

◆ getActiveInputChannels()

juce::BigInteger zrythm::test_helpers::MockAudioIODevice::getActiveInputChannels ( ) const
inlineoverride

Definition at line 91 of file mock_audio_io_device.h.

◆ getActiveOutputChannels()

juce::BigInteger zrythm::test_helpers::MockAudioIODevice::getActiveOutputChannels ( ) const
inlineoverride

Definition at line 84 of file mock_audio_io_device.h.

◆ getAvailableBufferSizes()

juce::Array< int > zrythm::test_helpers::MockAudioIODevice::getAvailableBufferSizes ( )
inlineoverride

Definition at line 36 of file mock_audio_io_device.h.

◆ getAvailableSampleRates()

juce::Array< double > zrythm::test_helpers::MockAudioIODevice::getAvailableSampleRates ( )
inlineoverride

Definition at line 31 of file mock_audio_io_device.h.

◆ getCurrentBitDepth()

int zrythm::test_helpers::MockAudioIODevice::getCurrentBitDepth ( )
inlineoverride

Definition at line 82 of file mock_audio_io_device.h.

◆ getCurrentBufferSizeSamples()

int zrythm::test_helpers::MockAudioIODevice::getCurrentBufferSizeSamples ( )
inlineoverride

Definition at line 80 of file mock_audio_io_device.h.

◆ getCurrentSampleRate()

double zrythm::test_helpers::MockAudioIODevice::getCurrentSampleRate ( )
inlineoverride

Definition at line 81 of file mock_audio_io_device.h.

◆ getDefaultBufferSize()

int zrythm::test_helpers::MockAudioIODevice::getDefaultBufferSize ( )
inlineoverride

Definition at line 101 of file mock_audio_io_device.h.

◆ getInputChannelNames()

juce::StringArray zrythm::test_helpers::MockAudioIODevice::getInputChannelNames ( )
inlineoverride

Definition at line 26 of file mock_audio_io_device.h.

◆ getInputLatencyInSamples()

int zrythm::test_helpers::MockAudioIODevice::getInputLatencyInSamples ( )
inlineoverride

Definition at line 99 of file mock_audio_io_device.h.

◆ getLastError()

juce::String zrythm::test_helpers::MockAudioIODevice::getLastError ( )
inlineoverride

Definition at line 78 of file mock_audio_io_device.h.

◆ getOutputChannelNames()

juce::StringArray zrythm::test_helpers::MockAudioIODevice::getOutputChannelNames ( )
inlineoverride

Definition at line 21 of file mock_audio_io_device.h.

◆ getOutputLatencyInSamples()

int zrythm::test_helpers::MockAudioIODevice::getOutputLatencyInSamples ( )
inlineoverride

Definition at line 98 of file mock_audio_io_device.h.

◆ isOpen()

bool zrythm::test_helpers::MockAudioIODevice::isOpen ( )
inlineoverride

Definition at line 54 of file mock_audio_io_device.h.

◆ isPlaying()

bool zrythm::test_helpers::MockAudioIODevice::isPlaying ( )
inlineoverride

Definition at line 76 of file mock_audio_io_device.h.

◆ open()

juce::String zrythm::test_helpers::MockAudioIODevice::open ( const juce::BigInteger & inputChannels,
const juce::BigInteger & outputChannels,
double requestedSampleRate,
int requestedBufferSize )
inlineoverride

Definition at line 41 of file mock_audio_io_device.h.

◆ start()

void zrythm::test_helpers::MockAudioIODevice::start ( juce::AudioIODeviceCallback * callback)
inlineoverride

Definition at line 56 of file mock_audio_io_device.h.

◆ stop()

void zrythm::test_helpers::MockAudioIODevice::stop ( )
inlineoverride

Definition at line 66 of file mock_audio_io_device.h.


The documentation for this class was generated from the following file: