yucombinator / blackbox Goto Github PK
View Code? Open in Web Editor NEWPassively record audio from your phone.
Passively record audio from your phone.
Crashes when I select 30 mins and press record.
It's trying to allocate around 151MB in CircularByteBuffer.
Following is the crash:
02-20 17:24:07.894 5018-5125/icechen1.com.blackbox E/AndroidRuntime﹕ FATAL EXCEPTION: Thread-78157
Process: icechen1.com.blackbox, PID: 5018
java.lang.OutOfMemoryError: Failed to allocate a 158760012 byte allocation with 6858288 free bytes and 86MB until OOM
at icechen1.com.blackbox.audio.CircularByteBuffer.<init>(CircularByteBuffer.java:21)
at icechen1.com.blackbox.audio.AudioBufferManager.run(AudioBufferManager.java:96)
I'm also looking into fixing the solution.
I'm really puzzled as there doesn't seem to be a consistent pattern for it nor description or explanation relating to it anywhere; What do the numbers in the filename mean please? If not already, can there be an option to instead have them formatted as the date of recording? I love this app, but I also really appreciate having time and date in the filename.
I think the title is pretty clear.
I think you are already made a fix but as I looked through the code it could be enough to add in PlayerDialogFragment after line 143 in the condition.
AudioWife.getInstance.release();
I lost 3 hours trying to build your app. Literally.
Please, clone your repo and try to build yourself.
I couldn't write all errors I got because there is so many errors.
Starting from capitalized resources, missing resources, missing ActionBarActivity class in support library v26 (because v25 failing to build), old experimental version of Gradle, old sdk versions, androidLame from source (why? You can add 'com.github.naman14:TAndroidLame:1.1' to build.gradle).
As the result I can build and start an app now but it crashes after record button was pressed.
Please, fix all this if you can. I'll make a PR with some improvements in UI after I'll build the fixed source code.
There is no license file. What license this project have?
I get the following when compiling the project:
Error:(14, 22) No resource found that matches the given name (at 'ettIcon' with value '@drawable/ic_edit_grey_900_24dp').
Error:(15, 32) No resource found that matches the given name (at 'ettIconInEditMode' with value '@drawable/ic_done_grey_900_24dp').
Error:(79, 26) No resource found that matches the given name (at 'src' with value '@drawable/ic_play_arrow_black_36dp').
Error:(88, 26) No resource found that matches the given name (at 'src' with value '@drawable/ic_pause_black_36dp').
Error:(98, 26) No resource found that matches the given name (at 'src' with value '@drawable/ic_favorite_black_36dp').
Error:(107, 26) No resource found that matches the given name (at 'src' with value '@drawable/ic_favorite_outline_black_36dp').
Error:(117, 26) No resource found that matches the given name (at 'src' with value '@drawable/ic_share_grey_900_36dp').
Error:(126, 26) No resource found that matches the given name (at 'src' with value '@drawable/ic_delete_black_36dp').
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.