MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_sample_rate()

MAYAFLUX_API uint32_t MayaFlux::Config::get_sample_rate ( )

Gets the sample rate from the default engine.

Returns
Current sample rate in Hz

Definition at line 46 of file Config.cpp.

47{
49}
GlobalStreamInfo & get_stream_info()
Gets the current stream configuration.
Definition Engine.hpp:210
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:56
uint32_t sample_rate
Number of samples processed per second (Hz)

References MayaFlux::get_context(), MayaFlux::Core::Engine::get_stream_info(), and MayaFlux::Core::GlobalStreamInfo::sample_rate.

Referenced by MayaFlux::Nodes::ModalNetwork::initialize_modes(), MayaFlux::load_audio_file(), MayaFlux::Nodes::Generator::Logic::process_sample(), MayaFlux::Buffers::FileBridgeBuffer::setup_chain_and_processor(), MayaFlux::Nodes::Generator::Impulse::update_phase_increment(), MayaFlux::Nodes::Generator::Phasor::update_phase_increment(), and MayaFlux::Nodes::Generator::Sine::update_phase_increment().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: