Closed ngoquang2708 closed 8 years ago
I think removing of MR0_AUDIO_BLOB make audio recording work with default audio_policy.
Then i reports it doesn't work :D Even @corphish encounters it
It is weird!
I have some ideas. Report later.
There is some SPRD_HARDWARE flags and def that I set in system/include/system/audio.h but I cannot send PR to you. See my android_system_core commits.
Lol
Great news, audio recording dead again, doing clean build :D
This time maybe build faster because I am a noob using make bacon
instead of make -j4 bacon
to use all CPU cores.
And one plus point, I use pre-built webviewchromium
now. Check my repo for cherry-pick.
Well, don't use make If you make userdebug build, better use "brunch vivalto3gvn" ( it means lunch cm_vivalto3gvn-userdebug && mka bacon(similar to make but use SCHED_BATCH to ultilitizes CPU cores to make sure it's building at maximum performance))
Use make
because of eng
build :D. Now use make -j4
for four cores.
Can I use mka
for eng
build after lunch
? SCHED_BATCH
attracts I.
Found this
envsetup.sh:- mkap: Builds the module(s) using mka and pushes them to the device.
No more copying!
Yes
Never found this without your hints, thanks.
Try this libaudioflinger.so.zip
What does it do? Edit: Well, it doesn't do anything more
It solves my audio recording issue.
OK, I will do more tests.
It's the same as my lib, but how there's sth that works with you, not mine and opposite? It's supposed to works with both LOL
Please close this if it works now.
OK, i'll check it Compiling CM12.1 now :D
OK
Confirmed
Dude, remove that stock APM blob. Without it, audio and recording still works.
We have audio_policy.default carry that, so it's OK
I don't like stock audio blobs, It gives me headaches. I still keep it because it makes speaker works in call. But as you asked. I will remove it.
May be this issue related to phone call not work.