Как сделать преобразование ConstantQ с TarsosDSP в Android? - PullRequest
0 голосов
/ 09 января 2019

Как использовать класс ConstantQ в TarsosDSP для Android?

Я ссылался на документацию здесь .

При создании объекта класса ConstantQ приложение зависает и просто показывает белый экран.

В моем методе onCreate есть следующая строка:

ConstantQ constantQ = new ConstantQ(44100,20,20000,32);

01-09 16:08:29.517 4554-4554/? I/art: Late-enabling -Xcheck:jni
01-09 16:08:29.666 4554-4554/com.example.pitchbender D/LenovoAppIconTheme: ExtraResources;cleanCachedIcon;clear cache..
01-09 16:08:29.859 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_dependencies_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.315 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_0_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.415 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_1_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.524 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_2_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.634 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_3_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.731 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_4_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.836 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_5_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:30.933 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_7_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:31.032 4554-4554/com.example.pitchbender W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.example.pitchbender-1/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.pitchbender-1@split_lib_slice_8_apk.apk@classes.dex) because non-0 exit status
01-09 16:08:31.045 4554-4554/com.example.pitchbender W/System: ClassLoader referenced unknown path: /data/app/com.example.pitchbender-1/lib/arm64
01-09 16:08:31.054 4554-4554/com.example.pitchbender D/ActivityThread: installProvider: context.getPackageName()=com.example.pitchbender
01-09 16:08:31.062 4554-4554/com.example.pitchbender I/InstantRun: starting instant run server: is main process
01-09 16:08:31.067 4554-4554/com.example.pitchbender V/InstantRun: Starting server socket listening for package com.example.pitchbender on android.net.LocalSocketAddress@ca85a46
01-09 16:08:31.069 4554-4554/com.example.pitchbender V/InstantRun: Started server for package com.example.pitchbender
01-09 16:08:31.071 4554-4554/com.example.pitchbender D/ActivityThread: BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{7833934 com.example.pitchbender}}
01-09 16:08:31.072 4554-4554/com.example.pitchbender V/ActivityThread: Handling launch of ActivityRecord{85635d token=android.os.BinderProxy@3ffd4d2 {com.example.pitchbender/com.example.pitchbender.MainActivity}} startsNotResumed=false
01-09 16:08:31.088 4554-4563/com.example.pitchbender I/System: FinalizerDaemon: finalize objects = 1
01-09 16:08:31.215 4554-4554/com.example.pitchbender D/AudioRecord: getMinFrameCount 1024
01-09 16:08:31.216 4554-4570/com.example.pitchbender D/AudioSystem: getIoDescriptor: ioHandle = 2, index = -2, mIoDescriptors = 0x7f918ab150
01-09 16:08:31.218 4554-4554/com.example.pitchbender D/android.media.AudioRecord: AudioRecord>>>
01-09 16:08:31.223 4554-4554/com.example.pitchbender D/android.media.AudioRecord: AudioRecord<<<: user granted permission sub-permission.RECORD_MIC for uid 10189
01-09 16:08:31.223 4554-4554/com.example.pitchbender D/AudioRecord: set(): inputSource 1, sampleRate 22050, format 0x1, channelMask 0x10, frameCount 1024, notificationFrames 0, sessionId 0, transferType 0, flags 0, opPackageName com.example.pitchbender uid -1, pid -1
01-09 16:08:31.223 4554-4554/com.example.pitchbender D/AudioRecord: set: Create AudioRecordThread
01-09 16:08:31.223 4554-4554/com.example.pitchbender D/AudioRecord: openRecord_l
01-09 16:08:31.228 4554-4567/com.example.pitchbender D/AudioSystem: getIoDescriptor: ioHandle = 255, index = -2, mIoDescriptors = 0x7f918ab150
01-09 16:08:31.236 4554-4554/com.example.pitchbender D/AudioRecord: start, sync event 0 trigger session 0
01-09 16:08:31.240 4554-4576/com.example.pitchbender D/AudioSystem: getIoDescriptor: ioHandle = 255, index = 1, mIoDescriptors = 0x7f918ab150
01-09 16:08:31.241 4554-4554/com.example.pitchbender D/AudioRecord: return status 0
01-09 16:08:31.255 4554-4554/com.example.pitchbender V/ActivityThread: ActivityRecord{85635d token=android.os.BinderProxy@3ffd4d2 {com.example.pitchbender/com.example.pitchbender.MainActivity}}: app=android.app.Application@eb4b4a0, appName=com.example.pitchbender, pkg=com.example.pitchbender, comp={com.example.pitchbender/com.example.pitchbender.MainActivity}, dir=/data/app/com.example.pitchbender-1/base.apk
01-09 16:08:31.259 4554-4554/com.example.pitchbender W/Typeface: getVibeFontPathWithCTS(): fontPath = 
01-09 16:08:31.259 4554-4554/com.example.pitchbender W/Typeface: getVibeFontPathWithCTS(): fontName = 
01-09 16:08:31.259 4554-4554/com.example.pitchbender W/Typeface: getVibeFontPathWithCTS(): isForceToSystemDefault = false
01-09 16:08:31.261 4554-4554/com.example.pitchbender W/Typeface: VIBEUI_setThemeFont(): sVibeFontPath =  null,fontPath = 
01-09 16:08:31.261 4554-4554/com.example.pitchbender W/Typeface: Pinit()
01-09 16:08:31.261 4554-4554/com.example.pitchbender D/Typeface: hj dbg: init() start, current country=US,language id=en
01-09 16:08:31.359 4554-4554/com.example.pitchbender E/Minikin: addFont failed to create font /system/fonts/Padauk.ttf
01-09 16:08:31.449 4554-4554/com.example.pitchbender E/Minikin: addFont failed to create font /system/fonts/NanumGothic.ttf
01-09 16:08:31.453 4554-4554/com.example.pitchbender E/Minikin: addFont failed to create font /system/fonts/DroidSansFallback.ttf
01-09 16:08:31.453 4554-4554/com.example.pitchbender E/Minikin: addFont failed to create font /system/fonts/MTLmr3m.ttf
01-09 16:08:31.455 4554-4554/com.example.pitchbender W/Typeface: VIBEUI_setDefaultFont()
01-09 16:08:31.455 4554-4554/com.example.pitchbender W/Typeface: getVibeFontPathWithCTS(): fontPath = 
01-09 16:08:31.455 4554-4554/com.example.pitchbender W/Typeface: getVibeFontPathWithCTS(): fontName = 
01-09 16:08:31.455 4554-4554/com.example.pitchbender W/Typeface: getVibeFontPathWithCTS(): isForceToSystemDefault = false
01-09 16:08:31.455 4554-4554/com.example.pitchbender W/Typeface: VIBEUI_SYSPROP_FONT_PATH:
01-09 16:08:31.484 4554-4554/com.example.pitchbender W/Typeface: Font is Set to System DefaultFont!
01-09 16:08:31.622 4554-4554/com.example.pitchbender W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
...