VCV Rack API v2
Loading...
Searching...
No Matches
AudioDisplay.hpp
Go to the documentation of this file.
1#pragma once
2#include <app/common.hpp>
3#include <app/LedDisplay.hpp>
4#include <ui/Menu.hpp>
5#include <app/SvgButton.hpp>
6#include <audio.hpp>
7
8
9namespace rack {
74} // namespace rack
void appendAudioMenu(ui::Menu *menu, audio::Port *port)
Appends menu items to the given menu with driver, device, etc.
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Definition AudioDisplay.hpp:34
void onAction(const ActionEvent &e) override
audio::Port * port
Definition AudioDisplay.hpp:35
void step() override
Advances the module by one frame.
A virtual audio port graphic that displays an audio menu when clicked.
Definition AudioDisplay.hpp:60
void onAction(const ActionEvent &e) override
audio::Port * port
Definition AudioDisplay.hpp:61
void setAudioPort(audio::Port *port)
Definition AudioDisplay.hpp:20
void step() override
Advances the module by one frame.
audio::Port * port
Definition AudioDisplay.hpp:21
void onAction(const ActionEvent &e) override
Definition AudioDisplay.hpp:41
void onAction(const ActionEvent &e) override
Designed for Audio-8 and Audio-16 module.
Definition AudioDisplay.hpp:47
AudioSampleRateChoice * sampleRateChoice
Definition AudioDisplay.hpp:52
LedDisplaySeparator * deviceSeparator
Definition AudioDisplay.hpp:51
AudioDeviceChoice * deviceChoice
Definition AudioDisplay.hpp:50
LedDisplaySeparator * sampleRateSeparator
Definition AudioDisplay.hpp:53
LedDisplaySeparator * driverSeparator
Definition AudioDisplay.hpp:49
void setAudioPort(audio::Port *port)
AudioDriverChoice * driverChoice
Definition AudioDisplay.hpp:48
AudioBlockSizeChoice * bufferSizeChoice
Definition AudioDisplay.hpp:54
Definition AudioDisplay.hpp:13
audio::Port * port
Definition AudioDisplay.hpp:14
void step() override
Advances the module by one frame.
void onAction(const ActionEvent &e) override
Definition AudioDisplay.hpp:27
audio::Port * port
Definition AudioDisplay.hpp:28
void onAction(const ActionEvent &e) override
void step() override
Advances the module by one frame.
Definition LedDisplay.hpp:22
Definition LedDisplay.hpp:17
Definition LedDisplay.hpp:12
Definition SvgButton.hpp:13
A handle to a Device, typically owned by modules to have shared access to a single Device.
Definition audio.hpp:147
Definition Menu.hpp:11
Occurs after a certain action is triggered on a Widget.
Definition Widget.hpp:445