[Sony Xperia P, U, Sola, Go] munjeni:
Hey, see this:

Error in logcat:

Part of function in stock libaudiopolicy.so:

CMP [COLOR="Red"]R4, #0[/COLOR]
BEQ [COLOR="Red"]loc_9A08[/COLOR]

loc_9A08: @android_audio_legacy::AudioPolicyManagerANM::getInput(int,uint,uint,uint,android_audio_legacy::AudioSystem::audio_in_acoustics,android_audio_legacy::AudioSystem::audio_input_clients *)+1B0j
LDR R2, [SP,#0x80+var_5C]
LDR R0, =(aGetinputFailed - 0x9A14)
LDR R1, =(aAnm_ap - 0x9A18)
STR R2, [SP,#0x80+var_7C]
ADD R0, PC ; [COLOR="Red"]"getInput(): Failed to open input, %s, d"[/COLOR]...
STR R0, [SP,#0x80+var_80]
ADD R1, PC ; "anm_ap"
LDR R0, [R6,#0x10]
LDR R3, =(aVirtualAudio_0 - 0x9A20)
STR R0, [SP,#0x80+var_78]
ADD R3, PC ; "virtual audio_io_handle_t android_audio"...
LDR R2, [R6]
STR R2, [SP,#0x80+var_74]
LDR R0, [R6,#4]
STR R0, [SP,#0x80+var_70]
MOVS R0, #4 ; format
LDR R2, [R6,#8]
STR R2, [SP,#0x80+var_6C]
MOVW R2, #0xDAB
BL _Z19ste_anm_debug_print16STE_ANM_LOGLEVELPKciS1_S_z ; ste_anm_debug_print(STE_ANM_LOGLEVEL,char const*,int,char const*,char const*,...)

And switch case from libaudiopolicy.so:

.text:00007058 loc_7058 ; CODE XREF: sub_7044+4j
.text:00007058 LDR R0, =(aAudio_source_m - 0x705E) ; jumptable 00007048 case 1
.text:0000705A ADD R0, PC ; "AUDIO_SOURCE_MIC"
.text:0000705C B locret_7098
.text:0000705E ; ---------------------------------------------------------------------------
.text:0000705E
.text:0000705E loc_705E ; CODE XREF: sub_7044+4j
.text:0000705E LDR R0, =(aAudio_source_d - 0x7064) ; jumptable 00007048 case 0
.text:00007060 ADD R0, PC ; "AUDIO_SOURCE_DEFAULT"
.text:00007062 B locret_7098
.text:00007064 ; ---------------------------------------------------------------------------
.text:00007064
.text:00007064 loc_7064 ; CODE XREF: sub_7044+4j
.text:00007064 LDR R0, =(aAudio_source_v - 0x706A) ; jumptable 00007048 case 2
.text:00007066 ADD R0, PC ; "AUDIO_SOURCE_VOICE_UPLINK"
.text:00007068 B locret_7098
.text:0000706A ; ---------------------------------------------------------------------------
.text:0000706A
.text:0000706A loc_706A ; CODE XREF: sub_7044+4j
.text:0000706A LDR R0, =(aAudio_source_0 - 0x7070) ; jumptable 00007048 case 3
.text:0000706C ADD R0, PC ; "AUDIO_SOURCE_VOICE_DOWNLINK"
.text:0000706E B locret_7098
.text:00007070 ; ---------------------------------------------------------------------------
.text:00007070
.text:00007070 loc_7070 ; CODE XREF: sub_7044+4j
.text:00007070 LDR R0, =(aAudio_source_1 - 0x7076) ; jumptable 00007048 case 4
.text:00007072 ADD R0, PC ; "AUDIO_SOURCE_VOICE_CALL"
.text:00007074 B locret_7098
.text:00007076 ; ---------------------------------------------------------------------------
.text:00007076
.text:00007076 loc_7076 ; CODE XREF: sub_7044+4j
.text:00007076 LDR R0, =(aAudio_source_2 - 0x707C) ; jumptable 00007048 case 10
.text:00007078 ADD R0, PC ; "AUDIO_SOURCE_VOICE_CALL_NO_RECORD"
.text:0000707A B locret_7098
.text:0000707C ; ---------------------------------------------------------------------------
.text:0000707C
.text:0000707C loc_707C ; CODE XREF: sub_7044+4j
.text:0000707C LDR R0, =(aAudio_source_c - 0x7082) ; jumptable 00007048 case 5
.text:0000707E ADD R0, PC ; "AUDIO_SOURCE_CAMCORDER"
.text:00007080 B locret_7098
.text:00007082 ; ---------------------------------------------------------------------------
.text:00007082
.text:00007082 loc_7082 ; CODE XREF: sub_7044+4j
.text:00007082 LDR R0, =(aAudio_source_3 - 0x7088) ; jumptable 00007048 case 6
.text:00007084 ADD R0, PC ; "AUDIO_SOURCE_VOICE_RECOGNITION"
.text:00007086 B locret_7098
.text:00007088 ; ---------------------------------------------------------------------------
.text:00007088
.text:00007088 loc_7088 ; CODE XREF: sub_7044+4j
.text:00007088 LDR R0, =(aAudio_source_f - 0x708E) ; jumptable 00007048 case 8
.text:0000708A ADD R0, PC ; "AUDIO_SOURCE_FM_RADIO_RX"
.text:0000708C B locret_7098
.text:0000708E ; ---------------------------------------------------------------------------
.text:0000708E
.text:0000708E loc_708E ; CODE XREF: sub_7044+4j
.text:0000708E LDR R0, =(aAudio_source_4 - 0x7094) ; jumptable 00007048 case 7
.text:00007090 ADD R0, PC ; "AUDIO_SOURCE_VOICE_COMMUNICATION"
.text:00007092 B locret_7098
.text:00007094 ; ---------------------------------------------------------------------------
.text:00007094
.text:00007094 loc_7094 ; CODE XREF: sub_7044+2j
.text:00007094 ; sub_7044+4j
.text:00007094 LDR R0, =(aInvalid - 0x709A) ; jumptable 00007048 default case
.text:00007096 ADD R0, PC ; "<INVALID>"

Audio imput must be 0 while forced audio imput is ussed!!?? And missing case 10 (AUDIO_SOURCE_VOICE_CALL_NO_RECORD).

We have mess in audiofinger.