text
stringlengths
1
24.5M
#include <vector> namespace wav_mono_16bit_48000 { int numSamplesPerChannel = 384000; int bitDepth = 16; uint32_t sampleRate = 48000; int numChannels = 1; std::vector<double> testBuffer = {0.0177001953125, 0.003509521484375, -0.01373291015625, 0.01617431640625, 0.0201416015625, -0.03125, -0.07720947265625, 0.001770...
#include <vector> namespace wav_stereo_16bit_44100 { int numSamplesPerChannel = 352800; int bitDepth = 16; uint32_t sampleRate = 44100; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{0.0, -9.1552734375e-05, -0.00054931640625, -0.001190185546875, -0.00128173828125, 0.001983642578125, 0.01055908...
#include <vector> namespace wav_stereo_16bit_48000 { int numSamplesPerChannel = 384000; int bitDepth = 16; uint32_t sampleRate = 48000; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{0.009552001953125, 0.0015869140625, -0.0078125, 0.010101318359375, 0.015838623046875, -0.0091552734375, -0.0327...
#include <vector> namespace wav_stereo_24bit_44100 { int numSamplesPerChannel = 352800; int bitDepth = 24; uint32_t sampleRate = 44100; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{7.772445678710938e-05, 0.0004398822784423828, 0.006743192672729492, 0.01638209819793701, 0.015148758888244629, ...
#include <vector> namespace wav_stereo_24bit_48000 { int numSamplesPerChannel = 384000; int bitDepth = 24; uint32_t sampleRate = 48000; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{-0.0005353689193725586, -0.0018157958984375, -0.0024815797805786133, -0.0017586946487426758, -0.000969409942626...
#include <vector> namespace wav_stereo_32bit_44100 { int numSamplesPerChannel = 384873; int bitDepth = 32; uint32_t sampleRate = 44100; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{-0.11745091527700424, -0.1519666165113449, -0.10189135372638702, -0.08010855317115784, -0.08006346225738525, -0...
#include <vector> namespace wav_stereo_32bit_48000 { int numSamplesPerChannel = 418909; int bitDepth = 32; uint32_t sampleRate = 48000; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{-0.10833723098039627, -0.13686230778694153, -0.08660777658224106, -0.07025191932916641, -0.07594943791627884, -...
#include <vector> namespace wav_stereo_8bit_44100 { int numSamplesPerChannel = 352800; int bitDepth = 8; uint32_t sampleRate = 44100; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{0.0, 0.0, 0.0, -0.0078125, 0.0078125, -0.0078125, 0.0078125, -0.0078125, 0.015625, -0.015625, 0.015625, -0.015625...
#include <vector> namespace wav_stereo_8bit_48000 { int numSamplesPerChannel = 384000; int bitDepth = 8; uint32_t sampleRate = 48000; int numChannels = 2; std::vector<std::vector<double>> testBuffer = {{0.0078125, -0.0078125, -0.0078125, -0.0078125, 0.03125, 0.03125, -0.0859375, -0.0703125, 0.140625, 0.0625, 0.0234...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _AUDIORINGBUFFER_HPP_ #define _AUDIORINGBUFFER_HPP_ #include <JuceHeader.h> namespace e47 { template <typename T> class AudioRingBuffer { public: Aud...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _CHANNELMAPPER_HPP_ #define _CHANNELMAPPER_HPP_ #include <JuceHeader.h> #include <set> #include "Utils.hpp" #include "ChannelSet.hpp" namespace e47 { clas...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _CHANNELSET_HPP_ #define _CHANNELSET_HPP_ #include <JuceHeader.h> #include <bitset> #include "Defaults.hpp" namespace e47 { class ChannelSet { public: #...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "CoreDump.hpp" #include "Utils.hpp" #include "Defaults.hpp" #ifdef JUCE_WINDOWS #include <windows.h> #include <dbghelp.h> #include <shellapi.h> #include <sh...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef CoreDump_hpp #define CoreDump_hpp #include <JuceHeader.h> namespace e47 { namespace CoreDump { void initialize(const String& appName, const String& filePre...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Defaults.hpp" #if JUCE_WINDOWS #include <windows.h> #endif namespace e47 { namespace Defaults { bool unixDomainSocketsSupported() noexcept { #ifdef JUCE_...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Defaults_hpp #define Defaults_hpp #include "Utils.hpp" namespace e47 { namespace Defaults { static constexpr int SERVER_PORT = 55056; static constexpr int ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef ImageDiff_hpp #define ImageDiff_hpp namespace e47 { namespace ImageDiff { static bool operator==(const PixelARGB& lhs, const PixelARGB& rhs) { return l...
/* __ _____ _____ _____ __| | __| | | | JSON for Modern C++ | | |__ | | | | | | version 3.7.3 |_____|_____|_____|_|___| https://github.com/nlohmann/json Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2013-2019 Niels Lohmann <http:/...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #if defined(__APPLE__) #include <ApplicationServices/ApplicationServices.h> #include <CoreFoundation/CoreFoundation.h> #elif defined(_WIN32) || defined(_WIN64) #inclu...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef KeyAndMouse_hpp #define KeyAndMouse_hpp #include <stdint.h> #include <string> #include <unordered_map> #include "KeyAndMouseCommon.hpp" namespace e47 { st...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef KeyAndMouseCommon_hpp #define KeyAndMouseCommon_hpp #include <string> #include <unordered_map> enum MouseEvType : uint8_t { MOVE, LEFT_DOWN, LEF...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Logger.hpp" #include "Defaults.hpp" #include "json.hpp" #if defined(JUCE_DEBUG) && defined(JUCE_WINDOWS) #include <windows.h> #endif using json = nlohmann...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Logger_hpp #define Logger_hpp #include <JuceHeader.h> #include <iostream> #include <fstream> namespace e47 { class Logger : public Thread { public: L...
/* mDNS/DNS-SD library - Public Domain - 2017 Mattias Jansson * * Modefied version for AudioGridder. * * This library provides a cross-platform mDNS and DNS-SD library in C. * The implementation is based on RFC 6762 and RFC 6763. * * The latest source code is always available at * * https://github.com/mjan...
/* mDNS/DNS-SD library - Public Domain - 2017 Mattias Jansson * * Modefied version for AudioGridder. * * This library provides a cross-platform mDNS and DNS-SD library in C. * The implementation is based on RFC 6762 and RFC 6763. * * The latest source code is always available at * * https://github.com/mjan...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Based on https://github.com/mjansson/mdns */ #include "mDNSConnector.hpp" #ifdef JUCE_WINDOWS #include <Winsock2.h> #include <Ws2tcpip.h> #include <iphlpapi.h> //...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Based on https://github.com/mjansson/mdns */ #ifndef mDNSConnector_hpp #define mDNSConnector_hpp #include <JuceHeader.h> #include "Utils.hpp" #include "mDNS.hpp" ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "MemoryFile.hpp" #ifndef JUCE_WINDOWS #include <fcntl.h> #include <unistd.h> #include <sys/mman.h> #endif namespace e47 { MemoryFile::MemoryFile(LogTag* t...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef __MEMORYFILE_H_ #define __MEMORYFILE_H_ #include <JuceHeader.h> #ifdef JUCE_WINDOWS #include <windows.h> #endif #include "Utils.hpp" namespace e47 { clas...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #if defined(AG_PLUGIN) || defined(AG_SERVER) #include "Message.hpp" #include <sys/types.h> #include <cstddef> #include "Metrics.hpp" #ifdef JUCE_WINDOWS #include <w...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Message_hpp #define Message_hpp #include "json.hpp" using json = nlohmann::json; #if defined(AG_PLUGIN) || defined(AG_SERVER) #include "KeyAndMouseCommon....
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Metrics.hpp" #include <cstddef> #include <memory> #include "SharedInstance.hpp" namespace e47 { Metrics::StatsMap Metrics::m_stats; std::mutex Metrics::m_...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Metrics_hpp #define Metrics_hpp #include <JuceHeader.h> #include <unordered_map> #include "SharedInstance.hpp" #include "Utils.hpp" #if JUCE_WINDOWS #ifdef...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Sentry.hpp" #include "Sentry.hpp" #include "Defaults.hpp" #include "Utils.hpp" #include "Version.hpp" #ifndef AG_SENTRY_ENABLED #define AG_SENTRY_ENABLED ...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _SENTRY_HPP_ #define _SENTRY_HPP_ namespace e47 { namespace Sentry { void initialize(); void cleanup(); void setEnabled(bool b); bool isEnabled(); } // na...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef ServerPlugin_hpp #define ServerPlugin_hpp #include <JuceHeader.h> #include "Utils.hpp" using json = nlohmann::json; namespace e47 { class ServerPlugin { ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Based on https://github.com/mjansson/mdns */ #include "ServiceReceiver.hpp" #include "Defaults.hpp" #include "mDNSConnector.hpp" #include "json.hpp" #include "Metr...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Based on https://github.com/mjansson/mdns */ #ifndef ServiceReceiver_hpp #define ServiceReceiver_hpp #include <JuceHeader.h> #include "mDNS.hpp" #include "Utils.h...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef SharedInstance_hpp #define SharedInstance_hpp #include <thread> #include <memory> namespace e47 { template <typename T> class SharedInstance { public: ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Signals.hpp" #include "Utils.hpp" #ifdef JUCE_WINDOWS #include <windows.h> #include <stdlib.h> #include <tchar.h> #else #include <execinfo.h> #endif #incl...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Signals_hpp #define Signals_hpp namespace e47 { namespace Signals { void initialize(); } // namespace Signals } // namespace e47 #endif /* Signals_hpp *...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Tracer.hpp" #include "Utils.hpp" #include "SharedInstance.hpp" #include "Defaults.hpp" #include "MemoryFile.hpp" namespace e47 { namespace Tracer { #defin...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef ThreadTracer_hpp #define ThreadTracer_hpp #include <JuceHeader.h> namespace e47 { class LogTag; class LogTagDelegate; namespace Tracer { void traceMessag...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include <cstddef> #include <iostream> #include <sstream> #include <iomanip> #include <map> #include <set> #include <vector> #include <limits> #include <fcntl.h> #inc...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include <JuceHeader.h> #include "Utils.hpp" #ifdef JUCE_WINDOWS #include <windows.h> #endif namespace e47 { String getLastErrorStr() { #ifdef JUCE_WINDOWS DW...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Utils_hpp #define Utils_hpp #ifdef AG_SERVER #define getApp() dynamic_cast<App*>(JUCEApplication::getInstance()) #endif #include "Logger.hpp" #ifndef JUCE_...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Version_hpp #define Version_hpp #define AUDIOGRIDDER_VERSION "dev-build" #define AUDIOGRIDDER_VERSIONW L"dev-build" #define AUDIOGRIDDER_VERSION_NUM "1.2.0" ...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "WindowHelper.hpp" #if !JUCE_MAC #ifdef JUCE_WINDOWS #include <windows.h> #endif namespace e47 { namespace WindowHelper { juce::Rectangle<int> getWindowS...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _WINDOWHELPER_HPP_ #define _WINDOWHELPER_HPP_ #include <JuceHeader.h> namespace e47 { namespace WindowHelper { juce::Rectangle<int> getWindowScreenBounds(j...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "WindowPositions.hpp" #include "Defaults.hpp" #if AG_SERVER #include "App.hpp" #include "Server.hpp" #endif namespace e47 { WindowPositions::WindowPositio...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef __WINDOWPOSITIONS_H_ #define __WINDOWPOSITIONS_H_ #include <JuceHeader.h> #include "Utils.hpp" #include "SharedInstance.hpp" #include "MemoryFile.hpp" name...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef AudioStreamer_hpp #define AudioStreamer_hpp #include <memory> #include "Client.hpp" #include "Metrics.hpp" namespace e47 { template <typename T> class Aud...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Client.hpp" #include <memory> #include "PluginProcessor.hpp" #include "ServiceReceiver.hpp" #include "AudioStreamer.hpp" #include "KeyAndMouse.hpp" #ifdef ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Client_hpp #define Client_hpp #include <JuceHeader.h> #include "Message.hpp" #include "ServerPlugin.hpp" #include "Defaults.hpp" #include "Utils.hpp" #inclu...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include <JuceHeader.h> #include "GenericEditor.hpp" namespace e47 { GenericEditor::GenericEditor(PluginProcessor& processor) : LogTag("editor"), m_processor(proces...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #pragma once #include <JuceHeader.h> #include "PluginProcessor.hpp" #include "Tracer.hpp" namespace e47 { class GenericEditor : public Component, public LogTag { ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Based on https://github.com/mjansson/mdns */ #include "ImageReader.hpp" #include "ImageDiff.hpp" namespace e47 { ImageReader::ImageReader() {} std::shared_ptr<I...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Based on https://github.com/mjansson/mdns */ #ifndef ImageReader_hpp #define ImageReader_hpp #include <JuceHeader.h> #include "Utils.hpp" #include "ImageDiff.hpp"...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Images.hpp" static const unsigned char resource_Images_server_png[] = { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, ...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Images_hpp #define Images_hpp #include <JuceHeader.h> class Images { public: static const char* server_png; static const int server_pngSize; s...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "NewServerWindow.hpp" #include <JuceHeader.h> namespace e47 { NewServerWindow::NewServerWindow(float x, float y) : TopLevelWindow("New Server", true) { ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef NewServerWindow_hpp #include <JuceHeader.h> namespace e47 { class NewServerWindow : public TopLevelWindow, public TextButton::Listener { public: NewS...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "PluginButton.hpp" using namespace e47; PluginButton::PluginButton(const String& id, const String& name, bool extraButtons) : TextButton(name), m_id(id...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef PluginButton_hpp #define PluginButton_hpp #include <JuceHeader.h> namespace e47 { class PluginButton : public TextButton { public: PluginButton(const...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "PluginEditor.hpp" #include "Images.hpp" #include "NewServerWindow.hpp" #include "PluginProcessor.hpp" #include "Version.hpp" #include "PluginSearchWindow.hp...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #pragma once #include <JuceHeader.h> #include "PluginButton.hpp" #include "PluginProcessor.hpp" #include "GenericEditor.hpp" #include "StatisticsWindow.hpp" #include...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "PluginProcessor.hpp" #include "PluginEditor.hpp" #include "Logger.hpp" #include "Metrics.hpp" #include "ServiceReceiver.hpp" #include "Version.hpp" #include...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #pragma once #include <JuceHeader.h> #include <set> #include "Client.hpp" #include "Utils.hpp" #include "json.hpp" #include "ChannelSet.hpp" #include "ChannelMapper...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "PluginSearchWindow.hpp" #include "PluginEditor.hpp" namespace e47 { PluginSearchWindow::PluginSearchWindow(float x, float y, PluginProcessor& p) : Top...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef PluginSearchWindow_hpp #define PluginSearchWindow_hpp #include <JuceHeader.h> #include "PluginProcessor.hpp" #include "ServerPlugin.hpp" #include "Defaults....
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "StatisticsWindow.hpp" #include "Client.hpp" #include "Metrics.hpp" #include "PluginEditor.hpp" #include "WindowPositions.hpp" #include <memory> #include <t...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef StatisticsWindow_hpp #define StatisticsWindow_hpp #include <JuceHeader.h> #include "Utils.hpp" #include "SharedInstance.hpp" namespace e47 { class PluginE...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "App.hpp" #include "Version.hpp" #include "ServiceReceiver.hpp" #include "Sentry.hpp" namespace e47 { void App::initialise(const String& /*commandLineParam...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef App_hpp #define App_hpp #include <JuceHeader.h> #include "Defaults.hpp" #include "Utils.hpp" #include "Images.hpp" #include "Message.hpp" #include "ServerPl...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Images.hpp" static const unsigned char resource_Images_wintray_png[] = { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82,...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Images_hpp #define Images_hpp #include <JuceHeader.h> class Images { public: static const char* tray_png; static const int tray_pngSize; stati...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "App.hpp" #include "PluginMonitor.hpp" #include "Images.hpp" #include "WindowPositions.hpp" namespace e47 { PluginMonitorWindow::PluginMonitorWindow(Plugin...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef __PLUGINMONITOR_H_ #define __PLUGINMONITOR_H_ #include <JuceHeader.h> #include "SharedInstance.hpp" #include "Utils.hpp" #include "Defaults.hpp" namespace ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "App.hpp" #include "Defaults.hpp" #include "Server.hpp" #include "Screen.h" #include "Signals.hpp" #include "Sentry.hpp" #include "Processor.hpp" #include "M...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef App_hpp #define App_hpp #include <JuceHeader.h> #include "ProcessorWindow.hpp" #include "Utils.hpp" namespace e47 { class Server; class Processor; class P...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "AudioWorker.hpp" #include <memory> #include "Message.hpp" #include "Defaults.hpp" #include "App.hpp" #include "Server.hpp" #include "Metrics.hpp" #include "...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef AudioWorker_hpp #define AudioWorker_hpp #include <JuceHeader.h> #include <thread> #include <unordered_map> #include "ProcessorChain.hpp" #include "Message.h...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "CPUInfo.hpp" #if defined(JUCE_MAC) #include <mach/mach.h> #elif defined(JUCE_WINDOWS) #include <windows.h> #include <tchar.h> #define SYSINFO_CLASS_BASICI...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef CPUInfo_hpp #define CPUInfo_hpp #include <JuceHeader.h> #include "SharedInstance.hpp" #include "Utils.hpp" namespace e47 { class CPUInfo : public Thread, ...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Images.hpp" static const unsigned char resource_Images_serverinv_png[] = { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 8...
/* * Copyright (c) 2021 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef Images_hpp #define Images_hpp #include <JuceHeader.h> class Images { public: static const char* serverinv_png; static const int serverinv_pngSize;...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "MenuBarWindow.hpp" #include "App.hpp" #include "Images.hpp" namespace e47 { MenuBarWindow::MenuBarWindow(App* app) : DocumentWindow(ProjectInfo::proje...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _MENUBARWINDOW_HPP_ #define _MENUBARWINDOW_HPP_ #include <JuceHeader.h> namespace e47 { class App; class MenuBarWindow : public DocumentWindow, public Sys...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _PARAMETERVALUE_HPP_ #define _PARAMETERVALUE_HPP_ namespace e47 { namespace Srv { struct ParameterValue { int paramIdx; float value; int channel...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Heavily based on juce_audio_processors/scanning/juce_PluginListComponent.cpp */ #include "PluginListComponent.hpp" #include "App.hpp" #include "Server.hpp" #includ...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl * * Heavily based on juce_audio_processors/scanning/juce_PluginListComponent.h */ #ifndef PluginListComponent_hpp #define PluginListComponent_hpp #include <JuceHeader...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "App.hpp" #include "PluginListWindow.hpp" #include "Server.hpp" #include "WindowPositions.hpp" namespace e47 { PluginListWindow::PluginListWindow(App* app,...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef PluginListWindow_hpp #define PluginListWindow_hpp #include <JuceHeader.h> #include "PluginListComponent.hpp" namespace e47 { class App; class PluginListW...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "Processor.hpp" #include "ProcessorChain.hpp" #include "App.hpp" #include "Server.hpp" namespace e47 { #define callBackendWithReturn(method) \ do { ...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _PROCESSOR_HPP_ #define _PROCESSOR_HPP_ #include "Utils.hpp" #include "Defaults.hpp" #include "ProcessorClient.hpp" #include "ParameterValue.hpp" #include "P...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "ProcessorChain.hpp" #include "Processor.hpp" #include "App.hpp" namespace e47 { void ProcessorChain::prepareToPlay(double sampleRate, int maximumExpectedS...
/* * Copyright (c) 2020 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef ProcessorChain_hpp #define ProcessorChain_hpp #include <JuceHeader.h> #include "Utils.hpp" #include "Defaults.hpp" #include "Message.hpp" namespace e47 { ...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "ProcessorClient.hpp" #include "Message.hpp" #include "App.hpp" #include "Server.hpp" #include "Defaults.hpp" namespace e47 { std::unordered_set<int> Proce...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _PROCESSORCLIENT_HPP_ #define _PROCESSORCLIENT_HPP_ #include <JuceHeader.h> #include "Utils.hpp" #include "Message.hpp" #include "ParameterValue.hpp" #inclu...
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #include "ProcessorWindow.hpp" #include "App.hpp" #include "Server.hpp" #include "Processor.hpp" #include "Screen.h" namespace e47 { ProcessorWindow::ProcessorWindo...