Standardize native audio behaviour for all systems
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
16acb8079a
commit
8cdc958c1e
3 changed files with 12 additions and 3 deletions
2
dpf
2
dpf
|
@ -1 +1 @@
|
|||
Subproject commit 85cd6c40df9b80db20c54c5e558ba3eccf34aef9
|
||||
Subproject commit cfbc53bf939794fe99c57a4a8e000ec360e14262
|
|
@ -30,7 +30,10 @@
|
|||
# undef _WIN32
|
||||
# endif
|
||||
|
||||
// assume SSE3 only on macOS
|
||||
# ifndef ARCH_MAC
|
||||
# include "../simde/simde/x86/sse3.h"
|
||||
# endif
|
||||
|
||||
# ifdef _WIN32_WAS_DEFINED
|
||||
# define _WIN32
|
||||
|
|
|
@ -670,7 +670,13 @@ struct EngineButton : MenuButton {
|
|||
}
|
||||
|
||||
if (supportsBufferSizeChanges()) {
|
||||
static const std::vector<uint32_t> bufferSizes = {256, 512, 1024, 2048, 4096, 8192, 16384};
|
||||
static const std::vector<uint32_t> bufferSizes = {
|
||||
#ifdef DISTRHO_OS_WASM
|
||||
256, 512, 1024, 2048, 4096, 8192, 16384
|
||||
#else
|
||||
128, 256, 512, 1024, 2048, 4096, 8192
|
||||
#endif
|
||||
};
|
||||
const uint32_t currentBufferSize = getBufferSize();
|
||||
menu->addChild(createSubmenuItem("Buffer Size", std::to_string(currentBufferSize), [=](ui::Menu* menu) {
|
||||
for (uint32_t bufferSize : bufferSizes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue