Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

YUP is a C++20 framework for building native applications, audio tools, and audio plugins with one codebase across desktop, mobile, and the web. It combines permissively licensed JUCE7-derived foundations with modern rendering through the open source [Rive](https://rive.app/) renderer and YUP's own evolving graphics, GUI, DSP, audio graph, and plugin layers.

[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/kunitoki/yup)
[![Build And Test MacOS](https://github.com/kunitoki/yup/actions/workflows/build_macos.yml/badge.svg)](https://github.com/kunitoki/yup/actions/workflows/build_macos.yml)
[![Build And Test Windows](https://github.com/kunitoki/yup/actions/workflows/build_windows.yml/badge.svg)](https://github.com/kunitoki/yup/actions/workflows/build_windows.yml)
[![Build And Test Linux](https://github.com/kunitoki/yup/actions/workflows/build_linux.yml/badge.svg)](https://github.com/kunitoki/yup/actions/workflows/build_linux.yml)
Expand Down
11 changes: 11 additions & 0 deletions examples/audiograph/source/AudioGraphApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void AudioGraphApp::resized()
saveButton.setBounds (toolbar.removeFromLeft (70).reduced (4, 4));
toolbar.removeFromLeft (8);
scanButton.setBounds (toolbar.removeFromLeft (100).reduced (4, 4));
settingsButton.setBounds (toolbar.removeFromLeft (80).reduced (4, 4));
statusLabel.setBounds (toolbar.reduced (4, 4));

editorPanel->setBounds (bounds);
Expand Down Expand Up @@ -245,6 +246,16 @@ void AudioGraphApp::setupToolbar()
};
addAndMakeVisible (scanButton);

settingsButton.setButtonText ("Settings");
settingsButton.onClick = [this]
{
if (deviceManagerWindow == nullptr)
deviceManagerWindow = std::make_unique<yup::AudioDeviceManagerWindow> (deviceManager);
deviceManagerWindow->setVisible (true);
deviceManagerWindow->toFront (true);
};
addAndMakeVisible (settingsButton);

statusLabel.setText ("Ready.", yup::dontSendNotification);
addAndMakeVisible (statusLabel);
}
Expand Down
3 changes: 3 additions & 0 deletions examples/audiograph/source/AudioGraphApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@ class AudioGraphApp final
yup::TextButton openButton;
yup::TextButton saveButton;
yup::TextButton scanButton;
yup::TextButton settingsButton;
yup::Label statusLabel;

std::unique_ptr<yup::AudioDeviceManagerWindow> deviceManagerWindow;

bool audioCallbackRegistered = false;

#if YUP_DESKTOP
Expand Down
Loading
Loading