diff --git a/Editor/resources/lang_de.ts b/Editor/resources/lang_de.ts index b585c59..98db270 100644 --- a/Editor/resources/lang_de.ts +++ b/Editor/resources/lang_de.ts @@ -4,94 +4,94 @@ ADSRControls - + Change Attack - + Change Decay - + Change Sustain - + Change Attack/Decay - + Change Decay/Sustain - + Change Release - + Change DLS - + Change Vel To Attack - + Change Key To Decay - + Attack - - - + + + sec - + Decay - + Sustain - + % - + Release - + DLS - + Vel To Attack - + Key To Decay @@ -99,12 +99,12 @@ AddRemoveButtons - + Add Row - + Remove Row @@ -112,12 +112,12 @@ BaseObjectDelegate - + Open in Editor - + Find Usages @@ -125,7 +125,7 @@ CommandWidget - + Change %1 @@ -133,27 +133,27 @@ CurveControls - + Edit Curve - + Did not evaluate as a number - + Expression - + Apply - + Expression interpreter mapping x:[0,1] to y:[0,1] with the following constants and functions available: @@ -162,26 +162,26 @@ EffectCatalogue - - + + Reverb Standard - - + + Reverb High - - + + Delay - - + + Chorus @@ -197,47 +197,47 @@ KeymapControls - + SoundMacro - + Transpose - + Offset resulting MIDI note - + Pan - + Set initial pan - + Surround - + Initially play through surround channels - + Prio Offset - + Offset resulting priority @@ -250,12 +250,12 @@ - + Add new layer mapping - + Remove selected layer mappings @@ -334,7 +334,7 @@ ListingDeleteButton - + Delete this SoundMacro @@ -676,344 +676,344 @@ - + Go Back - + Go Forward - + Clear Recent Projects - + Amuse[*] - + %1/%2/%3[*] - Amuse - + %1[*] - Amuse - - + + The directory at '%1' must not be empty. - - + + Directory empty - + The directory at '%1' must exist for the Amuse editor. - + Directory does not exist - + __amuse_test__ - + The directory at '%1' must be writable for the Amuse editor: %2 - + Unable to write to directory - + No Audio Devices Found - + Virtual MIDI-In - + No MIDI Devices Found - + SUSTAIN - - + + Unsaved Changes - + Save Changes in %1? - + New Project - + The directory at '%1' does not exist. - + Bad Directory - + Opening - - - - - + + + + + Scanning Project - + Opening %1 - + Open Project - + Discard Changes in %1? - + Reloading Samples - + Scanning %1 - + Import Project - + The file at '%1' could not be interpreted as a MusyX container. - + Unsupported MusyX Container - + Sample Import Mode - + Amuse can import samples as WAV files for ease of editing, import original compressed data for lossless repacking, or both. Exporting the project will prefer whichever version was modified most recently. - + Import Compressed - + Import WAVs - + Import Both - + Raw Import Mode - + Would you like to scan for all MusyX group files in this directory? - + Project Name - + What should this project be named? - - + + Importing - - + + Importing %1 - + Import Songs - + Exporting - + Exporting %1 - - + + Import C Headers - + <p>Importing names from C headers depends on up-to-date, consistent names relative to the sound group data.</p><p>Headers are imported on a per-subproject basis from a single directory. Headers must be named with the form <code>&lt;subproject&gt;.h</code>.</p><p>Group, Song and SFX definitions are matched according to the following forms:<pre>#define GRP&lt;name&gt; &lt;id&gt; #define SNG&lt;name&gt; &lt;id&gt; #define SFX&lt;name> &lt;id&gt;</pre></p><p><strong>This operation cannot be undone! It is recommended to make a backup of the project directory before proceeding.</strong></p><p>Continue?</p> - + Export C Headers - + New Subproject - + What should this subproject be named? - + New SFX Group - + What should the new SFX group in %1 be named? - + New Song Group - + What should the new Song group in %1 be named? - + New ADSR - + What should the new ADSR in %1 be named? - + New Curve - + What should the new Curve in %1 be named? - + New Keymap - + What should the new Keymap in %1 be named? - + New Layers - + What should the new Layers in %1 be named? - + About Amuse - + Export Complete - + %1? @@ -1215,7 +1215,7 @@ PaintButton - + Activate brush to apply values to keys @@ -1573,7 +1573,7 @@ QDialogButtonBox - + OK @@ -1581,12 +1581,12 @@ QMessageBox - + <h3>About Amuse</h3> - + <p>Amuse is an alternate editor and runtime library for MusyX sound groups.</p><p>MusyX originally served as a widely-deployed audio system for developing games on the Nintendo 64, GameCube, and GameBoy Advance.</p><p>Amuse is available under the MIT license.<br>Please see <a href="https://gitlab.axiodl.com/AxioDL/amuse/blob/master/LICENSE">https://gitlab.axiodl.com/AxioDL/amuse/blob/master/LICENSE</a> for futher information.</p><p>Copyright (C) 2015-2018 Antidote / Jackoalan.</p><p>MusyX is a trademark of Factor 5, LLC.</p><p>Nintendo 64, GameCube, and GameBoy Advance are trademarks of Nintendo Co., Ltd.</p> @@ -1862,12 +1862,12 @@ - + Add new page entry - + Remove selected page entries @@ -1880,12 +1880,12 @@ - + Add new SFX entry - + Remove selected SFX entries @@ -1893,72 +1893,72 @@ SoundMacroCatalogue - + Control - + Pitch - + Sample - + Setup - + Special - + Structure - + Volume - + Commands to control the voice - + Commands to control the voice's pitch - + Commands to control the voice's sample playback - + Commands to setup the voice's mixing process - + Miscellaneous commands - + Commands to control macro branching - + Commands to control the voice's volume @@ -1974,17 +1974,17 @@ SoundMacroListing - + Reorder %1 - + Insert %1 - + Delete %1 @@ -2015,17 +2015,17 @@ StudioSetupWidget - + Studio Setup - + Aux A - + Aux B @@ -2041,52 +2041,52 @@ TreeDelegate - + Export GameCube Group - + Find Usages - + Cut - + Copy - + Paste - + Duplicate - + Delete - + Rename - + Exporting - + Exporting %1 diff --git a/lib/DSPCodec.cpp b/lib/DSPCodec.cpp index fe543a7..4e4bf39 100644 --- a/lib/DSPCodec.cpp +++ b/lib/DSPCodec.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #if __SWITCH__ #include "switch_math.hpp" @@ -250,10 +251,7 @@ static bool AnalyzeRanges(tvec mtx[3], int* vecIdxsOut) { max = tmp; } - if (min / max < 1.0e-10) - return true; - - return false; + return (min / max < 1.0e-10); } static void BidirectionalFilter(tvec mtx[3], int* vecIdxs, tvec vecOut) { @@ -439,7 +437,7 @@ void DSPCorrelateCoefs(const short* source, int samples, short coefsOut[8][2]) { } /* Copy (potentially non-frame-aligned PCM samples into aligned buffer) */ - memcpy(blockBuffer, source, frameSamples * sizeof(short)); + std::memcpy(blockBuffer, source, frameSamples * sizeof(short)); source += frameSamples; for (int i = 0; i < frameSamples;) {