Andrew Belt
|
3ff7e2c42e
|
Backport .github folder to v2.
|
3 years ago |
Andrew Belt
|
97b3c9026b
|
Clean up comments and debugging in AudioInterface.
|
3 years ago |
Andrew Belt
|
b5d7a12448
|
Make AudioInterface handle devices with 0 inputs or 0 outputs better. Clear engine buffers more aggressively, especially for the primary module.
|
3 years ago |
Andrew Belt
|
df68876d16
|
Make INTERNAL macro use hidden visibility instead of internal.
|
3 years ago |
Andrew Belt
|
357bd847bf
|
Rename PRIVATE macro to INTERNAL.
|
3 years ago |
Andrew Belt
|
5f8f9b8e35
|
Change `bypass` variable name to `bypassed` when appropriate.
|
3 years ago |
Andrew Belt
|
317b9125b6
|
Make ReadWriteLock non-recursive and add *_NoLock() methods to Engine as needed.
Split Module::bypass() into isBypass/setBypass().
Add more documentation to Engine methods.
|
3 years ago |
Andrew Belt
|
2f5ce16ce8
|
No longer require that a primary Module belongs to the Engine.
|
3 years ago |
Andrew Belt
|
86f3658b51
|
Add `Exception::Exception(const char* format, ...)` so you can create Exception objects using C format strings.
|
3 years ago |
Andrew Belt
|
9f04e56106
|
AudioInterface: Set primary module after instead of before adding to the Engine (WIP).
|
3 years ago |
Andrew Belt
|
4e44157d27
|
Don't write-lock Engine::fromJson() because it only needs it when adding modules and cables, which already has a write-lock.
|
3 years ago |
Andrew Belt
|
90ada5c532
|
Add Engine::setSuggestedSampleRate(). Make ReadWriteLock support recursive writes.
|
3 years ago |
Andrew Belt
|
169c80e422
|
Use ⌘ instead of Cmd for key command names on Mac.
|
3 years ago |
Andrew Belt
|
4c7c5b1694
|
Add auto engine sample rate setting.
|
3 years ago |
Andrew Belt
|
bc08eccddc
|
Refactor Port a bit. Use default sample rate from audio::Device.
|
3 years ago |
Andrew Belt
|
8f13625ebc
|
Disable translucent MenuOverlay background.
|
3 years ago |
Andrew Belt
|
dd9633303c
|
Turn off printing warnings to stderr for RtAudio and RtMidi. Fix exception catching when instantiating RtMidi objects.
|
3 years ago |
Andrew Belt
|
2879e5eb61
|
Adjust when exceptions are thrown in RtAudioDevice.
|
3 years ago |
Andrew Belt
|
5d5e63bacd
|
Don't flush log file, just console output, when logging.
|
3 years ago |
Andrew Belt
|
e9dee76a41
|
Add Port::getOffset() and setOffset().
|
3 years ago |
Andrew Belt
|
4626dea31f
|
Use float instead of int for sample rates in audio:: namespace.
|
3 years ago |
Andrew Belt
|
b9594bb07b
|
Use PRId64 for portability of printf format strings on Linux and Windows.
|
3 years ago |
Andrew Belt
|
0a76018aa8
|
Switch back to %lld for 64-bit integers. Windows supports them but still
gives a warning. Just ignore them for now.
|
3 years ago |
Andrew Belt
|
379c99a69f
|
Fix printf string for 64-bit integers on Windows.
|
3 years ago |
Andrew Belt
|
50ec209578
|
Only wait for mouse to move before dragging module if it was just created with the module browser.
|
3 years ago |
Andrew Belt
|
fd4479f992
|
Use a ~15px dragging threshold when dragging a Module from the Module Browser, so that clicking it makes it stay in the last right-clicked position. Make event framework trigger DragHover before DragMove.
|
3 years ago |
Andrew Belt
|
5bbd32ccac
|
When Module Browser creates a module, set the ModuleWidget's dragPos to its center, so dragging is more predictable.
|
3 years ago |
Andrew Belt
|
754319c3ce
|
Add Window::step().
|
3 years ago |
Andrew Belt
|
6559bd48be
|
Obtain pffft as a git submodule instead of wget'ing from vcvrack.com.
|
3 years ago |
Andrew Belt
|
f0753792b8
|
Rename "step" terminology of Engine to "block". Tweak ModuleWidget meter appearance.
|
3 years ago |
Andrew Belt
|
7003adffe2
|
Move module stepping code from Engine to Module. Change meter to a time plot.
|
3 years ago |
Andrew Belt
|
2a1bbf4ae3
|
Rename system::getRuntime() to getTime().
|
3 years ago |
Andrew Belt
|
f1b4fdce81
|
Make logger aware of format string so it gives warnings if format is malformed.
|
3 years ago |
Andrew Belt
|
1fdbf71bb7
|
Add PRIVATE macro.
|
3 years ago |
Andrew Belt
|
322bb0ea6b
|
Make BrandItem and TagItem disabled if no results would be shown.
|
3 years ago |
Andrew Belt
|
1927def7e1
|
Implement all sorting options to module browser.
|
3 years ago |
Andrew Belt
|
ac0588c0f8
|
Rewrite module browser's ModelBox to support changing zoom. Add FramebufferWidget::setDirty().
|
3 years ago |
Andrew Belt
|
e2e33c09c6
|
Add "moduleUsages", "moduleBrowserSort", and "moduleBrowserZoom" to settings. Make module browser's SortButton and ZoomButton control these settings.
|
3 years ago |
Andrew Belt
|
790e1053cc
|
Rename system::getTime() to getRuntime(). Add system::getUnixTime().
|
3 years ago |
Andrew Belt
|
9a58bc7ea7
|
Make BrandItem and TagItem functional.
|
3 years ago |
Andrew Belt
|
eab8aaefad
|
Tweak behavior of word jumping in TextField.
|
3 years ago |
Andrew Belt
|
bd66f64c2d
|
Replace zoom slider with zoom button.
|
3 years ago |
Andrew Belt
|
b986ff5882
|
Replace Module Browser sidebar with header. Add multiple tag selection (WIP), zoom (WIP), and sorting options (WIP).
|
3 years ago |
Andrew Belt
|
e6b25a6394
|
Refactor TextField key commands.
|
3 years ago |
Andrew Belt
|
11721cab00
|
Add WIP Engine::step() timer. Fix module timer.
|
3 years ago |
Andrew Belt
|
c932654768
|
Set larger default zoom level. Fix bug in translucent MenuOverlay
background.
|
3 years ago |
Andrew Belt
|
a93ebf8e28
|
Enable MenuOverlay darkening again. Use MenuOverlay subclass for
ModuleBrowser. Consume all keys/buttons in MenuOverlay.
|
3 years ago |
Andrew Belt
|
7f55e68bbc
|
Round TipWindow to nearest integer pixel position. Don't consume key presses in MenuOverlay.
|
3 years ago |
Andrew Belt
|
c434b14447
|
Remove system::getTime() testing code.
|
3 years ago |
Andrew Belt
|
7efd063392
|
Change timestamps from int64_t to double, and define epoch as when `system::init()` is called.
|
3 years ago |