Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/MicroDexed/commit/a54b8794713fb810e2421886a1f6753e3a7a9c43?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
4 additions and
3 deletions
BIN
.fm_op_kernel.cpp.swp
dexed.cpp
fm_op_kernel.cpp
@ -144,7 +144,7 @@ void Dexed::getSamples(uint16_t n_samples, int16_t* buffer)
int32_t val = audiobuf . get ( ) [ j ] ;
int32_t val = audiobuf . get ( ) [ j ] ;
val = val > > 4 ;
val = val > > 4 ;
# ifdef USE_TEENSY_DSP
# ifdef USE_TEENSY_DSP
int32_t clip_val = signed_saturate_rshift ( 32 , 24 , 9 ) ;
int32_t clip_val = signed_saturate_rshift ( val , 24 , 9 ) ;
# else
# else
int32_t clip_val = val < - ( 1 < < 24 ) ? 0x8000 : val > = ( 1 < < 24 ) ? 0x7fff : val > > 9 ;
int32_t clip_val = val < - ( 1 < < 24 ) ? 0x8000 : val > = ( 1 < < 24 ) ? 0x7fff : val > > 9 ;
# endif
# endif
@ -25,8 +25,9 @@
# include "synth.h"
# include "synth.h"
# include "sin.h"
# include "sin.h"
# include "fm_op_kernel.h"
# include "fm_op_kernel.h"
# include "config.h"
# ifdef HAVE_NEONx
# ifdef HAVE_NEON
static bool hasNeon ( ) {
static bool hasNeon ( ) {
return true ;
return true ;
return ( android_getCpuFeatures ( ) & ANDROID_CPU_ARM_FEATURE_NEON ) ! = 0 ;
return ( android_getCpuFeatures ( ) & ANDROID_CPU_ARM_FEATURE_NEON ) ! = 0 ;
@ -36,7 +37,7 @@ extern "C"
void neon_fm_kernel ( const int * in , const int * busin , int * out , int count ,
void neon_fm_kernel ( const int * in , const int * busin , int * out , int count ,
int32_t phase0 , int32_t freq , int32_t gain1 , int32_t dgain ) ;
int32_t phase0 , int32_t freq , int32_t gain1 , int32_t dgain ) ;
const int32_t __attribute__ ( ( aligned ( 16 ) ) ) zeros [ N ] = { 0 } ;
const int32_t __attribute__ ( ( aligned ( 16 ) ) ) zeros [ _ N_ ] = { 0 } ;
# else
# else
static bool hasNeon ( ) {
static bool hasNeon ( ) {