*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'SKB/BFX_AT100/BFX-AT100:10/QTT5.200429.010/15.541.301-20231204:userdebug/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2023-12-06 12:14:40+0900
pid: 3501, tid: 5691, name: reader  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfc67f186
    r0  fc67f182  r1  c7e0b5b0  r2  00000001  r3  f170d4e8
    r4  f170ffc0  r5  00000003  r6  f1701018  r7  f192c67c
    r8  f160f208  r9  00000000  r10 ec20be14  r11 f1700380
    ip  f192dce8  sp  ec20bdb8  lr  f18c1817  pc  f18c156e

backtrace:
      #00 pc 0004856e  /apex/com.android.runtime/lib/bionic/libc.so (je_extent_dalloc_wrapper+70) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00039443  /apex/com.android.runtime/lib/bionic/libc.so (arena_decay_to_limit+414) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 00034dcb  /apex/com.android.runtime/lib/bionic/libc.so (je_arena_extents_dirty_dalloc+214) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #03 pc 00036a8d  /apex/com.android.runtime/lib/bionic/libc.so (arena_dalloc_bin_locked_impl+440) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #04 pc 000368cd  /apex/com.android.runtime/lib/bionic/libc.so (je_arena_dalloc_bin_junked_locked+12) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #05 pc 000563b1  /apex/com.android.runtime/lib/bionic/libc.so (je_tcache_bin_flush_small+832) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #06 pc 00057839  /apex/com.android.runtime/lib/bionic/libc.so (tcache_destroy+44) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00058b93  /apex/com.android.runtime/lib/bionic/libc.so (je_tsd_cleanup+54) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #08 pc 000590d1  /apex/com.android.runtime/lib/bionic/libc.so (tsd_cleanup_wrapper+16) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #09 pc 000a64e3  /apex/com.android.runtime/lib/bionic/libc.so (pthread_key_clean_all()+50) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #10 pc 000a6145  /apex/com.android.runtime/lib/bionic/libc.so (pthread_exit+38) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #11 pc 000a6089  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+22) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #12 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ec20bd78  00000000
         ec20bd7c  f160f208  [anon:libc_malloc]
         ec20bd80  f1701328  [anon:libc_malloc]
         ec20bd84  00000000
         ec20bd88  f160f208  [anon:libc_malloc]
         ec20bd8c  ec20bffc
         ec20bd90  f17333c0  [anon:libc_malloc]
         ec20bd94  c7e0b5b0
         ec20bd98  f170ffc0  [anon:libc_malloc]
         ec20bd9c  00000003
         ec20bda0  c7e0b5b0
         ec20bda4  f170ffc0  [anon:libc_malloc]
         ec20bda8  00000003
         ec20bdac  f1701018  [anon:libc_malloc]
         ec20bdb0  f192c67c  /apex/com.android.runtime/lib/bionic/libc.so
         ec20bdb4  f18c156b  /apex/com.android.runtime/lib/bionic/libc.so
    #00  ec20bdb8  00000001
         ec20bdbc  ec20c002
         ec20bdc0  c7e0b5b0
         ec20bdc4  f170ffc0  [anon:libc_malloc]
         ec20bdc8  00000003
         ec20bdcc  f1701018  [anon:libc_malloc]
         ec20bdd0  00000000
         ec20bdd4  f160f208  [anon:libc_malloc]
         ec20bdd8  00000000
         ec20bddc  00000001
         ec20bde0  f1700380  [anon:libc_malloc]
         ec20bde4  f18b2447  /apex/com.android.runtime/lib/bionic/libc.so
    #01  ec20bde8  00000000
         ec20bdec  f1701bf0  [anon:libc_malloc]
         ec20bdf0  f1701c38  [anon:libc_malloc]
         ec20bdf4  f1701bf0  [anon:libc_malloc]
         ec20bdf8  00000000
         ec20bdfc  f17014b0  [anon:libc_malloc]
         ec20be00  c7e0b5b0
         ec20be04  f17014f0  [anon:libc_malloc]
         ec20be08  f192f260  [anon:.bss]
         ec20be0c  f1701018  [anon:libc_malloc]
         ec20be10  00000003
         ec20be14  fc67f182
         ec20be18  c7e0b5b0
         ec20be1c  f1700380  [anon:libc_malloc]
         ec20be20  f160f208  [anon:libc_malloc]
         ec20be24  f1701018  [anon:libc_malloc]
         ........  ........
    #02  ec20be40  00000001
         ec20be44  00000000
         ec20be48  00000003
         ec20be4c  00000000
         ec20be50  00000000
         ec20be54  f1701260  [anon:libc_malloc]
         ec20be58  f192f260  [anon:.bss]
         ec20be5c  fffffffe
         ec20be60  f1702bb0  [anon:libc_malloc]
         ec20be64  f170ffc0  [anon:libc_malloc]
         ec20be68  f160f208  [anon:libc_malloc]
         ec20be6c  f18afa91  /apex/com.android.runtime/lib/bionic/libc.so
    #03  ec20be70  f1700380  [anon:libc_malloc]
         ec20be74  fc67f182
         ec20be78  c7e0b5b0
         ec20be7c  f160f3d4  [anon:libc_malloc]
         ec20be80  00000000
         ec20be84  ec20bec0
         ec20be88  ec20bfd0
         ec20be8c  f1700380  [anon:libc_malloc]
         ec20be90  fffffffd
         ec20be94  ec20beb8
         ec20be98  00000003
         ec20be9c  f18af8d1  /apex/com.android.runtime/lib/bionic/libc.so
    #04  ec20bea0  00000001
         ec20bea4  ec20bebc
         ec20bea8  ec20bfd0
         ec20beac  f18cf3b5  /apex/com.android.runtime/lib/bionic/libc.so
    #05  ec20beb0  f170ffc0  [anon:libc_malloc]
         ec20beb4  f170ffc0  [anon:libc_malloc]
         ec20beb8  f170ffc0  [anon:libc_malloc]
         ec20bebc  f18cf4dd  /apex/com.android.runtime/lib/bionic/libc.so
         ec20bec0  00000015
         ec20bec4  f160f2bc  [anon:libc_malloc]
         ec20bec8  f160f2c4  [anon:libc_malloc]
         ec20becc  f160f2cc  [anon:libc_malloc]
         ec20bed0  00000011
         ec20bed4  f192f260  [anon:.bss]
         ec20bed8  f1702bf0  [anon:libc_malloc]
         ec20bedc  00000001
         ec20bee0  00000077
         ec20bee4  f1700380  [anon:libc_malloc]
         ec20bee8  f1702bb0  [anon:libc_malloc]
         ec20beec  f160f3d4  [anon:libc_malloc]
         ........  ........
    #06  ec20bfe8  00000000
         ec20bfec  00000800
         ec20bff0  f16ff800  [anon:libc_malloc]
         ec20bff4  00000800
         ec20bff8  f162c928  [anon:libc_malloc]
         ec20bffc  f18d7211  /apex/com.android.runtime/lib/bionic/libc.so
         ec20c000  00000000
         ec20c004  00000000
         ec20c008  00000000
         ec20c00c  c7e0b5b0
         ec20c010  ec20c0a8
         ec20c014  f1930168  [anon:.bss]
         ec20c018  ec20c0a8
         ec20c01c  f18d7781  /apex/com.android.runtime/lib/bionic/libc.so
         ec20c020  ec20c0a8
         ec20c024  f00ee5a9  /vendor/lib/libamaudioutils.so
         ........  ........
    #07  ec20c198  f166e130  [anon:libc_malloc]
         ec20c19c  f166e138  [anon:libc_malloc]
         ec20c1a0  f0fa7d6a  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ec20c1a4  f0fa6881  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ec20c1a8  c7e0b5b0
         ec20c1ac  f160f200  [anon:libc_malloc]
         ec20c1b0  00000000
         ec20c1b4  f192fd58  [anon:.bss]
         ec20c1b8  00000000
         ec20c1bc  00000000
         ec20c1c0  00000004
         ec20c1c4  f18d20d5  /apex/com.android.runtime/lib/bionic/libc.so
    #08  ec20c1c8  ec20c4bc
         ec20c1cc  f191f4e5  /apex/com.android.runtime/lib/bionic/libc.so
    #09  ec20c1d0  f166e0e0  [anon:libc_malloc]
         ec20c1d4  ec20c230
         ec20c1d8  00000000
         ec20c1dc  ec20c49c
         ec20c1e0  00000078
         ec20c1e4  00005fc3
         ec20c1e8  00000dad
         ec20c1ec  f191f149  /apex/com.android.runtime/lib/bionic/libc.so
    #10  ec20c1f0  c7e0b5b0
         ec20c1f4  ec20c230
         ec20c1f8  ec20c230
         ec20c1fc  ec20c230
         ec20c200  00000078
         ec20c204  ec20c230
         ec20c208  ec20c230
         ec20c20c  ec20c230
         ec20c210  00000078
         ec20c214  f191f08d  /apex/com.android.runtime/lib/bionic/libc.so
    #11  ec20c218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ec20c21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #12  ec20c220  ec20c238
         ec20c224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ec20c228  ec20c230
         ec20c22c  00000000
         ec20c230  ee24d230
         ec20c234  00000000
         ec20c238  ffffffff
         ec20c23c  00000000
         ec20c240  00000001
         ec20c244  ec10f000
         ec20c248  000fd230
         ec20c24c  00001000
         ec20c250  00000000
         ec20c254  00000000
         ec20c258  00000003
         ec20c25c  00000000

memory near r0:
    fc67f160 -------- -------- -------- --------  ................
    fc67f170 -------- -------- -------- --------  ................
    fc67f180 -------- -------- -------- --------  ................
    fc67f190 -------- -------- -------- --------  ................
    fc67f1a0 -------- -------- -------- --------  ................
    fc67f1b0 -------- -------- -------- --------  ................
    fc67f1c0 -------- -------- -------- --------  ................
    fc67f1d0 -------- -------- -------- --------  ................
    fc67f1e0 -------- -------- -------- --------  ................
    fc67f1f0 -------- -------- -------- --------  ................
    fc67f200 -------- -------- -------- --------  ................
    fc67f210 -------- -------- -------- --------  ................
    fc67f220 -------- -------- -------- --------  ................
    fc67f230 -------- -------- -------- --------  ................
    fc67f240 -------- -------- -------- --------  ................
    fc67f250 -------- -------- -------- --------  ................

memory near r1:
    c7e0b590 -------- -------- -------- --------  ................
    c7e0b5a0 -------- -------- -------- --------  ................
    c7e0b5b0 -------- -------- -------- --------  ................
    c7e0b5c0 -------- -------- -------- --------  ................
    c7e0b5d0 -------- -------- -------- --------  ................
    c7e0b5e0 -------- -------- -------- --------  ................
    c7e0b5f0 -------- -------- -------- --------  ................
    c7e0b600 -------- -------- -------- --------  ................
    c7e0b610 -------- -------- -------- --------  ................
    c7e0b620 -------- -------- -------- --------  ................
    c7e0b630 -------- -------- -------- --------  ................
    c7e0b640 -------- -------- -------- --------  ................
    c7e0b650 -------- -------- -------- --------  ................
    c7e0b660 -------- -------- -------- --------  ................
    c7e0b670 -------- -------- -------- --------  ................
    c7e0b680 -------- -------- -------- --------  ................

memory near r3 ([anon:libc_malloc]):
    f170d4c8 00000000 00000000 00000000 00000000  ................
    f170d4d8 00000000 f170ff40 00000030 00000000  ....@.p.0.......
    f170d4e8 00000000 0000006b 00000000 00000000  ....k...........
    f170d4f8 0000006b 00000000 00000000 0000006b  k...........k...
    f170d508 00000000 f1725640 00000011 00000001  ....@Vr.........
    f170d518 f1725640 00000011 00000001 f1725640  @Vr.........@Vr.
    f170d528 00000011 00000001 f1737140 00000001  ........@qs.....
    f170d538 00000001 f172af40 00000002 00000001  ....@.r.........
    f170d548 f172af40 00000002 00000001 f172af40  @.r.........@.r.
    f170d558 00000002 00000001 f17112c0 00000021  ..........q.!...
    f170d568 00000001 f17112c0 00000021 00000001  ......q.!.......
    f170d578 f17112c0 00000021 00000001 f1741240  ..q.!.......@.t.
    f170d588 00000001 00000001 f174f040 00000000  ........@.t.....
    f170d598 00000001 f170b6c0 00000021 00000001  ......p.!.......
    f170d5a8 f170b6c0 00000021 00000001 f170b6c0  ..p.!.........p.
    f170d5b8 00000021 00000001 f17372c0 00000021  !........rs.!...

memory near r4 ([anon:libc_malloc]):
    f170ffa0 00000000 00000000 00000000 00000000  ................
    f170ffb0 00000000 00000000 00000000 00000000  ................
    f170ffc0 41ac6000 00000008 efcce000 00003000  .`.A.........0..
    f170ffd0 f170ffc0 f170ffc0 00000000 00000000  ..p...p.........
    f170ffe0 00000000 ffffffff 00000000 00000000  ................
    f170fff0 00000000 00000000 00000000 00000000  ................
    f1710000 00000000 00000000 00000000 00000000  ................
    f1710010 00000000 00000000 00000000 00000000  ................
    f1710020 00000000 00000000 00000000 00000000  ................
    f1710030 00000000 00000000 00000000 00000000  ................
    f1710040 04c0e000 00000010 ef1721c0 00015000  .........!...P..
    f1710050 f1710040 f1710040 00000000 00000000  @.q.@.q.........
    f1710060 00000000 00000003 00000000 00000000  ................
    f1710070 00000000 00000000 00000000 00000000  ................
    f1710080 00000000 00000000 00000000 00000000  ................
    f1710090 00000000 00000000 00000000 00000000  ................

memory near r6 ([anon:libc_malloc]):
    f1700ff8 00000608 00000000 f160eb08 00000000  ..........`.....
    f1701008 000008fe 00000000 00000000 00000000  ................
    f1701018 00000000 00000000 00000000 00000000  ................
    f1701028 00000001 00000000 00000000 00000000  ................
    f1701038 00000001 00000000 000023fc 00000000  .........#......
    f1701048 f160f208 00000000 00012ece 00000000  ..`.............
    f1701058 00000000 00000000 00000000 00000000  ................
    f1701068 00000000 00000000 00000000 00000000  ................
    f1701078 00000000 00000000 00000000 00000000  ................
    f1701088 00000000 00000000 00000000 00000000  ................
    f1701098 00000000 00000000 00000000 00000000  ................
    f17010a8 00000000 00000000 00000000 00000000  ................
    f17010b8 00000000 00000000 00000000 00000000  ................
    f17010c8 00000000 00000000 00000000 00000000  ................
    f17010d8 00000000 00000000 00000000 00000000  ................
    f17010e8 00000000 00000000 00000000 00000000  ................

memory near r7 (/apex/com.android.runtime/lib/bionic/libc.so):
    f192c65c 00000000 00000000 f18bdfa1 00000001  ................
    f192c66c f189380d 00000000 00000000 f18be06d  .8..........m...
    f192c67c f18be159 f18be1d9 f18be1e1 f18be1e9  Y...............
    f192c68c f18be1f3 00000000 f18be1fd f18be207  ................
    f192c69c f18be20b f18c3cd1 f18c7379 f18c737d  .....<..ys..}s..
    f192c6ac f1899710 00000000 00000000 f18a2011  ............. ..
    f192c6bc f18d6995 f18d67c9 f18d68c1 f18d6999  .i...g...h...i..
    f192c6cc f18d6901 f18d6925 f18d693d 00000000  .i..%i..=i......
    f192c6dc 00000000 f18d6c61 f18d6c81 f18d6a35  ....al...l..5j..
    f192c6ec f18d6b35 f18d6ca9 f18d6bad f18d6be5  5k...l...k...k..
    f192c6fc f18d6c05 00000000 00000000 f18a2011  .l........... ..
    f192c70c f18d6995 f18d7a81 f18d7a95 f18d7a95  .i...z...z...z..
    f192c71c f18d7a99 f18a2011 f18d7aa1 f1897942  .z... ...z..By..
    f192c72c f18963a8 f1893932 f1893f20 f18990a9  .c..29.. ?......
    f192c73c f1894660 f18969b0 f1894d41 f189394c  `F...i..AM..L9..
    f192c74c f189a40c f189989c f1899d56 f18975c7  ........V....u..

memory near r8 ([anon:libc_malloc]):
    f160f1e8 00000000 00000000 00000000 00000000  ................
    f160f1f8 00000000 00000000 00000000 00000000  ................
    f160f208 01010101 00000000 f160f208 00000000  ..........`.....
    f160f218 00002b50 00000000 000000b0 00000000  P+..............
    f160f228 00000000 00000001 00000000 00000001  ................
    f160f238 00000000 00000001 00000000 00000001  ................
    f160f248 00000000 00000001 00000000 f1400000  ..............@.
    f160f258 f1703f40 ed800000 f172ed40 edc00000  @?p.....@.r.....
    f160f268 f1726b40 00000001 00000000 00000001  @kr.............
    f160f278 00000000 ee800000 f1719640 eec00000  ........@.q.....
    f160f288 f1714c40 00000001 00000000 00000001  @Lq.............
    f160f298 00000000 00000001 00000000 efc00000  ................
    f160f2a8 f170cb40 00000001 00000000 00000001  @.p.............
    f160f2b8 00000000 00000001 00000000 00000001  ................
    f160f2c8 00000000 00000001 00000000 00000001  ................
    f160f2d8 00000000 00000001 00000000 00000001  ................

memory near r10:
    ec20bdf4 f1701bf0 00000000 f17014b0 c7e0b5b0  ..p.......p.....
    ec20be04 f17014f0 f192f260 f1701018 00000003  ..p.`.....p.....
    ec20be14 fc67f182 c7e0b5b0 f1700380 f160f208  ..g.......p...`.
    ec20be24 f1701018 f160e408 f17014b0 f17014f0  ..p...`...p...p.
    ec20be34 f1700380 00000011 f18addcf 00000001  ..p.............
    ec20be44 00000000 00000003 00000000 00000000  ................
    ec20be54 f1701260 f192f260 fffffffe f1702bb0  `.p.`........+p.
    ec20be64 f170ffc0 f160f208 f18afa91 f1700380  ..p...`.......p.
    ec20be74 fc67f182 c7e0b5b0 f160f3d4 00000000  ..g.......`.....
    ec20be84 ec20bec0 ec20bfd0 f1700380 fffffffd  .. ... ...p.....
    ec20be94 ec20beb8 00000003 f18af8d1 00000001  .. .............
    ec20bea4 ec20bebc ec20bfd0 f18cf3b5 f170ffc0  .. ... .......p.
    ec20beb4 f170ffc0 f170ffc0 f18cf4dd 00000015  ..p...p.........
    ec20bec4 f160f2bc f160f2c4 f160f2cc 00000011  ..`...`...`.....
    ec20bed4 f192f260 f1702bf0 00000001 00000077  `....+p.....w...
    ec20bee4 f1700380 f1702bb0 f160f3d4 f19373c0  ..p..+p...`..s..

memory near r11 ([anon:libc_malloc]):
    f1700360 00000000 00000000 00000000 00000000  ................
    f1700370 00000000 00000000 00000000 00000000  ................
    f1700380 ffffffff ffffffff 00000000 00000000  ................
    f1700390 00000000 00000000 00000000 00000000  ................
    f17003a0 00000000 00000000 00000000 00000000  ................
    f17003b0 00000000 00000000 0000090e 00000000  ................
    f17003c0 fc59fc84 00000000 0000f634 00000000  ..Y.....4.......
    f17003d0 00000000 00000000 0116080a 00000000  ................
    f17003e0 0000191d 00000000 0000191d 00000000  ................
    f17003f0 000002ce 00000000 00000000 00000000  ................
    f1700400 00000000 00000000 00000000 00000000  ................
    f1700410 00000000 0000ffcf 00000000 00000000  ................
    f1700420 00000000 00000000 00000000 00000000  ................
    f1700430 00000000 00000000 00000000 00000000  ................
    f1700440 00000000 00000000 00000000 00000000  ................
    f1700450 00000000 00000000 00000000 00000000  ................

memory near ip (/apex/com.android.runtime/lib/bionic/libc.so):
    f192dcc8 f190fe30 f18df6f3 f18e0dd9 f18d7bb1  0............{..
    f192dcd8 f190f36c f18dfd83 f18dfe53 f191f949  l.......S...I...
    f192dce8 f191fcd9 f191ec8d f191f091 f1920e85  ................
    f192dcf8 f18f5a71 f19202e9 f190fb38 f18d7b95  qZ......8....{..
    f192dd08 f18d4f65 f1abd03f f191fe8d b85e2cc8  eO..?........,^.
    f192dd18 f18df881 f191f5dd f1920dad b85e2cc8  .............,^.
    f192dd28 f191f625 f18a2019 f1910270 b85e2cb8  %.... ..p....,^.
    f192dd38 f25c3e24 f18db23d f1905489 f18e0f91  $>\.=....T......
    f192dd48 f18d292d f18a4399 f191f72d f25c4610  -)...C..-....F\.
    f192dd58 b85e2cc8 f25c45f0 b85e2cb4 b85e2cb8  .,^..E\..,^..,^.
    f192dd68 f25c462c f18d30ec f18e0d85 f19054a9  ,F\..0.......T..
    f192dd78 f191f6a1 f191f6c5 f191f6a9 f18d2569  ............i%..
    f192dd88 f18e39e5 f190ff30 f190feb0 f190fd48  .9..0.......H...
    f192dd98 f18d22f5 b85e2cb4 f191f529 f2cd4481  ."...,^.)....D..
    f192dda8 f191c917 f18d3230 f18d3230 f18d471c  ....02..02...G..
    f192ddb8 f18d22c5 f190fa90 f18e19cd f18e1a51  ."..........Q...

memory near sp:
    ec20bd98 f170ffc0 00000003 c7e0b5b0 f170ffc0  ..p...........p.
    ec20bda8 00000003 f1701018 f192c67c f18c156b  ......p.|...k...
    ec20bdb8 00000001 ec20c002 c7e0b5b0 f170ffc0  ...... .......p.
    ec20bdc8 00000003 f1701018 00000000 f160f208  ......p.......`.
    ec20bdd8 00000000 00000001 f1700380 f18b2447  ..........p.G$..
    ec20bde8 00000000 f1701bf0 f1701c38 f1701bf0  ......p.8.p...p.
    ec20bdf8 00000000 f17014b0 c7e0b5b0 f17014f0  ......p.......p.
    ec20be08 f192f260 f1701018 00000003 fc67f182  `.....p.......g.
    ec20be18 c7e0b5b0 f1700380 f160f208 f1701018  ......p...`...p.
    ec20be28 f160e408 f17014b0 f17014f0 f1700380  ..`...p...p...p.
    ec20be38 00000011 f18addcf 00000001 00000000  ................
    ec20be48 00000003 00000000 00000000 f1701260  ............`.p.
    ec20be58 f192f260 fffffffe f1702bb0 f170ffc0  `........+p...p.
    ec20be68 f160f208 f18afa91 f1700380 fc67f182  ..`.......p...g.
    ec20be78 c7e0b5b0 f160f3d4 00000000 ec20bec0  ......`....... .
    ec20be88 ec20bfd0 f1700380 fffffffd ec20beb8  .. ...p....... .

memory near lr (/apex/com.android.runtime/lib/bionic/libc.so):
    f18c17f4 482ebb20 68004478 f3bf6800 78208f5b   ..HxD.h.h..[. x
    f18c1804 280078e1 0101f101 bf0470e1 f00f4620  .x.(.....p.. F..
    f18c1814 9804ffb1 1a086831 b005bf04 f064bdf0  ....1h........d.
    f18c1824 4821ed1e 44784669 46286805 fbbef010  ..!HiFxD.h(F....
    f18c1834 4604b150 0f08f814 d0da2800 21004620  P..F.....(.. F.!
    f18c1844 ffb4f00f e7d44604 60ccf44f f97ef010  .....F..O..`..~.
    f18c1854 90032800 4604d018 72202005 70202000  .(.....F.  r.  p
    f18c1864 0009f104 6157f240 ee60f064 46216838  ....@.Wad.`.8h!F
    f18c1874 ee64f064 4669b970 f0104628 f814fbe2  d.d.p.iF(F......
    f18c1884 28000f08 e7d9d0b5 44784809 f856f003  ...(.....HxD..V.
    f18c1894 edacf064 44784807 f850f003 eda6f064  d....HxD..P.d...
    f18c18a4 0006c276 0006c29a 0006c25a 0006c314  v.......Z.......
    f18c18b4 fffd3933 fffd7440 b085b5f0 48304604  39..@t.......F0H
    f18c18c4 44782c00 68306806 d10a9004 4478482d  .,xD.h0h....-HxD
    f18c18d4 68386807 ee1af064 b1904604 0f08f814  .h8hd....F......
    f18c18e4 78e0b9e0 70e03801 bf040600 f00f4620  ...x.8.p.... F..

memory near pc (/apex/com.android.runtime/lib/bionic/libc.so):
    f18c154c 3030f643 0000f85b fc99f7f1 0000f8ca  C.00[...........
    f18c155c 447f4f9a d02142b8 f0004640 f8daf931  .O.D.B!.@F..1...
    f18c156c 68460000 d0722e00 3130f643 f85b6823  ..Fh..r.C.01#h[.
    f18c157c 463d2001 1702e9d4 f36f6812 9200010b  . =F.....ho.....
    f18c158c 72fff640 0202ea27 3340f3c3 47b0462f  @..r'.....@3/F.G
    f18c159c 46404606 f98cf000 e05bb15e 0102e9d4  .F@F....^.[.....
    f18c15ac 72fff640 f36f4391 f002000b 2800fa3b  @..r.Co.....;..(
    f18c15bc f641d150 eb0b1008 f50b0700 463856c6  P.A..........V8F
    f18c15cc ef88f064 bf1e2800 00c8f641 f0054458  d....(..A...XD..
    f18c15dc f44ffcf9 f64150c8 f85b1204 f85b1000  ..O..PA...[...[.
    f18c15ec 31013002 1000f84b 0000f143 0002f84b  .0.1K...C...K...
    f18c15fc 45406bb0 f8c6d010 f6418038 f85b00f0  .k@E....8.A...[.
    f18c160c f6411000 f85b02f4 31013002 1000f84b  ..A...[..0.1K...
    f18c161c 0000f143 0002f84b 46202100 1f18f840  C...K....! F@...
    f18c162c 1101e9c0 b1596831 61e169c9 69ca6831  ....1hY..i.a1h.i
    f18c163c bf1c2a00 68316194 68306001 061cf100  .*...a1h.`0h....

memory map (601 entries): (fault address prefixed with --->)
    b85e0000-b85e1fff r--         0      2000  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic (BuildId: b2ebdece877980da409fe8098fea27)
    b85e2000-b85e2fff r-x      2000      1000  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic (BuildId: b2ebdece877980da409fe8098fea27)
    b85e3000-b85e3fff r--      3000      1000  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic (BuildId: b2ebdece877980da409fe8098fea27)
    e9c0e000-ec00dfff rw-         0   2400000  [anon:libc_malloc]
    ec10f000-ec10ffff ---         0      1000
    ec110000-ec20efff rw-         0     ff000
    ec20f000-ec20ffff ---         0      1000
    ec210000-ee14ffff rw-         0   1f40000  [anon:libc_malloc]
    ee150000-ee150fff ---         0      1000
    ee151000-ee24ffff rw-         0     ff000
    ee250000-ee251fff ---         0      2000
    ee252000-ee350fff rw-         0     ff000
    ee351000-ee351fff ---         0      1000
    ee352000-ef191fff rw-         0    e40000  [anon:libc_malloc]
    ef192000-ef192fff ---         0      1000
    ef193000-ef291fff rw-         0     ff000
    ef292000-ef293fff ---         0      2000
    ef294000-ef392fff rw-         0     ff000
    ef393000-ef394fff ---         0      2000
    ef395000-ef493fff rw-         0     ff000
    ef494000-ef495fff ---         0      2000
    ef496000-ef594fff rw-         0     ff000
    ef595000-ef596fff ---         0      2000
    ef597000-ef695fff rw-         0     ff000
    ef696000-ef696fff ---         0      1000
    ef697000-ef698fff r--         0      2000  /vendor/lib/libnbaio_mono.so (BuildId: 40c677ad9f82366488c28cd2eef628)
    ef699000-ef69afff r-x      2000      2000  /vendor/lib/libnbaio_mono.so (BuildId: 40c677ad9f82366488c28cd2eef628)
    ef69b000-ef69bfff rw-      4000      1000  /vendor/lib/libnbaio_mono.so (BuildId: 40c677ad9f82366488c28cd2eef628)
    ef69c000-ef69cfff r--      5000      1000  /vendor/lib/libnbaio_mono.so (BuildId: 40c677ad9f82366488c28cd2eef628)
    ef6cb000-ef6cdfff r--         0      3000  /vendor/lib/hw/audio.r_submix.default.so (BuildId: de211578cb90b30b4b4deb3771cc35)
    ef6ce000-ef6d1fff r-x      3000      4000  /vendor/lib/hw/audio.r_submix.default.so (BuildId: de211578cb90b30b4b4deb3771cc35)
    ef6d2000-ef6d2fff rw-      7000      1000  /vendor/lib/hw/audio.r_submix.default.so (BuildId: de211578cb90b30b4b4deb3771cc35)
    ef6d3000-ef6d3fff r--      8000      1000  /vendor/lib/hw/audio.r_submix.default.so (BuildId: de211578cb90b30b4b4deb3771cc35)
    ef6d4000-ef6d4fff rw-         0      1000  [anon:.bss]
    ef705000-ef706fff r--         0      2000  /vendor/lib/libalsautils.so (BuildId: fd83520a355d42d7a09cda311be012)
    ef707000-ef708fff r-x      2000      2000  /vendor/lib/libalsautils.so (BuildId: fd83520a355d42d7a09cda311be012)
    ef709000-ef709fff rw-      4000      1000  /vendor/lib/libalsautils.so (BuildId: fd83520a355d42d7a09cda311be012)
    ef70a000-ef70afff r--      5000      1000  /vendor/lib/libalsautils.so (BuildId: fd83520a355d42d7a09cda311be012)
    ef740000-ef741fff r--         0      2000  /vendor/lib/hw/audio.usb.default.so (BuildId: 83271c4aec7ead73be05745cbbdd29)
    ef742000-ef743fff r-x      2000      2000  /vendor/lib/hw/audio.usb.default.so (BuildId: 83271c4aec7ead73be05745cbbdd29)
    ef744000-ef744fff rw-      4000      1000  /vendor/lib/hw/audio.usb.default.so (BuildId: 83271c4aec7ead73be05745cbbdd29)
    ef745000-ef745fff r--      5000      1000  /vendor/lib/hw/audio.usb.default.so (BuildId: 83271c4aec7ead73be05745cbbdd29)
    ef793000-ef795fff r--         0      3000  /vendor/lib/soundfx/libvirtualsurround.so (BuildId: e73730210b20dc5421ebb1f8dffeb2)
    ef796000-ef79bfff r-x      3000      6000  /vendor/lib/soundfx/libvirtualsurround.so (BuildId: e73730210b20dc5421ebb1f8dffeb2)
    ef79c000-ef79cfff rw-      9000      1000  /vendor/lib/soundfx/libvirtualsurround.so (BuildId: e73730210b20dc5421ebb1f8dffeb2)
    ef79d000-ef79dfff r--      a000      1000  /vendor/lib/soundfx/libvirtualsurround.so (BuildId: e73730210b20dc5421ebb1f8dffeb2)
    ef79e000-ef79efff rw-         0      1000  [anon:.bss]
    ef7f7000-ef7f9fff r--         0      3000  /vendor/lib/soundfx/libtreblebasswrapper.so (BuildId: 32fafdddc06a07be3cea21e115cfe4)
    ef7fa000-ef7fcfff r-x      3000      3000  /vendor/lib/soundfx/libtreblebasswrapper.so (BuildId: 32fafdddc06a07be3cea21e115cfe4)
    ef7fd000-ef7fdfff rw-      6000      1000  /vendor/lib/soundfx/libtreblebasswrapper.so (BuildId: 32fafdddc06a07be3cea21e115cfe4)
    ef7fe000-ef7fefff r--      7000      1000  /vendor/lib/soundfx/libtreblebasswrapper.so (BuildId: 32fafdddc06a07be3cea21e115cfe4)
    ef7ff000-ef7fffff rw-         0      1000  [anon:.bss]
    ef80e000-ef810fff r--         0      3000  /vendor/lib/soundfx/libsrswrapper.so (BuildId: e8e2a0bdecf995b30ae302c5ed0d15)
    ef811000-ef815fff r-x      3000      5000  /vendor/lib/soundfx/libsrswrapper.so (BuildId: e8e2a0bdecf995b30ae302c5ed0d15)
    ef816000-ef816fff rw-      8000      1000  /vendor/lib/soundfx/libsrswrapper.so (BuildId: e8e2a0bdecf995b30ae302c5ed0d15)
    ef817000-ef817fff r--      9000      1000  /vendor/lib/soundfx/libsrswrapper.so (BuildId: e8e2a0bdecf995b30ae302c5ed0d15)
    ef818000-ef818fff rw-         0      1000  [anon:.bss]
    ef86f000-ef870fff r--         0      2000  /vendor/lib/soundfx/libbalance.so (BuildId: f5c9454a35a3d4c1bf2cf88084b682)
    ef871000-ef874fff r-x      2000      4000  /vendor/lib/soundfx/libbalance.so (BuildId: f5c9454a35a3d4c1bf2cf88084b682)
    ef875000-ef875fff rw-      6000      1000  /vendor/lib/soundfx/libbalance.so (BuildId: f5c9454a35a3d4c1bf2cf88084b682)
    ef876000-ef876fff r--      7000      1000  /vendor/lib/soundfx/libbalance.so (BuildId: f5c9454a35a3d4c1bf2cf88084b682)
    ef877000-ef877fff rw-         0      1000  [anon:.bss]
    ef8a1000-ef8a2fff r--         0      2000  /vendor/lib/soundfx/libavl.so (BuildId: 98b3cd960b938a0b7cdd3f6c052969)
    ef8a3000-ef8a5fff r-x      2000      3000  /vendor/lib/soundfx/libavl.so (BuildId: 98b3cd960b938a0b7cdd3f6c052969)
    ef8a6000-ef8a6fff rw-      5000      1000  /vendor/lib/soundfx/libavl.so (BuildId: 98b3cd960b938a0b7cdd3f6c052969)
    ef8a7000-ef8a7fff r--      6000      1000  /vendor/lib/soundfx/libavl.so (BuildId: 98b3cd960b938a0b7cdd3f6c052969)
    ef8a8000-ef8a8fff rw-         0      1000  [anon:.bss]
    ef8ed000-ef8effff r--         0      3000  /vendor/lib/soundfx/libhpeqwrapper.so (BuildId: 0a7707fc61ca62f4d8015a31dfb026)
    ef8f0000-ef8f5fff r-x      3000      6000  /vendor/lib/soundfx/libhpeqwrapper.so (BuildId: 0a7707fc61ca62f4d8015a31dfb026)
    ef8f6000-ef8f8fff rw-      9000      3000  /vendor/lib/soundfx/libhpeqwrapper.so (BuildId: 0a7707fc61ca62f4d8015a31dfb026)
    ef8f9000-ef8f9fff r--      c000      1000  /vendor/lib/soundfx/libhpeqwrapper.so (BuildId: 0a7707fc61ca62f4d8015a31dfb026)
    ef8fa000-ef8fafff rw-         0      1000  [anon:.bss]
    ef91b000-ef91cfff r--         0      2000  /vendor/lib/soundfx/libdynproc.so (BuildId: 81746df1105f79d5cd05adcdc46dbe)
    ef91d000-ef924fff r-x      2000      8000  /vendor/lib/soundfx/libdynproc.so (BuildId: 81746df1105f79d5cd05adcdc46dbe)
    ef925000-ef925fff rw-      a000      1000  /vendor/lib/soundfx/libdynproc.so (BuildId: 81746df1105f79d5cd05adcdc46dbe)
    ef926000-ef926fff r--      b000      1000  /vendor/lib/soundfx/libdynproc.so (BuildId: 81746df1105f79d5cd05adcdc46dbe)
    ef94b000-ef94bfff r--         0      1000  /vendor/lib/soundfx/libaudiopreprocessing.so (BuildId: 6f252481ec60f3e1aa9d535cbd486c)
    ef94c000-ef94efff r-x      1000      3000  /vendor/lib/soundfx/libaudiopreprocessing.so (BuildId: 6f252481ec60f3e1aa9d535cbd486c)
    ef94f000-ef94ffff rw-      4000      1000  /vendor/lib/soundfx/libaudiopreprocessing.so (BuildId: 6f252481ec60f3e1aa9d535cbd486c)
    ef950000-ef950fff r--      5000      1000  /vendor/lib/soundfx/libaudiopreprocessing.so (BuildId: 6f252481ec60f3e1aa9d535cbd486c)
    ef951000-ef951fff rw-         0      1000  [anon:.bss]
    ef987000-ef99dfff r--         0     17000  /system/lib/vndk-29/libprotobuf-cpp-lite.so (BuildId: 1461f3aed313d119173a80f759d34c)
    ef99e000-ef9b5fff r-x     17000     18000  /system/lib/vndk-29/libprotobuf-cpp-lite.so (BuildId: 1461f3aed313d119173a80f759d34c)
    ef9b6000-ef9b6fff rw-     2f000      1000  /system/lib/vndk-29/libprotobuf-cpp-lite.so (BuildId: 1461f3aed313d119173a80f759d34c)
    ef9b7000-ef9b7fff r--     30000      1000  /system/lib/vndk-29/libprotobuf-cpp-lite.so (BuildId: 1461f3aed313d119173a80f759d34c)
    ef9b8000-ef9b8fff rw-         0      1000  [anon:.bss]
    ef9e7000-efa22fff r--         0     3c000  /vendor/lib/libwebrtc_audio_preprocessing.so (BuildId: a4f4c9b379ee0d6da1f0a6f3b31acd)
    efa23000-efaa4fff r-x     3c000     82000  /vendor/lib/libwebrtc_audio_preprocessing.so (BuildId: a4f4c9b379ee0d6da1f0a6f3b31acd)
    efaa5000-efaa5fff rw-     be000      1000  /vendor/lib/libwebrtc_audio_preprocessing.so (BuildId: a4f4c9b379ee0d6da1f0a6f3b31acd)
    efaa6000-efaa8fff r--     bf000      3000  /vendor/lib/libwebrtc_audio_preprocessing.so (BuildId: a4f4c9b379ee0d6da1f0a6f3b31acd)
    efaa9000-efaa9fff rw-         0      1000  [anon:.bss]
    efac8000-efac8fff r--         0      1000  /vendor/lib/soundfx/libeffectproxy.so (BuildId: bed084d382508ab649d0234e68d4dd)
    efac9000-efac9fff r-x      1000      1000  /vendor/lib/soundfx/libeffectproxy.so (BuildId: bed084d382508ab649d0234e68d4dd)
    efaca000-efacafff rw-      2000      1000  /vendor/lib/soundfx/libeffectproxy.so (BuildId: bed084d382508ab649d0234e68d4dd)
    efacb000-efacbfff r--      3000      1000  /vendor/lib/soundfx/libeffectproxy.so (BuildId: bed084d382508ab649d0234e68d4dd)
    efb35000-efb35fff r--         0      1000  /vendor/lib/soundfx/libldnhncr.so (BuildId: c8ebe4ecc49ead3d8f32dc0a26e5ca)
    efb36000-efb36fff r-x      1000      1000  /vendor/lib/soundfx/libldnhncr.so (BuildId: c8ebe4ecc49ead3d8f32dc0a26e5ca)
    efb37000-efb37fff rw-      2000      1000  /vendor/lib/soundfx/libldnhncr.so (BuildId: c8ebe4ecc49ead3d8f32dc0a26e5ca)
    efb38000-efb38fff r--      3000      1000  /vendor/lib/soundfx/libldnhncr.so (BuildId: c8ebe4ecc49ead3d8f32dc0a26e5ca)
    efb66000-efb66fff r--         0      1000  /vendor/lib/soundfx/libdownmix.so (BuildId: b2ba1b25a3fa707bdc709fb3aaffc3)
    efb67000-efb67fff r-x      1000      1000  /vendor/lib/soundfx/libdownmix.so (BuildId: b2ba1b25a3fa707bdc709fb3aaffc3)
    efb68000-efb68fff rw-      2000      1000  /vendor/lib/soundfx/libdownmix.so (BuildId: b2ba1b25a3fa707bdc709fb3aaffc3)
    efb69000-efb69fff r--      3000      1000  /vendor/lib/soundfx/libdownmix.so (BuildId: b2ba1b25a3fa707bdc709fb3aaffc3)
    efbb5000-efbb6fff r--         0      2000  /vendor/lib/soundfx/libvisualizer.so (BuildId: 3bed1320874f5a33d1eb73c606bf37)
    efbb7000-efbb9fff r-x      2000      3000  /vendor/lib/soundfx/libvisualizer.so (BuildId: 3bed1320874f5a33d1eb73c606bf37)
    efbba000-efbbafff rw-      5000      1000  /vendor/lib/soundfx/libvisualizer.so (BuildId: 3bed1320874f5a33d1eb73c606bf37)
    efbbb000-efbbbfff r--      6000      1000  /vendor/lib/soundfx/libvisualizer.so (BuildId: 3bed1320874f5a33d1eb73c606bf37)
    efbbc000-efbbcfff rw-         0      1000  [anon:.bss]
    efbf5000-efbf6fff r--         0      2000  /vendor/lib/soundfx/libreverbwrapper.so (BuildId: 50666a4011de8fc5360527e3c315c1)
    efbf7000-efbfbfff r-x      2000      5000  /vendor/lib/soundfx/libreverbwrapper.so (BuildId: 50666a4011de8fc5360527e3c315c1)
    efbfc000-efbfcfff rw-      7000      1000  /vendor/lib/soundfx/libreverbwrapper.so (BuildId: 50666a4011de8fc5360527e3c315c1)
    efbfd000-efbfdfff r--      8000      1000  /vendor/lib/soundfx/libreverbwrapper.so (BuildId: 50666a4011de8fc5360527e3c315c1)
    efc0e000-efc10fff r--         0      3000  /vendor/lib/soundfx/libbundlewrapper.so (BuildId: 2c10bf35376f506ae1f493ee3b7a10)
    efc11000-efc1dfff r-x      3000      d000  /vendor/lib/soundfx/libbundlewrapper.so (BuildId: 2c10bf35376f506ae1f493ee3b7a10)
    efc1e000-efc1efff rw-     10000      1000  /vendor/lib/soundfx/libbundlewrapper.so (BuildId: 2c10bf35376f506ae1f493ee3b7a10)
    efc1f000-efc1ffff r--     11000      1000  /vendor/lib/soundfx/libbundlewrapper.so (BuildId: 2c10bf35376f506ae1f493ee3b7a10)
    efc20000-efc20fff rw-         0      1000  [anon:.bss]
    efc70000-efdaffff rw-         0    140000  [anon:libc_malloc]
    efdb0000-efdb0fff ---         0      1000
    efdb1000-efeaffff rw-         0     ff000
    efeb0000-efeb1fff ---         0      2000
    efeb2000-effb0fff rw-         0     ff000
    effb1000-effb1fff ---         0      1000
    effb2000-effb2fff r--         0      1000  /system/lib/libsync.so (BuildId: b6f4ac494db7313d8d7af12a3a9d2b)
    effb3000-effb3fff r-x      1000      1000  /system/lib/libsync.so (BuildId: b6f4ac494db7313d8d7af12a3a9d2b)
    effb4000-effb4fff rw-      2000      1000  /system/lib/libsync.so (BuildId: b6f4ac494db7313d8d7af12a3a9d2b)
    effb5000-effb5fff r--      3000      1000  /system/lib/libsync.so (BuildId: b6f4ac494db7313d8d7af12a3a9d2b)
    effb6000-effb6fff rw-         0      1000  [anon:.bss]
    effcc000-effcdfff r--         0      2000  /system/lib/vndk-29/libspeexresampler.so (BuildId: 4ae5ef87d8720be76e47189a9299b0)
    effce000-effd0fff r-x      2000      3000  /system/lib/vndk-29/libspeexresampler.so (BuildId: 4ae5ef87d8720be76e47189a9299b0)
    effd1000-effd1fff rw-      5000      1000  /system/lib/vndk-29/libspeexresampler.so (BuildId: 4ae5ef87d8720be76e47189a9299b0)
    effd2000-effd2fff r--      6000      1000  /system/lib/vndk-29/libspeexresampler.so (BuildId: 4ae5ef87d8720be76e47189a9299b0)
    f0008000-f0037fff r-x         0     30000  /vendor/lib/libnano.so (BuildId: 986f1311d399ff7b5e550a854d8f5e)
    f0038000-f0038fff ---         0      1000
    f0039000-f0039fff r--     30000      1000  /vendor/lib/libnano.so (BuildId: 986f1311d399ff7b5e550a854d8f5e)
    f003a000-f0043fff rw-     31000      a000  /vendor/lib/libnano.so (BuildId: 986f1311d399ff7b5e550a854d8f5e)
    f0044000-f00bafff rw-         0     77000  [anon:.bss]
    f00ea000-f00f7fff r--         0      e000  /vendor/lib/libamaudioutils.so (BuildId: 43d9b532ec580342dfcb8280620f95)
    f00f8000-f00fffff r-x      e000      8000  /vendor/lib/libamaudioutils.so (BuildId: 43d9b532ec580342dfcb8280620f95)
    f0100000-f0100fff rw-     16000      1000  /vendor/lib/libamaudioutils.so (BuildId: 43d9b532ec580342dfcb8280620f95)
    f0101000-f0101fff r--     17000      1000  /vendor/lib/libamaudioutils.so (BuildId: 43d9b532ec580342dfcb8280620f95)
    f0102000-f013afff rw-         0     39000  [anon:.bss]
    f014b000-f015ffff r--         0     15000  /vendor/lib/libamlaudiorc.so (BuildId: 67a0cc47ac70f865d8fa46cce461e8)
    f0160000-f0179fff r-x     15000     1a000  /vendor/lib/libamlaudiorc.so (BuildId: 67a0cc47ac70f865d8fa46cce461e8)
    f017a000-f017afff rw-     2f000      1000  /vendor/lib/libamlaudiorc.so (BuildId: 67a0cc47ac70f865d8fa46cce461e8)
    f017b000-f017bfff r--     30000      1000  /vendor/lib/libamlaudiorc.so (BuildId: 67a0cc47ac70f865d8fa46cce461e8)
    f017c000-f017dfff rw-         0      2000  [anon:.bss]
    f0189000-f018efff r--         0      6000  /vendor/lib/libamadec.so (BuildId: ac48ea7fa8e2be34b30da5065c203c)
    f018f000-f019afff r-x      6000      c000  /vendor/lib/libamadec.so (BuildId: ac48ea7fa8e2be34b30da5065c203c)
    f019b000-f019cfff rw-     12000      2000  /vendor/lib/libamadec.so (BuildId: ac48ea7fa8e2be34b30da5065c203c)
    f019d000-f019dfff r--     14000      1000  /vendor/lib/libamadec.so (BuildId: ac48ea7fa8e2be34b30da5065c203c)
    f019e000-f0299fff rw-         0     fc000  [anon:.bss]
    f02d5000-f02d5fff r--         0      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.2.so (BuildId: 68e1419cba2a0d05045e6dafe57994)
    f02d6000-f02d6fff r-x      1000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.2.so (BuildId: 68e1419cba2a0d05045e6dafe57994)
    f02d7000-f02d7fff rw-      2000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.2.so (BuildId: 68e1419cba2a0d05045e6dafe57994)
    f02d8000-f02d8fff r--      3000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.2.so (BuildId: 68e1419cba2a0d05045e6dafe57994)
    f0314000-f031bfff r--         0      8000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.0.so (BuildId: 5b3320952d77f67b4f5873e3fbe8dc)
    f031c000-f0324fff r-x      8000      9000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.0.so (BuildId: 5b3320952d77f67b4f5873e3fbe8dc)
    f0325000-f0325fff rw-     11000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.0.so (BuildId: 5b3320952d77f67b4f5873e3fbe8dc)
    f0326000-f0326fff r--     12000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.0.so (BuildId: 5b3320952d77f67b4f5873e3fbe8dc)
    f036a000-f0370fff r--         0      7000  /system/lib/vndk-29/android.hardware.graphics.allocator@3.0.so (BuildId: bd401ac7a72158473de28f525e5450)
    f0371000-f0377fff r-x      7000      7000  /system/lib/vndk-29/android.hardware.graphics.allocator@3.0.so (BuildId: bd401ac7a72158473de28f525e5450)
    f0378000-f0378fff rw-      e000      1000  /system/lib/vndk-29/android.hardware.graphics.allocator@3.0.so (BuildId: bd401ac7a72158473de28f525e5450)
    f0379000-f0379fff r--      f000      1000  /system/lib/vndk-29/android.hardware.graphics.allocator@3.0.so (BuildId: bd401ac7a72158473de28f525e5450)
    f0393000-f0395fff r--         0      3000  /system/lib/vndk-29/libexpat.so (BuildId: 232da6d0db05f6d59ed610cc12c946)
    f0396000-f03a8fff r-x      3000     13000  /system/lib/vndk-29/libexpat.so (BuildId: 232da6d0db05f6d59ed610cc12c946)
    f03a9000-f03a9fff rw-     16000      1000  /system/lib/vndk-29/libexpat.so (BuildId: 232da6d0db05f6d59ed610cc12c946)
    f03aa000-f03abfff r--     17000      2000  /system/lib/vndk-29/libexpat.so (BuildId: 232da6d0db05f6d59ed610cc12c946)
    f03cd000-f03d2fff r--         0      6000  /system/lib/vndk-29/libaudioutils.so (BuildId: 655732ac60212aeb54a53200e5ff05)
    f03d3000-f03dbfff r-x      6000      9000  /system/lib/vndk-29/libaudioutils.so (BuildId: 655732ac60212aeb54a53200e5ff05)
    f03dc000-f03dcfff rw-      f000      1000  /system/lib/vndk-29/libaudioutils.so (BuildId: 655732ac60212aeb54a53200e5ff05)
    f03dd000-f03ddfff r--     10000      1000  /system/lib/vndk-29/libaudioutils.so (BuildId: 655732ac60212aeb54a53200e5ff05)
    f042f000-f0435fff r--         0      7000  /system/lib/vndk-29/android.hardware.graphics.allocator@2.0.so (BuildId: aeb9004cb0d921cc5d78c65feb403d)
    f0436000-f043cfff r-x      7000      7000  /system/lib/vndk-29/android.hardware.graphics.allocator@2.0.so (BuildId: aeb9004cb0d921cc5d78c65feb403d)
    f043d000-f043dfff rw-      e000      1000  /system/lib/vndk-29/android.hardware.graphics.allocator@2.0.so (BuildId: aeb9004cb0d921cc5d78c65feb403d)
    f043e000-f043efff r--      f000      1000  /system/lib/vndk-29/android.hardware.graphics.allocator@2.0.so (BuildId: aeb9004cb0d921cc5d78c65feb403d)
    f0444000-f046dfff r--         0     2a000  /vendor/lib/hw/audio.primary.amlogic.so (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
    f046e000-f049efff r-x     2a000     31000  /vendor/lib/hw/audio.primary.amlogic.so (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
    f049f000-f049ffff rw-     5b000      1000  /vendor/lib/hw/audio.primary.amlogic.so (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
    f04a0000-f04a0fff r--     5c000      1000  /vendor/lib/hw/audio.primary.amlogic.so (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
    f04a1000-f04a1fff rw-         0      1000  [anon:.bss]
    f04d8000-f04e0fff r--         0      9000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.1.so (BuildId: 67cd28a5491da2de305e5d2f789733)
    f04e1000-f04e9fff r-x      9000      9000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.1.so (BuildId: 67cd28a5491da2de305e5d2f789733)
    f04ea000-f04eafff rw-     12000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.1.so (BuildId: 67cd28a5491da2de305e5d2f789733)
    f04eb000-f04ebfff r--     13000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@2.1.so (BuildId: 67cd28a5491da2de305e5d2f789733)
    f0506000-f0509fff r--         0      4000  /system/lib/vndk-29/libsysutils.so (BuildId: 1663c4b9aefab8d48bbaec4489a49a)
    f050a000-f050dfff r-x      4000      4000  /system/lib/vndk-29/libsysutils.so (BuildId: 1663c4b9aefab8d48bbaec4489a49a)
    f050e000-f050efff rw-      8000      1000  /system/lib/vndk-29/libsysutils.so (BuildId: 1663c4b9aefab8d48bbaec4489a49a)
    f050f000-f050ffff r--      9000      1000  /system/lib/vndk-29/libsysutils.so (BuildId: 1663c4b9aefab8d48bbaec4489a49a)
    f0510000-f0510fff rw-         0      1000  [anon:.bss]
    f054f000-f055cfff r--         0      e000  /system/lib/vndk-29/libui.so (BuildId: b98606ce7a152615cc759845b907c0)
    f055d000-f056bfff r-x      e000      f000  /system/lib/vndk-29/libui.so (BuildId: b98606ce7a152615cc759845b907c0)
    f056c000-f056cfff rw-     1d000      1000  /system/lib/vndk-29/libui.so (BuildId: b98606ce7a152615cc759845b907c0)
    f056d000-f056dfff r--     1e000      1000  /system/lib/vndk-29/libui.so (BuildId: b98606ce7a152615cc759845b907c0)
    f056e000-f056efff rw-         0      1000  [anon:.bss]
    f05b5000-f0631fff r-x         0     7d000  /vendor/lib/libam_adp.so
    f0632000-f0632fff ---         0      1000
    f0633000-f0633fff r--     7d000      1000  /vendor/lib/libam_adp.so
    f0634000-f063afff rw-     7e000      7000  /vendor/lib/libam_adp.so
    f063b000-f063cfff rw-         0      2000  [anon:.bss]
    f0650000-f0658fff r--         0      9000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@3.0.so (BuildId: bc111ffa8bdb3017cf8336f9e92638)
    f0659000-f0662fff r-x      9000      a000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@3.0.so (BuildId: bc111ffa8bdb3017cf8336f9e92638)
    f0663000-f0663fff rw-     13000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@3.0.so (BuildId: bc111ffa8bdb3017cf8336f9e92638)
    f0664000-f0664fff r--     14000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.mapper@3.0.so (BuildId: bc111ffa8bdb3017cf8336f9e92638)
    f0694000-f0694fff r--         0      1000  /system/lib/vndk-29/libaudioroute.so (BuildId: 7ba3d61f9e81452e6bf9a033df6289)
    f0695000-f0696fff r-x      1000      2000  /system/lib/vndk-29/libaudioroute.so (BuildId: 7ba3d61f9e81452e6bf9a033df6289)
    f0697000-f0697fff rw-      3000      1000  /system/lib/vndk-29/libaudioroute.so (BuildId: 7ba3d61f9e81452e6bf9a033df6289)
    f0698000-f0698fff r--      4000      1000  /system/lib/vndk-29/libaudioroute.so (BuildId: 7ba3d61f9e81452e6bf9a033df6289)
    f06d8000-f06d8fff r--         0      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.1.so (BuildId: 7865c1b2d8f05e0a27c4bc87802816)
    f06d9000-f06d9fff r-x      1000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.1.so (BuildId: 7865c1b2d8f05e0a27c4bc87802816)
    f06da000-f06dafff rw-      2000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.1.so (BuildId: 7865c1b2d8f05e0a27c4bc87802816)
    f06db000-f06dbfff r--      3000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.1.so (BuildId: 7865c1b2d8f05e0a27c4bc87802816)
    f0702000-f070afff r--         0      9000  /vendor/lib/libms12api.so (BuildId: 8e12c0c99d9fd01a168799208531da)
    f070b000-f0713fff r-x      9000      9000  /vendor/lib/libms12api.so (BuildId: 8e12c0c99d9fd01a168799208531da)
    f0714000-f0714fff rw-     12000      1000  /vendor/lib/libms12api.so (BuildId: 8e12c0c99d9fd01a168799208531da)
    f0715000-f0715fff r--     13000      1000  /vendor/lib/libms12api.so (BuildId: 8e12c0c99d9fd01a168799208531da)
    f0716000-f0716fff rw-         0      1000  [anon:.bss]
    f0760000-f0768fff r--         0      9000  /vendor/lib/libamavutils.so (BuildId: 553e53aa1738098285d405dcabf489)
    f0769000-f0770fff r-x      9000      8000  /vendor/lib/libamavutils.so (BuildId: 553e53aa1738098285d405dcabf489)
    f0771000-f0771fff rw-     11000      1000  /vendor/lib/libamavutils.so (BuildId: 553e53aa1738098285d405dcabf489)
    f0772000-f0772fff r--     12000      1000  /vendor/lib/libamavutils.so (BuildId: 553e53aa1738098285d405dcabf489)
    f0773000-f0773fff rw-         0      1000  [anon:.bss]
    f0790000-f0796fff r--         0      7000  /vendor/lib/vendor.amlogic.hardware.remotecontrol@1.0.so
    f0797000-f079dfff r-x      7000      7000  /vendor/lib/vendor.amlogic.hardware.remotecontrol@1.0.so
    f079e000-f079efff rw-      e000      1000  /vendor/lib/vendor.amlogic.hardware.remotecontrol@1.0.so
    f079f000-f079ffff r--      f000      1000  /vendor/lib/vendor.amlogic.hardware.remotecontrol@1.0.so
    f07d9000-f07dafff r--         0      2000  /system/lib/vndk-29/libtinyalsa.so (BuildId: 0ceba710c8d64ec98b21cb00bc2d51)
    f07db000-f07ddfff r-x      2000      3000  /system/lib/vndk-29/libtinyalsa.so (BuildId: 0ceba710c8d64ec98b21cb00bc2d51)
    f07de000-f07defff rw-      5000      1000  /system/lib/vndk-29/libtinyalsa.so (BuildId: 0ceba710c8d64ec98b21cb00bc2d51)
    f07df000-f07dffff r--      6000      1000  /system/lib/vndk-29/libtinyalsa.so (BuildId: 0ceba710c8d64ec98b21cb00bc2d51)
    f080b000-f092bfff r-x         0    121000  /vendor/lib/libicuuc_vendor.so (load bias 0x8000)
    f092c000-f092cfff ---         0      1000
    f092d000-f0937fff r--    121000      b000  /vendor/lib/libicuuc_vendor.so
    f0938000-f0938fff rw-    12c000      1000  /vendor/lib/libicuuc_vendor.so
    f0939000-f0939fff rw-         0      1000  [anon:.bss]
    f095e000-f0964fff r--         0      7000  /system/lib/vndk-sp-29/libz.so (BuildId: 4c95f88fe6151215d6bdd2c4d58e8a)
    f0965000-f0976fff r-x      7000     12000  /system/lib/vndk-sp-29/libz.so (BuildId: 4c95f88fe6151215d6bdd2c4d58e8a)
    f0977000-f0977fff rw-     19000      1000  /system/lib/vndk-sp-29/libz.so (BuildId: 4c95f88fe6151215d6bdd2c4d58e8a)
    f0978000-f0978fff r--     1a000      1000  /system/lib/vndk-sp-29/libz.so (BuildId: 4c95f88fe6151215d6bdd2c4d58e8a)
    f0996000-f0996fff r--         0      1000  /system/lib/vndk-sp-29/libion.so (BuildId: 125f6329d6bfebf686560233883c86)
    f0997000-f0997fff r-x      1000      1000  /system/lib/vndk-sp-29/libion.so (BuildId: 125f6329d6bfebf686560233883c86)
    f0998000-f0998fff rw-      2000      1000  /system/lib/vndk-sp-29/libion.so (BuildId: 125f6329d6bfebf686560233883c86)
    f0999000-f0999fff r--      3000      1000  /system/lib/vndk-sp-29/libion.so (BuildId: 125f6329d6bfebf686560233883c86)
    f099a000-f099afff rw-         0      1000  [anon:.bss]
    f09c9000-f09c9fff r--         0      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.0.so (BuildId: 70051e684f8a6894087d2b09b4e908)
    f09ca000-f09cafff r-x      1000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.0.so (BuildId: 70051e684f8a6894087d2b09b4e908)
    f09cb000-f09cbfff rw-      2000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.0.so (BuildId: 70051e684f8a6894087d2b09b4e908)
    f09cc000-f09ccfff r--      3000      1000  /system/lib/vndk-sp-29/android.hardware.graphics.common@1.0.so (BuildId: 70051e684f8a6894087d2b09b4e908)
    f0a2b000-f0a2dfff r--         0      3000  /vendor/lib/libdroidaudiospdif.so (BuildId: 271d2be32cffc8f5006897e0674d10)
    f0a2e000-f0a30fff r-x      3000      3000  /vendor/lib/libdroidaudiospdif.so (BuildId: 271d2be32cffc8f5006897e0674d10)
    f0a31000-f0a31fff rw-      6000      1000  /vendor/lib/libdroidaudiospdif.so (BuildId: 271d2be32cffc8f5006897e0674d10)
    f0a32000-f0a32fff r--      7000      1000  /vendor/lib/libdroidaudiospdif.so (BuildId: 271d2be32cffc8f5006897e0674d10)
    f0a33000-f0a33fff rw-         0      1000  [anon:.bss]
    f0a61000-f0a67fff r--         0      7000  /vendor/lib/hw/android.hardware.bluetooth.audio@2.0-impl.so (BuildId: f3ed87902c888e3e761b49ddc98869)
    f0a68000-f0a70fff r-x      7000      9000  /vendor/lib/hw/android.hardware.bluetooth.audio@2.0-impl.so (BuildId: f3ed87902c888e3e761b49ddc98869)
    f0a71000-f0a71fff rw-     10000      1000  /vendor/lib/hw/android.hardware.bluetooth.audio@2.0-impl.so (BuildId: f3ed87902c888e3e761b49ddc98869)
    f0a72000-f0a72fff r--     11000      1000  /vendor/lib/hw/android.hardware.bluetooth.audio@2.0-impl.so (BuildId: f3ed87902c888e3e761b49ddc98869)
    f0a73000-f0a73fff rw-         0      1000  [anon:.bss]
    f0a8f000-f0a94fff r--         0      6000  /vendor/lib/libbluetooth_audio_session.so (BuildId: 8e79e14da60b3fa0c43675e45f6aea)
    f0a95000-f0a9dfff r-x      6000      9000  /vendor/lib/libbluetooth_audio_session.so (BuildId: 8e79e14da60b3fa0c43675e45f6aea)
    f0a9e000-f0a9efff rw-      f000      1000  /vendor/lib/libbluetooth_audio_session.so (BuildId: 8e79e14da60b3fa0c43675e45f6aea)
    f0a9f000-f0a9ffff r--     10000      1000  /vendor/lib/libbluetooth_audio_session.so (BuildId: 8e79e14da60b3fa0c43675e45f6aea)
    f0aa0000-f0aa0fff rw-         0      1000  [anon:.bss]
    f0aea000-f0aeefff r--         0      5000  /vendor/lib/hw/android.hardware.soundtrigger@2.2-impl.so (BuildId: 5f16c2a3b4850a2a86195eba0fd660)
    f0aef000-f0af1fff r-x      5000      3000  /vendor/lib/hw/android.hardware.soundtrigger@2.2-impl.so (BuildId: 5f16c2a3b4850a2a86195eba0fd660)
    f0af2000-f0af2fff rw-      8000      1000  /vendor/lib/hw/android.hardware.soundtrigger@2.2-impl.so (BuildId: 5f16c2a3b4850a2a86195eba0fd660)
    f0af3000-f0af3fff r--      9000      1000  /vendor/lib/hw/android.hardware.soundtrigger@2.2-impl.so (BuildId: 5f16c2a3b4850a2a86195eba0fd660)
    f0b2c000-f0b2efff r--         0      3000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0-core.so (BuildId: b157a680d22e90ee6f70524d880d65)
    f0b2f000-f0b30fff r-x      3000      2000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0-core.so (BuildId: b157a680d22e90ee6f70524d880d65)
    f0b31000-f0b31fff rw-      5000      1000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0-core.so (BuildId: b157a680d22e90ee6f70524d880d65)
    f0b32000-f0b32fff r--      6000      1000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0-core.so (BuildId: b157a680d22e90ee6f70524d880d65)
    f0b50000-f0b56fff r--         0      7000  /system/lib/vndk-29/android.hidl.allocator@1.0.so (BuildId: f959fcecbfd03c90599a928809f557)
    f0b57000-f0b5dfff r-x      7000      7000  /system/lib/vndk-29/android.hidl.allocator@1.0.so (BuildId: f959fcecbfd03c90599a928809f557)
    f0b5e000-f0b5efff rw-      e000      1000  /system/lib/vndk-29/android.hidl.allocator@1.0.so (BuildId: f959fcecbfd03c90599a928809f557)
    f0b5f000-f0b5ffff r--      f000      1000  /system/lib/vndk-29/android.hidl.allocator@1.0.so (BuildId: f959fcecbfd03c90599a928809f557)
    f0ba0000-f0ba4fff r--         0      5000  /system/lib/vndk-29/libtinyxml2.so (BuildId: 210a633f9fe62912dae134c85415b6)
    f0ba5000-f0baafff r-x      5000      6000  /system/lib/vndk-29/libtinyxml2.so (BuildId: 210a633f9fe62912dae134c85415b6)
    f0bab000-f0babfff rw-      b000      1000  /system/lib/vndk-29/libtinyxml2.so (BuildId: 210a633f9fe62912dae134c85415b6)
    f0bac000-f0bacfff r--      c000      1000  /system/lib/vndk-29/libtinyxml2.so (BuildId: 210a633f9fe62912dae134c85415b6)
    f0be2000-f0be3fff r--         0      2000  /vendor/lib/libeffects.so (BuildId: 8c7b72e82b55636b7cba6fb40bab74)
    f0be4000-f0be6fff r-x      2000      3000  /vendor/lib/libeffects.so (BuildId: 8c7b72e82b55636b7cba6fb40bab74)
    f0be7000-f0be7fff rw-      5000      1000  /vendor/lib/libeffects.so (BuildId: 8c7b72e82b55636b7cba6fb40bab74)
    f0be8000-f0be8fff r--      6000      1000  /vendor/lib/libeffects.so (BuildId: 8c7b72e82b55636b7cba6fb40bab74)
    f0be9000-f0be9fff rw-         0      1000  [anon:.bss]
    f0c12000-f0c18fff r--         0      7000  /system/lib/vndk-sp-29/android.hidl.memory.token@1.0.so (BuildId: 2cd77cc940d46480087346edbf6e3a)
    f0c19000-f0c1efff r-x      7000      6000  /system/lib/vndk-sp-29/android.hidl.memory.token@1.0.so (BuildId: 2cd77cc940d46480087346edbf6e3a)
    f0c1f000-f0c1ffff rw-      d000      1000  /system/lib/vndk-sp-29/android.hidl.memory.token@1.0.so (BuildId: 2cd77cc940d46480087346edbf6e3a)
    f0c20000-f0c20fff r--      e000      1000  /system/lib/vndk-sp-29/android.hidl.memory.token@1.0.so (BuildId: 2cd77cc940d46480087346edbf6e3a)
    f0c46000-f0c48fff r--         0      3000  /system/lib/vndk-sp-29/libhidlmemory.so (BuildId: 78be6232e9e5da0a356002e9460f7f)
    f0c49000-f0c49fff r-x      3000      1000  /system/lib/vndk-sp-29/libhidlmemory.so (BuildId: 78be6232e9e5da0a356002e9460f7f)
    f0c4a000-f0c4afff rw-      4000      1000  /system/lib/vndk-sp-29/libhidlmemory.so (BuildId: 78be6232e9e5da0a356002e9460f7f)
    f0c4b000-f0c4bfff r--      5000      1000  /system/lib/vndk-sp-29/libhidlmemory.so (BuildId: 78be6232e9e5da0a356002e9460f7f)
    f0c4c000-f0c4cfff rw-         0      1000  [anon:.bss]
    f0ca0000-f0ca9fff r--         0      a000  /system/lib/vndk-sp-29/android.hidl.memory@1.0.so (BuildId: 38ef377f354914948c92a5d460d5ed)
    f0caa000-f0cb6fff r-x      a000      d000  /system/lib/vndk-sp-29/android.hidl.memory@1.0.so (BuildId: 38ef377f354914948c92a5d460d5ed)
    f0cb7000-f0cb7fff rw-     17000      1000  /system/lib/vndk-sp-29/android.hidl.memory@1.0.so (BuildId: 38ef377f354914948c92a5d460d5ed)
    f0cb8000-f0cb9fff r--     18000      2000  /system/lib/vndk-sp-29/android.hidl.memory@1.0.so (BuildId: 38ef377f354914948c92a5d460d5ed)
    f0cc7000-f0ce7fff r--         0     21000  /vendor/lib/hw/android.hardware.audio.effect@5.0-impl.so (BuildId: 34c8c1467b4e6bbdef98f7dbb2beac)
    f0ce8000-f0cf5fff r-x     21000      e000  /vendor/lib/hw/android.hardware.audio.effect@5.0-impl.so (BuildId: 34c8c1467b4e6bbdef98f7dbb2beac)
    f0cf6000-f0cf6fff rw-     2f000      1000  /vendor/lib/hw/android.hardware.audio.effect@5.0-impl.so (BuildId: 34c8c1467b4e6bbdef98f7dbb2beac)
    f0cf7000-f0cfafff r--     30000      4000  /vendor/lib/hw/android.hardware.audio.effect@5.0-impl.so (BuildId: 34c8c1467b4e6bbdef98f7dbb2beac)
    f0cfb000-f0cfbfff rw-         0      1000  [anon:.bss]
    f0d16000-f0d17fff r--         0      2000  /vendor/lib/libeffectsconfig.so (BuildId: 9d29fb08869f48b4eebb1d02d5b298)
    f0d18000-f0d19fff r-x      2000      2000  /vendor/lib/libeffectsconfig.so (BuildId: 9d29fb08869f48b4eebb1d02d5b298)
    f0d1a000-f0d1afff rw-      4000      1000  /vendor/lib/libeffectsconfig.so (BuildId: 9d29fb08869f48b4eebb1d02d5b298)
    f0d1b000-f0d1bfff r--      5000      1000  /vendor/lib/libeffectsconfig.so (BuildId: 9d29fb08869f48b4eebb1d02d5b298)
    f0d6b000-f0d6bfff ---         0      1000
    f0d6c000-f0e6afff rw-         0     ff000
    f0e6b000-f0e6cfff ---         0      2000
    f0e6d000-f0f6bfff rw-         0     ff000
    f0f6c000-f0f6cfff ---         0      1000
    f0f6d000-f0f6efff r--         0      2000  /system/lib/vndk-29/libfmq.so (BuildId: d4d11274018bac48ad163b1932a2b1)
    f0f6f000-f0f70fff r-x      2000      2000  /system/lib/vndk-29/libfmq.so (BuildId: d4d11274018bac48ad163b1932a2b1)
    f0f71000-f0f71fff rw-      4000      1000  /system/lib/vndk-29/libfmq.so (BuildId: d4d11274018bac48ad163b1932a2b1)
    f0f72000-f0f72fff r--      5000      1000  /system/lib/vndk-29/libfmq.so (BuildId: d4d11274018bac48ad163b1932a2b1)
    f0f90000-f0fa8fff r--         0     19000  /vendor/lib/hw/android.hardware.audio@5.0-impl.so (BuildId: e81edf3d0d2cdf00c67b9bbd7bd65c)
    f0fa9000-f0fbafff r-x     19000     12000  /vendor/lib/hw/android.hardware.audio@5.0-impl.so (BuildId: e81edf3d0d2cdf00c67b9bbd7bd65c)
    f0fbb000-f0fbbfff rw-     2b000      1000  /vendor/lib/hw/android.hardware.audio@5.0-impl.so (BuildId: e81edf3d0d2cdf00c67b9bbd7bd65c)
    f0fbc000-f0fbefff r--     2c000      3000  /vendor/lib/hw/android.hardware.audio@5.0-impl.so (BuildId: e81edf3d0d2cdf00c67b9bbd7bd65c)
    f0fbf000-f0fbffff rw-         0      1000  [anon:.bss]
    f0fff000-f0ffffff ---         0      1000
    f1000000-f10fefff rw-         0     ff000
    f10ff000-f10fffff ---         0      1000
    f1100000-f12fffff rw-         0    200000  [anon:libc_malloc]
    f1401000-f1401fff ---         0      1000
    f1402000-f1500fff rw-         0     ff000
    f1501000-f1501fff ---         0      1000
    f1600000-f17fffff rw-         0    200000  [anon:libc_malloc]
    f180b000-f180bfff r--         0      1000  /system/lib/libvndksupport.so (BuildId: 8997b2f1f7ee39ab4de5a9325c86ee)
    f180c000-f180cfff r-x      1000      1000  /system/lib/libvndksupport.so (BuildId: 8997b2f1f7ee39ab4de5a9325c86ee)
    f180d000-f180dfff rw-      2000      1000  /system/lib/libvndksupport.so (BuildId: 8997b2f1f7ee39ab4de5a9325c86ee)
    f180e000-f180efff r--      3000      1000  /system/lib/libvndksupport.so (BuildId: 8997b2f1f7ee39ab4de5a9325c86ee)
    f180f000-f180ffff rw-         0      1000  [anon:.bss]
    f1815000-f1878fff rw-         0     64000  [anon:linker_alloc]
    f1879000-f18a1fff r--         0     29000  /apex/com.android.runtime/lib/bionic/libc.so (BuildId: a82a8324059a3f30a292a0e928691aca)
    f18a2000-f1928fff r-x     29000     87000  /apex/com.android.runtime/lib/bionic/libc.so (BuildId: a82a8324059a3f30a292a0e928691aca)
    f1929000-f192afff rw-     b0000      2000  /apex/com.android.runtime/lib/bionic/libc.so (BuildId: a82a8324059a3f30a292a0e928691a)
    f192b000-f192efff r--     b2000      4000  /apex/com.android.runtime/lib/bionic/libc.so (BuildId: a82a8324059a3f30a292a0e928691a)
    f192f000-f1931fff rw-         0      3000  [anon:.bss]
    f1932000-f1932fff r--         0      1000  [anon:.bss]
    f1933000-f193ffff rw-         0      d000  [anon:.bss]
    f1941000-f194cfff r--         0      c000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0.so (BuildId: 5158968c4c63a4752379df06bd4289)
    f194d000-f195cfff r-x      c000     10000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0.so (BuildId: 5158968c4c63a4752379df06bd4289)
    f195d000-f195dfff rw-     1c000      1000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0.so (BuildId: 5158968c4c63a4752379df06bd4289)
    f195e000-f195ffff r--     1d000      2000  /system/lib/vndk-29/android.hardware.soundtrigger@2.0.so (BuildId: 5158968c4c63a4752379df06bd4289)
    f1981000-f1984fff r--         0      4000  /system/lib/liblog.so (BuildId: 39c5c5ff515f7936fadc476e0d8e48)
    f1985000-f198ffff r-x      4000      b000  /system/lib/liblog.so (BuildId: 39c5c5ff515f7936fadc476e0d8e48)
    f1990000-f1990fff rw-      f000      1000  /system/lib/liblog.so (BuildId: 39c5c5ff515f7936fadc476e0d8e48)
    f1991000-f1991fff r--     10000      1000  /system/lib/liblog.so (BuildId: 39c5c5ff515f7936fadc476e0d8e48)
    f1992000-f1992fff rw-         0      1000  [anon:.bss]
    f19e5000-f1a0cfff r--         0     28000  /system/lib/vndk-29/libbinder.so (BuildId: 24abfd99da11647861b5f217111a3e)
    f1a0d000-f1a31fff r-x     28000     25000  /system/lib/vndk-29/libbinder.so (BuildId: 24abfd99da11647861b5f217111a3e)
    f1a32000-f1a32fff rw-     4d000      1000  /system/lib/vndk-29/libbinder.so (BuildId: 24abfd99da11647861b5f217111a3e)
    f1a33000-f1a37fff r--     4e000      5000  /system/lib/vndk-29/libbinder.so (BuildId: 24abfd99da11647861b5f217111a3e)
    f1a38000-f1a38fff rw-         0      1000  [anon:.bss]
    f1a52000-f1a60fff r--         0      f000  /system/lib/vndk-29/android.hardware.soundtrigger@2.1.so (BuildId: f441464fb7f4a52540b8c9d0e71de9)
    f1a61000-f1a70fff r-x      f000     10000  /system/lib/vndk-29/android.hardware.soundtrigger@2.1.so (BuildId: f441464fb7f4a52540b8c9d0e71de9)
    f1a71000-f1a71fff rw-     1f000      1000  /system/lib/vndk-29/android.hardware.soundtrigger@2.1.so (BuildId: f441464fb7f4a52540b8c9d0e71de9)
    f1a72000-f1a73fff r--     20000      2000  /system/lib/vndk-29/android.hardware.soundtrigger@2.1.so (BuildId: f441464fb7f4a52540b8c9d0e71de9)
    f1abc000-f1abcfff r--         0      1000  /apex/com.android.runtime/lib/bionic/libdl.so (BuildId: 226057e9bfb51b1165bb0e7381a996)
    f1abd000-f1abdfff r-x      1000      1000  /apex/com.android.runtime/lib/bionic/libdl.so (BuildId: 226057e9bfb51b1165bb0e7381a996)
    f1abe000-f1abefff r--      2000      1000  /apex/com.android.runtime/lib/bionic/libdl.so (BuildId: 226057e9bfb51b1165bb0e7381a996)
    f1abf000-f1abffff rw-         0      1000  [anon:.bss]
    f1afc000-f1afcfff r--         0      1000  /system/lib/vndk-sp-29/libhardware.so (BuildId: 8aa2b9b951506c06a81bbf1291096b)
    f1afd000-f1afdfff r-x      1000      1000  /system/lib/vndk-sp-29/libhardware.so (BuildId: 8aa2b9b951506c06a81bbf1291096b)
    f1afe000-f1afefff rw-      2000      1000  /system/lib/vndk-sp-29/libhardware.so (BuildId: 8aa2b9b951506c06a81bbf1291096b)
    f1aff000-f1afffff r--      3000      1000  /system/lib/vndk-sp-29/libhardware.so (BuildId: 8aa2b9b951506c06a81bbf1291096b)
    f1b07000-f1b30fff r--         0     2a000  /system/lib/vndk-29/android.hardware.audio@5.0.so (BuildId: 43810fbe65ba03225c5c42a374cc7a)
    f1b31000-f1b93fff r-x     2a000     63000  /system/lib/vndk-29/android.hardware.audio@5.0.so (BuildId: 43810fbe65ba03225c5c42a374cc7a)
    f1b94000-f1b94fff rw-     8d000      1000  /system/lib/vndk-29/android.hardware.audio@5.0.so (BuildId: 43810fbe65ba03225c5c42a374cc7a)
    f1b95000-f1b9afff r--     8e000      6000  /system/lib/vndk-29/android.hardware.audio@5.0.so (BuildId: 43810fbe65ba03225c5c42a374cc7a)
    f1be3000-f1be3fff r--         0      1000  /system/lib/vndk-29/android.hardware.audio.common@4.0.so (BuildId: 2e882ef236836e1eb990cdf1b112bc)
    f1be4000-f1be4fff r-x      1000      1000  /system/lib/vndk-29/android.hardware.audio.common@4.0.so (BuildId: 2e882ef236836e1eb990cdf1b112bc)
    f1be5000-f1be5fff rw-      2000      1000  /system/lib/vndk-29/android.hardware.audio.common@4.0.so (BuildId: 2e882ef236836e1eb990cdf1b112bc)
    f1be6000-f1be6fff r--      3000      1000  /system/lib/vndk-29/android.hardware.audio.common@4.0.so (BuildId: 2e882ef236836e1eb990cdf1b112bc)
    f1c14000-f1c66fff r--         0     53000  /system/lib/vndk-29/android.hardware.audio.effect@5.0.so (BuildId: 5f03848b6aa0644d03b1f66b2c3e67)
    f1c67000-f1d17fff r-x     53000     b1000  /system/lib/vndk-29/android.hardware.audio.effect@5.0.so (BuildId: 5f03848b6aa0644d03b1f66b2c3e67)
    f1d18000-f1d18fff rw-    104000      1000  /system/lib/vndk-29/android.hardware.audio.effect@5.0.so (BuildId: 5f03848b6aa0644d03b1f66b2c3e67)
    f1d19000-f1d25fff r--    105000      d000  /system/lib/vndk-29/android.hardware.audio.effect@5.0.so (BuildId: 5f03848b6aa0644d03b1f66b2c3e67)
    f1d74000-f1d74fff r--         0      1000  /system/lib/vndk-sp-29/libbinderthreadstate.so (BuildId: 7644a1b255b5b0f0e6686655d14c47)
    f1d75000-f1d75fff r-x      1000      1000  /system/lib/vndk-sp-29/libbinderthreadstate.so (BuildId: 7644a1b255b5b0f0e6686655d14c47)
    f1d76000-f1d76fff rw-      2000      1000  /system/lib/vndk-sp-29/libbinderthreadstate.so (BuildId: 7644a1b255b5b0f0e6686655d14c47)
    f1d77000-f1d77fff r--      3000      1000  /system/lib/vndk-sp-29/libbinderthreadstate.so (BuildId: 7644a1b255b5b0f0e6686655d14c47)
    f1d78000-f1d78fff rw-         0      1000  [anon:.bss]
    f1d9d000-f1dd2fff r--         0     36000  /system/lib/vndk-sp-29/libc++.so (BuildId: 9172f4297f27c7e348c8d43e562915)
    f1dd3000-f1e21fff r-x     36000     4f000  /system/lib/vndk-sp-29/libc++.so (BuildId: 9172f4297f27c7e348c8d43e562915)
    f1e22000-f1e22fff rw-     85000      1000  /system/lib/vndk-sp-29/libc++.so (BuildId: 9172f4297f27c7e348c8d43e562915)
    f1e23000-f1e27fff r--     86000      5000  /system/lib/vndk-sp-29/libc++.so (BuildId: 9172f4297f27c7e348c8d43e562915)
    f1e28000-f1e29fff rw-         0      2000  [anon:.bss]
    f1e7c000-f1e7cfff r--         0      1000  /system/lib/vndk-sp-29/android.hidl.safe_union@1.0.so (BuildId: 4fb9287545a3394df86a145599f64a)
    f1e7d000-f1e7dfff r-x      1000      1000  /system/lib/vndk-sp-29/android.hidl.safe_union@1.0.so (BuildId: 4fb9287545a3394df86a145599f64a)
    f1e7e000-f1e7efff rw-      2000      1000  /system/lib/vndk-sp-29/android.hidl.safe_union@1.0.so (BuildId: 4fb9287545a3394df86a145599f64a)
    f1e7f000-f1e7ffff r--      3000      1000  /system/lib/vndk-sp-29/android.hidl.safe_union@1.0.so (BuildId: 4fb9287545a3394df86a145599f64a)
    f1e87000-f1ed9fff r--         0     53000  /system/lib/vndk-29/android.hardware.audio.effect@4.0.so (BuildId: 8d4e9e6836e8b17ea0481d698de697)
    f1eda000-f1f8afff r-x     53000     b1000  /system/lib/vndk-29/android.hardware.audio.effect@4.0.so (BuildId: 8d4e9e6836e8b17ea0481d698de697)
    f1f8b000-f1f8bfff rw-    104000      1000  /system/lib/vndk-29/android.hardware.audio.effect@4.0.so (BuildId: 8d4e9e6836e8b17ea0481d698de697)
    f1f8c000-f1f97fff r--    105000      c000  /system/lib/vndk-29/android.hardware.audio.effect@4.0.so (BuildId: 8d4e9e6836e8b17ea0481d698de697)
    f1fe9000-f1feefff r--         0      6000  /system/lib/vndk-sp-29/libbase.so (BuildId: f8df464657948f217eb0e4033d3fbd)
    f1fef000-f1ff5fff r-x      6000      7000  /system/lib/vndk-sp-29/libbase.so (BuildId: f8df464657948f217eb0e4033d3fbd)
    f1ff6000-f1ff6fff rw-      d000      1000  /system/lib/vndk-sp-29/libbase.so (BuildId: f8df464657948f217eb0e4033d3fbd)
    f1ff7000-f1ff7fff r--      e000      1000  /system/lib/vndk-sp-29/libbase.so (BuildId: f8df464657948f217eb0e4033d3fbd)
    f1ff8000-f1ff8fff rw-         0      1000  [anon:.bss]
    f2010000-f2010fff r--         0      1000  /system/lib/libdl_android.so (BuildId: 05ee8e1b72e189574850b7e5fc4a97)
    f2011000-f2011fff r-x      1000      1000  /system/lib/libdl_android.so (BuildId: 05ee8e1b72e189574850b7e5fc4a97)
    f2012000-f2012fff r--      2000      1000  /system/lib/libdl_android.so (BuildId: 05ee8e1b72e189574850b7e5fc4a97)
    f204c000-f2051fff r--         0      6000  /system/lib/libbase.so (BuildId: d61356f7fd581149bcf4b8d8caeb7d)
    f2052000-f2058fff r-x      6000      7000  /system/lib/libbase.so (BuildId: d61356f7fd581149bcf4b8d8caeb7d)
    f2059000-f2059fff rw-      d000      1000  /system/lib/libbase.so (BuildId: d61356f7fd581149bcf4b8d8caeb7d)
    f205a000-f205afff r--      e000      1000  /system/lib/libbase.so (BuildId: d61356f7fd581149bcf4b8d8caeb7d)
    f205b000-f205bfff rw-         0      1000  [anon:.bss]
    f209a000-f20c1fff r--         0     28000  /system/lib/vndk-29/android.hardware.audio@2.0.so (BuildId: 5c19f77bf37419e20b65a13631e498)
    f20c2000-f211bfff r-x     28000     5a000  /system/lib/vndk-29/android.hardware.audio@2.0.so (BuildId: 5c19f77bf37419e20b65a13631e498)
    f211c000-f211cfff rw-     82000      1000  /system/lib/vndk-29/android.hardware.audio@2.0.so (BuildId: 5c19f77bf37419e20b65a13631e498)
    f211d000-f2122fff r--     83000      6000  /system/lib/vndk-29/android.hardware.audio@2.0.so (BuildId: 5c19f77bf37419e20b65a13631e498)
    f2162000-f21b4fff r--         0     53000  /system/lib/vndk-29/android.hardware.audio.effect@2.0.so (BuildId: 664bdd3518d85fead3260420696970)
    f21b5000-f2265fff r-x     53000     b1000  /system/lib/vndk-29/android.hardware.audio.effect@2.0.so (BuildId: 664bdd3518d85fead3260420696970)
    f2266000-f2266fff rw-    104000      1000  /system/lib/vndk-29/android.hardware.audio.effect@2.0.so (BuildId: 664bdd3518d85fead3260420696970)
    f2267000-f2273fff r--    105000      d000  /system/lib/vndk-29/android.hardware.audio.effect@2.0.so (BuildId: 664bdd3518d85fead3260420696970)
    f228d000-f2291fff r--         0      5000  /system/lib/vndk-sp-29/libcutils.so (BuildId: 21f6e3699fbec22c3ffc02212dcab2)
    f2292000-f2297fff r-x      5000      6000  /system/lib/vndk-sp-29/libcutils.so (BuildId: 21f6e3699fbec22c3ffc02212dcab2)
    f2298000-f2298fff rw-      b000      1000  /system/lib/vndk-sp-29/libcutils.so (BuildId: 21f6e3699fbec22c3ffc02212dcab2)
    f2299000-f2299fff r--      c000      1000  /system/lib/vndk-sp-29/libcutils.so (BuildId: 21f6e3699fbec22c3ffc02212dcab2)
    f229a000-f229afff rw-         0      1000  [anon:.bss]
    f22c0000-f22c9fff r--         0      a000  /system/lib/vndk-29/android.hardware.soundtrigger@2.2.so (BuildId: cf72a9d9c523a43e35674e3769c467)
    f22ca000-f22d2fff r-x      a000      9000  /system/lib/vndk-29/android.hardware.soundtrigger@2.2.so (BuildId: cf72a9d9c523a43e35674e3769c467)
    f22d3000-f22d3fff rw-     13000      1000  /system/lib/vndk-29/android.hardware.soundtrigger@2.2.so (BuildId: cf72a9d9c523a43e35674e3769c467)
    f22d4000-f22d4fff r--     14000      1000  /system/lib/vndk-29/android.hardware.soundtrigger@2.2.so (BuildId: cf72a9d9c523a43e35674e3769c467)
    f2320000-f2349fff r--         0     2a000  /system/lib/vndk-29/android.hardware.audio@4.0.so (BuildId: b4837ad920169fcc9d211017e043d5)
    f234a000-f23abfff r-x     2a000     62000  /system/lib/vndk-29/android.hardware.audio@4.0.so (BuildId: b4837ad920169fcc9d211017e043d5)
    f23ac000-f23acfff rw-     8c000      1000  /system/lib/vndk-29/android.hardware.audio@4.0.so (BuildId: b4837ad920169fcc9d211017e043d5)
    f23ad000-f23b2fff r--     8d000      6000  /system/lib/vndk-29/android.hardware.audio@4.0.so (BuildId: b4837ad920169fcc9d211017e043d5)
    f23cb000-f23dafff r--         0     10000  /system/lib/vndk-sp-29/libprocessgroup.so (BuildId: 894c0ab1698a64f0bdc4d0572c38fd)
    f23db000-f23f4fff r-x     10000     1a000  /system/lib/vndk-sp-29/libprocessgroup.so (BuildId: 894c0ab1698a64f0bdc4d0572c38fd)
    f23f5000-f23f5fff rw-     2a000      1000  /system/lib/vndk-sp-29/libprocessgroup.so (BuildId: 894c0ab1698a64f0bdc4d0572c38fd)
    f23f6000-f23f6fff r--     2b000      1000  /system/lib/vndk-sp-29/libprocessgroup.so (BuildId: 894c0ab1698a64f0bdc4d0572c38fd)
    f23f7000-f23f7fff rw-         0      1000  [anon:.bss]
    f2402000-f240cfff r--         0      b000  /system/lib/vndk-29/android.hardware.bluetooth.a2dp@1.0.so (BuildId: 5066c4057ff9f5bd1895d1263719a0)
    f240d000-f2419fff r-x      b000      d000  /system/lib/vndk-29/android.hardware.bluetooth.a2dp@1.0.so (BuildId: 5066c4057ff9f5bd1895d1263719a0)
    f241a000-f241afff rw-     18000      1000  /system/lib/vndk-29/android.hardware.bluetooth.a2dp@1.0.so (BuildId: 5066c4057ff9f5bd1895d1263719a0)
    f241b000-f241cfff r--     19000      2000  /system/lib/vndk-29/android.hardware.bluetooth.a2dp@1.0.so (BuildId: 5066c4057ff9f5bd1895d1263719a0)
    f245a000-f2462fff r--         0      9000  /apex/com.android.runtime/lib/bionic/libm.so (BuildId: e3a577e8b475c755df8b150897538f)
    f2463000-f2478fff r-x      9000     16000  /apex/com.android.runtime/lib/bionic/libm.so (BuildId: e3a577e8b475c755df8b150897538f)
    f2479000-f2479fff rw-     1f000      1000  /apex/com.android.runtime/lib/bionic/libm.so (BuildId: e3a577e8b475c755df8b150897538f)
    f247a000-f247afff r--     20000      1000  /apex/com.android.runtime/lib/bionic/libm.so (BuildId: e3a577e8b475c755df8b150897538f)
    f247b000-f247bfff rw-         0      1000  [anon:.bss]
    f24b1000-f24b1fff r--         0      1000  /system/lib/libcgrouprc.so (BuildId: 0277f45ef3e6412962c9ef250cec62)
    f24b2000-f24b2fff r-x      1000      1000  /system/lib/libcgrouprc.so (BuildId: 0277f45ef3e6412962c9ef250cec62)
    f24b3000-f24b3fff rw-      2000      1000  /system/lib/libcgrouprc.so (BuildId: 0277f45ef3e6412962c9ef250cec62)
    f24b4000-f24b4fff r--      3000      1000  /system/lib/libcgrouprc.so (BuildId: 0277f45ef3e6412962c9ef250cec62)
    f24b5000-f24b5fff rw-         0      1000  [anon:.bss]
    f24c7000-f24d0fff r--         0      a000  /system/lib/vndk-sp-29/libutils.so (BuildId: 3e90ae830c603d871dbe888878aae6)
    f24d1000-f24d9fff r-x      a000      9000  /system/lib/vndk-sp-29/libutils.so (BuildId: 3e90ae830c603d871dbe888878aae6)
    f24da000-f24dafff rw-     13000      1000  /system/lib/vndk-sp-29/libutils.so (BuildId: 3e90ae830c603d871dbe888878aae6)
    f24db000-f24dbfff r--     14000      1000  /system/lib/vndk-sp-29/libutils.so (BuildId: 3e90ae830c603d871dbe888878aae6)
    f24dc000-f24dcfff rw-         0      1000  [anon:.bss]
    f250d000-f250dfff r--         0      1000  /system/lib/vndk-sp-29/libhidltransport.so (BuildId: c8f189a3e7529b14729b7415ebc80c)
    f250e000-f250efff r-x      1000      1000  /system/lib/vndk-sp-29/libhidltransport.so (BuildId: c8f189a3e7529b14729b7415ebc80c)
    f250f000-f250ffff rw-      2000      1000  /system/lib/vndk-sp-29/libhidltransport.so (BuildId: c8f189a3e7529b14729b7415ebc80c)
    f2510000-f2510fff r--      3000      1000  /system/lib/vndk-sp-29/libhidltransport.so (BuildId: c8f189a3e7529b14729b7415ebc80c)
    f2542000-f2577fff r--         0     36000  /system/lib/libc++.so (BuildId: d95638a44296331f32a5de0507a5a7)
    f2578000-f25c6fff r-x     36000     4f000  /system/lib/libc++.so (BuildId: d95638a44296331f32a5de0507a5a7)
    f25c7000-f25c7fff rw-     85000      1000  /system/lib/libc++.so (BuildId: d95638a44296331f32a5de0507a5a7)
    f25c8000-f25ccfff r--     86000      5000  /system/lib/libc++.so (BuildId: d95638a44296331f32a5de0507a5a7)
    f25cd000-f25cefff rw-         0      2000  [anon:.bss]
    f261c000-f264afff r--         0     2f000  /system/lib/vndk-sp-29/libhidlbase.so (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
    f264b000-f2696fff r-x     2f000     4c000  /system/lib/vndk-sp-29/libhidlbase.so (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
    f2697000-f2697fff rw-     7b000      1000  /system/lib/vndk-sp-29/libhidlbase.so (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
    f2698000-f269dfff r--     7c000      6000  /system/lib/vndk-sp-29/libhidlbase.so (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
    f269e000-f269efff rw-         0      1000  [anon:.bss]
    f26c9000-f26c9fff r--         0      1000  /system/lib/vndk-29/android.hardware.audio.common@2.0.so (BuildId: 6a358fc1205b9c3a76a10e4bb41575)
    f26ca000-f26cafff r-x      1000      1000  /system/lib/vndk-29/android.hardware.audio.common@2.0.so (BuildId: 6a358fc1205b9c3a76a10e4bb41575)
    f26cb000-f26cbfff rw-      2000      1000  /system/lib/vndk-29/android.hardware.audio.common@2.0.so (BuildId: 6a358fc1205b9c3a76a10e4bb41575)
    f26cc000-f26ccfff r--      3000      1000  /system/lib/vndk-29/android.hardware.audio.common@2.0.so (BuildId: 6a358fc1205b9c3a76a10e4bb41575)
    f2728000-f2728fff r--         0      1000  /system/lib/vndk-sp-29/libhwbinder.so (BuildId: 54c79d67c04cd29e0692476d0dc969)
    f2729000-f2729fff r-x      1000      1000  /system/lib/vndk-sp-29/libhwbinder.so (BuildId: 54c79d67c04cd29e0692476d0dc969)
    f272a000-f272afff rw-      2000      1000  /system/lib/vndk-sp-29/libhwbinder.so (BuildId: 54c79d67c04cd29e0692476d0dc969)
    f272b000-f272bfff r--      3000      1000  /system/lib/vndk-sp-29/libhwbinder.so (BuildId: 54c79d67c04cd29e0692476d0dc969)
    f2763000-f2763fff rw-         0      1000  [anon:bionic_alloc_small_objects]
    f276d000-f276efff r--         0      2000  /system/lib/vndk-29/android.hardware.audio.common@5.0.so (BuildId: a11b8228385a8301afb8202ef77d13)
    f276f000-f276ffff r-x      2000      1000  /system/lib/vndk-29/android.hardware.audio.common@5.0.so (BuildId: a11b8228385a8301afb8202ef77d13)
    f2770000-f2770fff rw-      3000      1000  /system/lib/vndk-29/android.hardware.audio.common@5.0.so (BuildId: a11b8228385a8301afb8202ef77d13)
    f2771000-f2771fff r--      4000      1000  /system/lib/vndk-29/android.hardware.audio.common@5.0.so (BuildId: a11b8228385a8301afb8202ef77d13)
    f2781000-f2792fff r--         0     12000  /system/lib/vndk-29/android.hardware.bluetooth.audio@2.0.so (BuildId: c3e33a73729910c57f1288b863e04f)
    f2793000-f27a7fff r-x     12000     15000  /system/lib/vndk-29/android.hardware.bluetooth.audio@2.0.so (BuildId: c3e33a73729910c57f1288b863e04f)
    f27a8000-f27a8fff rw-     27000      1000  /system/lib/vndk-29/android.hardware.bluetooth.audio@2.0.so (BuildId: c3e33a73729910c57f1288b863e04f)
    f27a9000-f27aafff r--     28000      2000  /system/lib/vndk-29/android.hardware.bluetooth.audio@2.0.so (BuildId: c3e33a73729910c57f1288b863e04f)
    f27c6000-f27c7fff r--         0      2000  /vendor/lib/android.hardware.audio.common@5.0-util.so (BuildId: 49b065eb5ea9902fa944b603326d9e)
    f27c8000-f27c8fff r-x      2000      1000  /vendor/lib/android.hardware.audio.common@5.0-util.so (BuildId: 49b065eb5ea9902fa944b603326d9e)
    f27c9000-f27c9fff rw-      3000      1000  /vendor/lib/android.hardware.audio.common@5.0-util.so (BuildId: 49b065eb5ea9902fa944b603326d9e)
    f27ca000-f27cafff r--      4000      1000  /vendor/lib/android.hardware.audio.common@5.0-util.so (BuildId: 49b065eb5ea9902fa944b603326d9e)
    f2891000-f2892fff r--         0      2000  /vendor/lib/android.hardware.audio.common-util.so (BuildId: 3470f166d46419fe30980b175d7890)
    f2893000-f2893fff r-x      2000      1000  /vendor/lib/android.hardware.audio.common-util.so (BuildId: 3470f166d46419fe30980b175d7890)
    f2894000-f2894fff rw-      3000      1000  /vendor/lib/android.hardware.audio.common-util.so (BuildId: 3470f166d46419fe30980b175d7890)
    f2895000-f2895fff r--      4000      1000  /vendor/lib/android.hardware.audio.common-util.so (BuildId: 3470f166d46419fe30980b175d7890)
    f2896000-f2896fff rw-         0      1000  [anon:.bss]
    f28a0000-f28a0fff ---         0      1000
    f28a1000-f28a4fff rw-         0      4000  [anon:thread signal stack]
    f28a7000-f28c6fff r--         0     20000  /dev/__properties__/u:object_r:vendor_platform_prop:s0
    f28c7000-f28e6fff r--         0     20000  /dev/__properties__/u:object_r:use_memfd_prop:s0
    f28e7000-f28e8fff r--         0      2000  /system/lib/libnetd_client.so (BuildId: fa2f898d535ff7f98a6ca39148b387)
    f28e9000-f28eafff r-x      2000      2000  /system/lib/libnetd_client.so (BuildId: fa2f898d535ff7f98a6ca39148b387)
    f28eb000-f28ebfff rw-      4000      1000  /system/lib/libnetd_client.so (BuildId: fa2f898d535ff7f98a6ca39148b387)
    f28ec000-f28ecfff r--      5000      1000  /system/lib/libnetd_client.so (BuildId: fa2f898d535ff7f98a6ca39148b387)
    f28ed000-f28edfff rw-         0      1000  [anon:.bss]
    f28f1000-f28f1fff ---         0      1000
    f28f2000-f28f5fff rw-         0      4000  [anon:thread signal stack]
    f28f6000-f28f6fff ---         0      1000
    f28f7000-f28fafff rw-         0      4000  [anon:thread signal stack]
    f28fb000-f28fbfff ---         0      1000
    f28fc000-f28fffff rw-         0      4000  [anon:thread signal stack]
    f2900000-f291ffff r--         0     20000  /dev/__properties__/u:object_r:vendor_default_prop:s0
    f2920000-f2920fff ---         0      1000
    f2921000-f2924fff rw-         0      4000  [anon:thread signal stack]
    f2928000-f2928fff ---         0      1000
    f2929000-f292cfff rw-         0      4000  [anon:thread signal stack]
    f292f000-f292ffff ---         0      1000
    f2930000-f2933fff rw-         0      4000  [anon:thread signal stack]
    f2934000-f2934fff ---         0      1000
    f2935000-f2938fff rw-         0      4000  [anon:thread signal stack]
    f2939000-f2939fff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f293a000-f293afff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f293b000-f293bfff ---         0      1000
    f293c000-f293ffff rw-         0      4000  [anon:thread signal stack]
    f2940000-f2940fff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f2941000-f2941fff ---         0      1000
    f2942000-f2945fff rw-         0      4000  [anon:thread signal stack]
    f2946000-f2946fff rw-      2000      1000  /dev/ashmem/MessageQueue (deleted)
    f2947000-f2949fff rw-         0      3000  /dev/ashmem/MessageQueue (deleted)
    f294a000-f294afff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f294b000-f294bfff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f294c000-f294cfff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f294d000-f294dfff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f294e000-f294efff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f294f000-f294ffff ---         0      1000
    f2950000-f2953fff rw-         0      4000  [anon:thread signal stack]
    f2954000-f2954fff ---         0      1000
    f2955000-f2958fff rw-         0      4000  [anon:thread signal stack]
    f2959000-f2959fff ---         0      1000
    f295a000-f295dfff rw-         0      4000  [anon:thread signal stack]
    f295e000-f295efff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f295f000-f295ffff ---         0      1000
    f2960000-f2963fff rw-         0      4000  [anon:thread signal stack]
    f2964000-f2983fff r--         0     20000  /dev/__properties__/u:object_r:log_tag_prop:s0
    f2984000-f29a3fff r--         0     20000  /dev/__properties__/u:object_r:logd_prop:s0
    f29a4000-f29c3fff r--         0     20000  /dev/__properties__/u:object_r:heapprofd_prop:s0
    f29c4000-f29e3fff r--         0     20000  /dev/__properties__/u:object_r:exported2_default_prop:s0
    f29e4000-f2a03fff r--         0     20000  /dev/__properties__/u:object_r:debug_prop:s0
    f2a04000-f2a23fff r--         0     20000  /dev/__properties__/properties_serial
    f2a24000-f2a2dfff r--         0      a000  /dev/__properties__/property_info
    f2a2e000-f2a2efff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f2a2f000-f2a2ffff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f2a30000-f2a31fff rw-         0      2000  /dev/ashmem/MessageQueue (deleted)
    f2a32000-f2a51fff r--         0     20000  /dev/__properties__/u:object_r:exported_default_prop:s0
    f2a52000-f2a71fff r--         0     20000  /dev/__properties__/u:object_r:hwservicemanager_prop:s0
    f2a72000-f2a91fff r--         0     20000  /dev/__properties__/u:object_r:media_prop:s0
    f2a92000-f2af5fff r--         0     64000  [anon:linker_alloc]
    f2af6000-f2afafff rw-         0      5000  [anon:bionic_alloc_small_objects]
    f2afb000-f2afbfff rw-         0      1000  [anon:bionic_alloc_lob]
    f2afc000-f2afffff rw-         0      4000  [anon:bionic_alloc_small_objects]
    f2b00000-f2b00fff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f2b01000-f2b64fff r--         0     64000  [anon:linker_alloc]
    f2b65000-f2b65fff rw-         0      1000  [anon:bionic_alloc_small_objects]
    f2b66000-f2b66fff rw-      1000      1000  /dev/ashmem/MessageQueue (deleted)
    f2b67000-f2b67fff rw-         0      1000  [anon:bionic_alloc_small_objects]
    f2b68000-f2b68fff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f2b69000-f2b69fff ---         0      1000
    f2b6a000-f2b6cfff rw-         0      3000
    f2b6d000-f2b6dfff ---         0      1000
    f2b6e000-f2b6ffff rw-         0      2000  [anon:bionic_alloc_lob]
    f2b70000-f2b70fff rw-         0      1000  /dev/ashmem/MessageQueue (deleted)
    f2b71000-f2b71fff r--         0      1000  /dev/cgroup_info/cgroup.rc
    f2b72000-f2b72fff rw-         0      1000  [anon:bionic_alloc_small_objects]
    f2b73000-f2b92fff r--         0     20000  /dev/__properties__/u:object_r:exported_default_prop:s0
    f2b93000-f2b93fff rw-         0      1000  [anon:bionic_alloc_small_objects]
    f2b94000-f2bf7fff r--         0     64000  [anon:linker_alloc]
    f2bf8000-f2bf8fff rw-         0      1000  [anon:bionic_alloc_small_objects]
    f2bf9000-f2c18fff r--         0     20000  /dev/__properties__/u:object_r:debug_prop:s0
    f2c19000-f2c19fff ---         0      1000
    f2c1a000-f2c1afff rw-         0      1000
    f2c1b000-f2c1bfff ---         0      1000
    f2c1c000-f2c3bfff r--         0     20000  /dev/__properties__/properties_serial
    f2c3c000-f2c3cfff rw-         0      1000  [anon:System property context nodes]
    f2c3d000-f2c46fff r--         0      a000  /dev/__properties__/property_info
    f2c47000-f2caafff r--         0     64000  [anon:linker_alloc]
    f2cab000-f2cacfff rw-         0      2000  [anon:bionic_alloc_small_objects]
    f2cad000-f2cadfff r--         0      1000  [anon:atexit handlers]
    f2cae000-f2caefff ---         0      1000
    f2caf000-f2cb2fff rw-         0      4000  [anon:thread signal stack]
    f2cb3000-f2cb3fff rw-         0      1000  [anon:arc4random data]
    f2cb4000-f2cb4fff r--         0      1000  [anon:atexit handlers]
    f2cb5000-f2cb5fff rw-         0      1000  [anon:System property context nodes]
    f2cb6000-f2cb6fff rw-         0      1000  [anon:arc4random data]
    f2cb7000-f2cd3fff r--         0     1d000  /apex/com.android.runtime/bin/linker (BuildId: eaf11b7d3bd8a57129ebf53d755548)
    f2cd4000-f2d6bfff r-x     1d000     98000  /apex/com.android.runtime/bin/linker (BuildId: eaf11b7d3bd8a57129ebf53d755548)
    f2d6c000-f2d6cfff rw-     b5000      1000  /apex/com.android.runtime/bin/linker (BuildId: eaf11b7d3bd8a57129ebf53d755548)
    f2d6d000-f2d70fff r--     b6000      4000  /apex/com.android.runtime/bin/linker (BuildId: eaf11b7d3bd8a57129ebf53d755548)
    f2d71000-f2d76fff rw-         0      6000
    f2d77000-f2d77fff r--         0      1000
    f2d78000-f2d79fff rw-         0      2000
--->Fault address falls at fc67f186 between mapped regions
    fffcf000-fffeffff rw-         0     21000  [stack]
    ffff0000-ffff0fff r-x         0      1000  [vectors]
--------- tail end of log main
12-06 12:14:34.517  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:34.517  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 1
12-06 12:14:34.517  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:34.536  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:34.536  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 1
12-06 12:14:34.536  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:34.544  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:14:34.544  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=2,aml_dev->patch_src=10
12-06 12:14:34.544  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:14:34.544  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:14:34.544  3501 24515 I audio_hw_primary: adev_create_audio_patch: device->mix patch: inport(INPORT_BUILTIN_MIC)
12-06 12:14:34.549  3501  5691 D AudioALSADeviceParser: auge sound card, pAdd=0xf165a140 fix alsaPORT:0 to :1
12-06 12:14:34.549  3501  5691 D audio_hw_primary: *start_input_stream, open alsa_card(0 0) alsa_device(1), in_device:0x4
12-06 12:14:34.601  3501  5691 D audio_hw_primary: pcm_open in: card(0), port(0)
12-06 12:14:34.601  3501  5691 D audio_hw_primary: add_in_stream_resampler: in->requested_rate = 16000, in->config.rate = 48000
12-06 12:14:34.601  3501  5691 D audio_hw_primary: start_input_stream: device(4) channels=1 rate=48000 requested_rate=16000 mode= 0
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:14:36.335  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:14:36.335  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:14:36.335  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:14:36.335  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:625172480
12-06 12:14:36.335  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:14:36.335  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:14:36.347  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:14:36.355  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:14:36.363  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:14:36.378  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:14:39.963  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:39.963  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 0
12-06 12:14:39.972  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:39.979  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2891)
12-06 12:14:39.979  3501 10201 I audio_hw_primary: patch set found id 2891, patchset 0xf11aec00
12-06 12:14:39.979  3501 10201 I audio_hw_primary: source 0 type=1 sink type =2 amk patch src=7
12-06 12:14:39.979  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:14:39.979  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:14:39.979  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:14:40.000  3501 24515 D audio_hw_primary: adev_close_input_stream: enter: dev(0xf1675240) stream(0xf162c8c0)
12-06 12:14:40.000  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:40.000  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 1
12-06 12:14:40.000  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:40.000  3501 24515 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 12:14:40.000  3501 24515 D audio_hw_primary: adev_close_input_stream: exit
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 2209, name: HwBinder:3501_8  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  ee24d118  r3  ee24d074
    r4  f192f260  r5  c0306201  r6  ee24d118  r7  00000036
    r8  ee24d138  r9  f192f260  r10 00000000  r11 ee24d120
    ip  00000000  sp  ee24d060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ee24d020  ee24d0d4
         ee24d024  00000000
         ee24d028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ee24d02c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ee24d030  f192f260  [anon:.bss]
         ee24d034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         ee24d038  00000000
         ee24d03c  f11308c4  [anon:libc_malloc]
         ee24d040  f162b08c  [anon:libc_malloc]
         ee24d044  00000000
         ee24d048  ee24d490
         ee24d04c  00000000
         ee24d050  00000000
         ee24d054  00000000
         ee24d058  00000000
         ee24d05c  00000000
    #00  ee24d060  ee24d074
         ........  ........
    #01  ee24d060  ee24d074
         ee24d064  c7e0b5b0
         ee24d068  f11308c0  [anon:libc_malloc]
         ee24d06c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         ee24d070  ee24d118
         ee24d074  00000000
    #02  ee24d078  00000010
         ee24d07c  ee24d160
         ee24d080  f11308c0  [anon:libc_malloc]
         ee24d084  f1130914  [anon:libc_malloc]
         ee24d088  f1130958  [anon:libc_malloc]
         ee24d08c  0160eb08
         ee24d090  00000000
         ee24d094  00000000
         ee24d098  00000000
         ee24d09c  00000000
         ee24d0a0  00000000
         ee24d0a4  ee017400  [anon:libc_malloc]
         ee24d0a8  00000008
         ee24d0ac  0000000c
         ee24d0b0  00000000
         ee24d0b4  00000000
         ........  ........
    #03  ee24d1b8  ee24d1e4
         ee24d1bc  00000dad
         ee24d1c0  f1129450  [anon:libc_malloc]
         ee24d1c4  f112945c  [anon:libc_malloc]
         ee24d1c8  00000000
         ee24d1cc  00000000
         ee24d1d0  ee24d1e4
         ee24d1d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  ee24d1d8  f1129450  [anon:libc_malloc]
         ee24d1dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  ee24d1e0  f11aa220  [anon:libc_malloc]
         ee24d1e4  f1129450  [anon:libc_malloc]
         ee24d1e8  f11aa2e0  [anon:libc_malloc]
         ee24d1ec  f1129450  [anon:libc_malloc]
         ee24d1f0  c7e0b5b0
         ee24d1f4  ee24d230
         ee24d1f8  ee24d230
         ee24d1fc  ee24d230
         ee24d200  00000078
         ee24d204  00000e09
         ee24d208  00000dad
         ee24d20c  f0f69490
         ee24d210  ee24d230
         ee24d214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  ee24d218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ee24d21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  ee24d220  ee24d238
         ee24d224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ee24d228  ee24d230
         ee24d22c  00000000
         ee24d230  ee34e230
         ee24d234  ec20c230
         ee24d238  000008a1
         ee24d23c  00000dad
         ee24d240  00000001
         ee24d244  ee150000
         ee24d248  000fd230
         ee24d24c  00001000
         ee24d250  00000000
         ee24d254  00000000
         ee24d258  00000003
         ee24d25c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3501, name: audio@2.0-servi  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  fffef1b0  r3  fffef10c
    r4  f192f260  r5  c0306201  r6  fffef1b0  r7  00000036
    r8  fffef1d0  r9  f192f260  r10 00000000  r11 fffef1b8
    ip  00000000  sp  fffef0f8  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 0000223d  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic (main+500) (BuildId: b2ebdece877980da409fe8098fea27)
      #05 pc 00059213  /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+66) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #06 pc 00002033  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic (_start_main+42) (BuildId: b2ebdece877980da409fe8098fea27)
      #07 pc 000b3168  /apex/com.android.runtime/bin/linker (__dl___aeabi_uidivmod+12) (BuildId: eaf11b7d3bd8a57129ebf53d755548)
      #08 pc 00020a59  [stack]

stack:
         fffef0b8  fffef16c  [stack]
         fffef0bc  00000000
         fffef0c0  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         fffef0c4  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         fffef0c8  f192f260  [anon:.bss]
         fffef0cc  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         fffef0d0  00000000
         fffef0d4  f162c000  [anon:libc_malloc]
         fffef0d8  00000010
         fffef0dc  f162b080  [anon:libc_malloc]
         fffef0e0  f162b090  [anon:libc_malloc]
         fffef0e4  f2d79020
         fffef0e8  00000000
         fffef0ec  0133aebc
         fffef0f0  00000000
         fffef0f4  00000000
    #00  fffef0f8  fffef10c  [stack]
         ........  ........
    #01  fffef0f8  fffef10c  [stack]
         fffef0fc  c7e0b5b0
         fffef100  f162c000  [anon:libc_malloc]
         fffef104  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         fffef108  fffef1b0  [stack]
         fffef10c  00000000
    #02  fffef110  00000010
         fffef114  fffef1f8  [stack]
         fffef118  f162c000  [anon:libc_malloc]
         fffef11c  f162c054  [anon:libc_malloc]
         fffef120  f162c098  [anon:libc_malloc]
         fffef124  01609008
         fffef128  00000000
         fffef12c  00000000
         fffef130  00000000
         fffef134  00000000
         fffef138  00000000
         fffef13c  efcdb2f0  [anon:libc_malloc]
         fffef140  00000008
         fffef144  0000000c
         fffef148  00000000
         fffef14c  00000000
         ........  ........
    #03  fffef250  fffef289  [stack]
         fffef254  c7e0b5b0
         fffef258  00000001
         fffef25c  f192f260  [anon:.bss]
         fffef260  fffef2ec  [stack]
         fffef264  00000001
         fffef268  b85e2049  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
         fffef26c  b85e2241  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
    #04  fffef270  f2cb4000  [anon:atexit handlers]
         fffef274  00000000
         fffef278  00001000
         fffef27c  f192f17c  [anon:.bss]
         fffef280  00000000
         fffef284  f19212ff  /apex/com.android.runtime/lib/bionic/libc.so
         fffef288  6665640e
         fffef28c  746c7561
         fffef290  00000000
         fffef294  fffef2e4  [stack]
         fffef298  f162b000  [anon:libc_malloc]
         fffef29c  c7e0b5b0
         fffef2a0  00000000
         fffef2a4  fffef2e4  [stack]
         fffef2a8  00000001
         fffef2ac  f18d2215  /apex/com.android.runtime/lib/bionic/libc.so
    #05  fffef2b0  b85e31c4  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
         fffef2b4  00000000
         fffef2b8  00000000
         fffef2bc  00000000
         fffef2c0  00000000
         fffef2c4  b85e2037  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
    #06  fffef2c8  fffef328  [stack]
         fffef2cc  b85e3000  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
         fffef2d0  b85e3008  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
         fffef2d4  b85e3010  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
         fffef2d8  00000000
         fffef2dc  f2d6a16c  /apex/com.android.runtime/bin/linker
    #07  fffef2e0  00000001
         fffef2e4  fffef931  [stack]
         fffef2e8  00000000
         fffef2ec  fffef96e  [stack]
         fffef2f0  fffef9ec  [stack]
         fffef2f4  fffef9ff  [stack]
         fffef2f8  fffefa14  [stack]
         fffef2fc  fffefa2f  [stack]
         fffef300  fffefa42  [stack]
         fffef304  fffefa5b  [stack]
    #08  fffef308  fffefa8a  [stack]
         fffef30c  fffefab7  [stack]
         fffef310  fffefad0  [stack]
         fffef314  fffefaea  [stack]
         fffef318  fffefd1b  [stack]
         fffef31c  fffefeed  [stack]
         fffef320  fffeffa0  [stack]
         fffef324  00000000
         fffef328  00000010
         fffef32c  0037b0d6
         fffef330  00000006
         fffef334  00001000
         fffef338  00000011
         fffef33c  00000064
         fffef340  00000003
         fffef344  b85e0034  /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3589, name: Binder:3501_1  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000003  r1  c0306201  r2  f14fe148  r3  f14fe13c
    r4  f192f260  r5  f112c000  r6  f14fe148  r7  00000036
    r8  f14fe168  r9  f112c090  r10 f14fe150  r11 00000000
    ip  00000000  sp  f14fe128  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0002d685  /system/lib/vndk-29/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+212) (BuildId: 24abfd99da11647861b5f217111a3e)
      #03 pc 0002d7d5  /system/lib/vndk-29/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) (BuildId: 24abfd99da11647861b5f217111a3e)
      #04 pc 0002ddcb  /system/lib/vndk-29/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+38) (BuildId: 24abfd99da11647861b5f217111a3e)
      #05 pc 00044c75  /system/lib/vndk-29/libbinder.so (android::PoolThread::threadLoop()+12) (BuildId: 24abfd99da11647861b5f217111a3e)
      #06 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #07 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #08 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         f14fe0e8  00000001
         f14fe0ec  00000000
         f14fe0f0  f12002c0  [anon:libc_malloc]
         f14fe0f4  f12028f0  [anon:libc_malloc]
         f14fe0f8  f1609708  [anon:libc_malloc]
         f14fe0fc  00000004
         f14fe100  00000004
         f14fe104  fffffff0
         f14fe108  c7e0b5b0
         f14fe10c  00000004
         f14fe110  f112c054  [anon:libc_malloc]
         f14fe114  00000000
         f14fe118  00000000
         f14fe11c  f14fe168
         f14fe120  f112c090  [anon:libc_malloc]
         f14fe124  f14fe150
    #00  f14fe128  f14fe13c
         ........  ........
    #01  f14fe128  f14fe13c
         f14fe12c  c7e0b5b0
         f14fe130  c0306201
         f14fe134  f1a12689  /system/lib/vndk-29/libbinder.so
         f14fe138  f14fe148
         f14fe13c  00000000
    #02  f14fe140  f112c054  [anon:libc_malloc]
         f14fe144  f192f260  [anon:.bss]
         f14fe148  00000000
         f14fe14c  00000000
         f14fe150  00000000
         f14fe154  00000000
         f14fe158  f112c200  [anon:libc_malloc]
         f14fe15c  00000000
         f14fe160  00000100
         f14fe164  00000000
         f14fe168  00000000
         f14fe16c  00000000
         f14fe170  f112c100  [anon:libc_malloc]
         f14fe174  00000000
         f14fe178  c7e0b5b0
         f14fe17c  f112c000  [anon:libc_malloc]
         ........  ........
    #03  f14fe1a0  f112c000  [anon:libc_malloc]
         f14fe1a4  f112c054  [anon:libc_malloc]
         f14fe1a8  00000000
         f14fe1ac  f112c000  [anon:libc_malloc]
         f14fe1b0  f112c090  [anon:libc_malloc]
         f14fe1b4  00000001
         f14fe1b8  00000000
         f14fe1bc  f1a12dcf  /system/lib/vndk-29/libbinder.so
    #04  f14fe1c0  00000000
         f14fe1c4  f1a12323  /system/lib/vndk-29/libbinder.so
         f14fe1c8  f1611b70  [anon:libc_malloc]
         f14fe1cc  f1611b7c  [anon:libc_malloc]
         f14fe1d0  00000000
         f14fe1d4  f1a29c79  /system/lib/vndk-29/libbinder.so
    #05  f14fe1d8  f1611b70  [anon:libc_malloc]
         f14fe1dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #06  f14fe1e0  f16051a0  [anon:libc_malloc]
         f14fe1e4  f1611b70  [anon:libc_malloc]
         f14fe1e8  f1605180  [anon:libc_malloc]
         f14fe1ec  f1611b70  [anon:libc_malloc]
         f14fe1f0  c7e0b5b0
         f14fe1f4  f14fe230
         f14fe1f8  f14fe230
         f14fe1fc  f14fe230
         f14fe200  00000078
         f14fe204  00000dad
         f14fe208  00000dad
         f14fe20c  f2d79020
         f14fe210  f14fe230
         f14fe214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #07  f14fe218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f14fe21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #08  f14fe220  f14fe238
         f14fe224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f14fe228  f14fe230
         f14fe22c  00000000
         f14fe230  f2d78dc0
         f14fe234  f10fc230
         f14fe238  00000e05
         f14fe23c  00000dad
         f14fe240  00000001
         f14fe244  f1401000
         f14fe248  000fd230
         f14fe24c  00001000
         f14fe250  00000000
         f14fe254  00000000
         f14fe258  00000003
         f14fe25c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3590, name: Binder:3501_2  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000003  r1  c0306201  r2  f10fc148  r3  f10fc13c
    r4  f192f260  r5  f1631400  r6  f10fc148  r7  00000036
    r8  f10fc168  r9  f1631490  r10 f10fc150  r11 00000000
    ip  00000000  sp  f10fc128  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0002d685  /system/lib/vndk-29/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+212) (BuildId: 24abfd99da11647861b5f217111a3e)
      #03 pc 0002d7d5  /system/lib/vndk-29/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+8) (BuildId: 24abfd99da11647861b5f217111a3e)
      #04 pc 0002ddcb  /system/lib/vndk-29/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+38) (BuildId: 24abfd99da11647861b5f217111a3e)
      #05 pc 00044c75  /system/lib/vndk-29/libbinder.so (android::PoolThread::threadLoop()+12) (BuildId: 24abfd99da11647861b5f217111a3e)
      #06 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #07 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #08 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         f10fc0e8  00000000
         f10fc0ec  00000000
         f10fc0f0  f1700380  [anon:libc_malloc]
         f10fc0f4  f17029b0  [anon:libc_malloc]
         f10fc0f8  f1609e08  [anon:libc_malloc]
         f10fc0fc  00000004
         f10fc100  00000004
         f10fc104  fffffff0
         f10fc108  c7e0b5b0
         f10fc10c  00000004
         f10fc110  f1631454  [anon:libc_malloc]
         f10fc114  00000000
         f10fc118  00000000
         f10fc11c  f10fc168
         f10fc120  f1631490  [anon:libc_malloc]
         f10fc124  f10fc150
    #00  f10fc128  f10fc13c
         ........  ........
    #01  f10fc128  f10fc13c
         f10fc12c  c7e0b5b0
         f10fc130  c0306201
         f10fc134  f1a12689  /system/lib/vndk-29/libbinder.so
         f10fc138  f10fc148
         f10fc13c  00000000
    #02  f10fc140  f1631454  [anon:libc_malloc]
         f10fc144  f192f260  [anon:.bss]
         f10fc148  00000000
         f10fc14c  00000000
         f10fc150  00000000
         f10fc154  00000000
         f10fc158  f1631600  [anon:libc_malloc]
         f10fc15c  00000000
         f10fc160  00000100
         f10fc164  00000000
         f10fc168  00000000
         f10fc16c  00000000
         f10fc170  f1631500  [anon:libc_malloc]
         f10fc174  00000000
         f10fc178  c7e0b5b0
         f10fc17c  f1631400  [anon:libc_malloc]
         ........  ........
    #03  f10fc1a0  f1631400  [anon:libc_malloc]
         f10fc1a4  f1631454  [anon:libc_malloc]
         f10fc1a8  00000000
         f10fc1ac  f1631400  [anon:libc_malloc]
         f10fc1b0  f1631490  [anon:libc_malloc]
         f10fc1b4  00000000
         f10fc1b8  00000000
         f10fc1bc  f1a12dcf  /system/lib/vndk-29/libbinder.so
    #04  f10fc1c0  00000000
         f10fc1c4  f1a12323  /system/lib/vndk-29/libbinder.so
         f10fc1c8  f1129000  [anon:libc_malloc]
         f10fc1cc  f112900c  [anon:libc_malloc]
         f10fc1d0  00000000
         f10fc1d4  f1a29c79  /system/lib/vndk-29/libbinder.so
    #05  f10fc1d8  f1129000  [anon:libc_malloc]
         f10fc1dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #06  f10fc1e0  f1100010  [anon:libc_malloc]
         f10fc1e4  f1129000  [anon:libc_malloc]
         f10fc1e8  f16051a0  [anon:libc_malloc]
         f10fc1ec  f1129000  [anon:libc_malloc]
         f10fc1f0  c7e0b5b0
         f10fc1f4  f10fc230
         f10fc1f8  f10fc230
         f10fc1fc  f10fc230
         f10fc200  00000078
         f10fc204  00000e05
         f10fc208  00000dad
         f10fc20c  f14fe490
         f10fc210  f10fc230
         f10fc214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #07  f10fc218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f10fc21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #08  f10fc220  f10fc238
         f10fc224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f10fc228  f10fc230
         f10fc22c  00000000
         f10fc230  f14fe230
         f10fc234  f0f69230
         f10fc238  00000e06
         f10fc23c  00000dad
         f10fc240  00000001
         f10fc244  f0fff000
         f10fc248  000fd230
         f10fc24c  00001000
         f10fc250  00000000
         f10fc254  00000000
         f10fc258  00000003
         f10fc25c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3593, name: HwBinder:3501_1  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  f0f69118  r3  f0f69074
    r4  f192f260  r5  c0306201  r6  f0f69118  r7  00000036
    r8  f0f69138  r9  f192f260  r10 00000000  r11 f0f69120
    ip  00000000  sp  f0f69060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         f0f69020  f0f690d4
         f0f69024  00000000
         f0f69028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         f0f6902c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         f0f69030  f192f260  [anon:.bss]
         f0f69034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         f0f69038  00000000
         f0f6903c  f1130000  [anon:libc_malloc]
         f0f69040  00000010
         f0f69044  f162b080  [anon:libc_malloc]
         f0f69048  f162b090  [anon:libc_malloc]
         f0f6904c  f0f69490
         f0f69050  00000000
         f0f69054  0133aec0
         f0f69058  00000000
         f0f6905c  00000000
    #00  f0f69060  f0f69074
         ........  ........
    #01  f0f69060  f0f69074
         f0f69064  c7e0b5b0
         f0f69068  f1130000  [anon:libc_malloc]
         f0f6906c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         f0f69070  f0f69118
         f0f69074  00000000
    #02  f0f69078  00000010
         f0f6907c  f0f69160
         f0f69080  f1130000  [anon:libc_malloc]
         f0f69084  f1130054  [anon:libc_malloc]
         f0f69088  f1130098  [anon:libc_malloc]
         f0f6908c  0160a56c
         f0f69090  00000000
         f0f69094  00000000
         f0f69098  00000000
         f0f6909c  00000000
         f0f690a0  00000000
         f0f690a4  f11ccb40  [anon:libc_malloc]
         f0f690a8  00000008
         f0f690ac  0000000c
         f0f690b0  00000000
         f0f690b4  00000000
         ........  ........
    #03  f0f691b8  f0f691e4
         f0f691bc  00000dad
         f0f691c0  f1611c90  [anon:libc_malloc]
         f0f691c4  f1611c9c  [anon:libc_malloc]
         f0f691c8  00000000
         f0f691cc  00000000
         f0f691d0  f0f691e4
         f0f691d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  f0f691d8  f1611c90  [anon:libc_malloc]
         f0f691dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  f0f691e0  f1605270  [anon:libc_malloc]
         f0f691e4  f1611c90  [anon:libc_malloc]
         f0f691e8  f1605240  [anon:libc_malloc]
         f0f691ec  f1611c90  [anon:libc_malloc]
         f0f691f0  c7e0b5b0
         f0f691f4  f0f69230
         f0f691f8  f0f69230
         f0f691fc  f0f69230
         f0f69200  00000078
         f0f69204  00000dad
         f0f69208  00000dad
         f0f6920c  f2d79020
         f0f69210  f0f69230
         f0f69214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  f0f69218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f0f6921c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  f0f69220  f0f69238
         f0f69224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f0f69228  f0f69230
         f0f6922c  00000000
         f0f69230  f10fc230
         f0f69234  f0e68230
         f0f69238  00000e09
         f0f6923c  00000dad
         f0f69240  00000001
         f0f69244  f0e6c000
         f0f69248  000fd230
         f0f6924c  00001000
         f0f69250  00000000
         f0f69254  00000000
         f0f69258  00000003
         f0f6925c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3597, name: HwBinder:3501_2  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  f0e68118  r3  f0e68074
    r4  f192f260  r5  c0306201  r6  f0e68118  r7  00000036
    r8  f0e68138  r9  f192f260  r10 00000000  r11 f0e68120
    ip  00000000  sp  f0e68060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         f0e68020  f0e680d4
         f0e68024  00000000
         f0e68028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         f0e6802c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         f0e68030  f192f260  [anon:.bss]
         f0e68034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         f0e68038  00000000
         f0e6803c  f162c500  [anon:libc_malloc]
         f0e68040  00000010
         f0e68044  f162b080  [anon:libc_malloc]
         f0e68048  f162b090  [anon:libc_malloc]
         f0e6804c  f0e68490
         f0e68050  00000000
         f0e68054  0133aec4
         f0e68058  00000000
         f0e6805c  00000000
    #00  f0e68060  f0e68074
         ........  ........
    #01  f0e68060  f0e68074
         f0e68064  c7e0b5b0
         f0e68068  f162c500  [anon:libc_malloc]
         f0e6806c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         f0e68070  f0e68118
         f0e68074  00000000
    #02  f0e68078  00000010
         f0e6807c  f0e68160
         f0e68080  f162c500  [anon:libc_malloc]
         f0e68084  f162c554  [anon:libc_malloc]
         f0e68088  f162c598  [anon:libc_malloc]
         f0e6808c  0160ac08
         f0e68090  00000000
         f0e68094  00000000
         f0e68098  00000000
         f0e6809c  00000000
         f0e680a0  00000000
         f0e680a4  f11aa020  [anon:libc_malloc]
         f0e680a8  0000000c
         f0e680ac  0000000c
         f0e680b0  00000000
         f0e680b4  00000000
         ........  ........
    #03  f0e681b8  f0e681e4
         f0e681bc  00000dad
         f0e681c0  f1129030  [anon:libc_malloc]
         f0e681c4  f112903c  [anon:libc_malloc]
         f0e681c8  00000000
         f0e681cc  00000000
         f0e681d0  f0e681e4
         f0e681d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  f0e681d8  f1129030  [anon:libc_malloc]
         f0e681dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  f0e681e0  f1100050  [anon:libc_malloc]
         f0e681e4  f1129030  [anon:libc_malloc]
         f0e681e8  f1605270  [anon:libc_malloc]
         f0e681ec  f1129030  [anon:libc_malloc]
         f0e681f0  c7e0b5b0
         f0e681f4  f0e68230
         f0e681f8  f0e68230
         f0e681fc  f0e68230
         f0e68200  00000078
         f0e68204  00000e09
         f0e68208  00000dad
         f0e6820c  f0f69490
         f0e68210  f0e68230
         f0e68214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  f0e68218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f0e6821c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  f0e68220  f0e68238
         f0e68224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         f0e68228  f0e68230
         f0e6822c  00000000
         f0e68230  f0f69230
         f0e68234  effae230
         f0e68238  00000e0d
         f0e6823c  00000dad
         f0e68240  00000001
         f0e68244  f0d6b000
         f0e68248  000fd230
         f0e6824c  00001000
         f0e68250  00000000
         f0e68254  00000000
         f0e68258  00000003
         f0e6825c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3785, name: ATVRemoteAudioH  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  effae1a0  r1  00000002  r2  00000000  r3  00000000
    r4  00000000  r5  f1625504  r6  effae1a0  r7  00000150
    r8  00000000  r9  f16254f8  r10 0000000c  r11 f192f260
    ip  effae160  sp  effae150  lr  f18dec27  pc  f190f25c

backtrace:
      #00 pc 0009625c  /apex/com.android.runtime/lib/bionic/libc.so (__ppoll+16) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00065c23  /apex/com.android.runtime/lib/bionic/libc.so (poll+54) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 00016b05  /vendor/lib/libamlaudiorc.so (android::AudioHotplugThread::threadLoop()+260) (BuildId: 67a0cc47ac70f865d8fa46cce461e8)
      #03 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #04 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #05 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         effae110  00000000
         effae114  00000000
         effae118  00000000
         effae11c  00000000
         effae120  00000000
         effae124  00000000
         effae128  00000000
         effae12c  00000000
         effae130  00000000
         effae134  00000000
         effae138  00000000
         effae13c  00000000
         effae140  00000000
         effae144  00000000
         effae148  00000000
         effae14c  00000000
    #00  effae150  00000002
         effae154  effae1a0
         effae158  00000000
         effae15c  f192f260  [anon:.bss]
    #01  effae160  00000000
         effae164  f1625504  [anon:libc_malloc]
         effae168  effae1a0
         effae16c  c7e0b5b0
         effae170  0000000b
         effae174  effae190
         effae178  effae1a0
         effae17c  ffffffff
         effae180  00000001
         effae184  f0161b09  /vendor/lib/libamlaudiorc.so
    #02  effae188  f23d9284  /system/lib/vndk-sp-29/libprocessgroup.so
         effae18c  f23d942d  /system/lib/vndk-sp-29/libprocessgroup.so
         effae190  00000001
         effae194  00000002
         effae198  c7e0b5b0
         effae19c  ffffffff
         effae1a0  0000000b
         effae1a4  00000001
         effae1a8  00000009
         effae1ac  00000001
         effae1b0  f0155eec  /vendor/lib/libamlaudiorc.so
         effae1b4  f0155661  /vendor/lib/libamlaudiorc.so
         effae1b8  c7e0b5b0
         effae1bc  f16254f8  [anon:libc_malloc]
         effae1c0  f1625504  [anon:libc_malloc]
         effae1c4  00000000
         ........  ........
    #03  effae1e0  f1606180  [anon:libc_malloc]
         effae1e4  f16254f8  [anon:libc_malloc]
         effae1e8  f1605450  [anon:libc_malloc]
         effae1ec  f16254f8  [anon:libc_malloc]
         effae1f0  c7e0b5b0
         effae1f4  effae230
         effae1f8  effae230
         effae1fc  effae230
         effae200  00000078
         effae204  00000dad
         effae208  00000dad
         effae20c  f2d79020
         effae210  effae230
         effae214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #04  effae218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         effae21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #05  effae220  effae238
         effae224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         effae228  effae230
         effae22c  00000000
         effae230  f0e68230
         effae234  efead230
         effae238  00000ec9
         effae23c  00000dad
         effae240  00000001
         effae244  efeb1000
         effae248  000fd230
         effae24c  00001000
         effae250  00000000
         effae254  00000000
         effae258  00000003
         effae25c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 3807, name: amlAudioMixer16  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000000  r1  00000000  r2  efead058  r3  00000000
    r4  00000008  r5  00000000  r6  00000000  r7  00000150
    r8  00000000  r9  00000000  r10 b0a14800  r11 0000000b
    ip  efead050  sp  efead040  lr  f18decf1  pc  f190f25c

backtrace:
      #00 pc 0009625c  /apex/com.android.runtime/lib/bionic/libc.so (__ppoll+16) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00065ced  /apex/com.android.runtime/lib/bionic/libc.so (ppoll64+124) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 00065c59  /apex/com.android.runtime/lib/bionic/libc.so (ppoll+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #03 pc 00052d59  /vendor/lib/hw/audio.primary.amlogic.so (aml_audio_sleep+60) (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
      #04 pc 000536b1  /vendor/lib/hw/audio.primary.amlogic.so (audio_virtual_buf_process+468) (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
      #05 pc 0004e173  /vendor/lib/hw/audio.primary.amlogic.so (mixer_16b_threadloop+214) (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         efead000  efead020
         efead004  00000000
         efead008  c7e0b5b0
         efead00c  f192f260  [anon:.bss]
         efead010  00000000
         efead014  f045b76b  /vendor/lib/hw/audio.primary.amlogic.so
         efead018  f045b75e  /vendor/lib/hw/audio.primary.amlogic.so
         efead01c  f2a72428  /dev/__properties__/u:object_r:media_prop:s0
         efead020  f2a72444  /dev/__properties__/u:object_r:media_prop:s0
         efead024  00000008
         efead028  f045b773  /vendor/lib/hw/audio.primary.amlogic.so
         efead02c  f18d7065  /apex/com.android.runtime/lib/bionic/libc.so
         efead030  00000000
         efead034  f045b75e  /vendor/lib/hw/audio.primary.amlogic.so
         efead038  0000001c
         efead03c  f045b75e  /vendor/lib/hw/audio.primary.amlogic.so
    #00  efead040  f192f260  [anon:.bss]
         efead044  00000000
         efead048  efead058
         efead04c  01e84800
    #01  efead050  00000008
         efead054  00000000
         efead058  00000000
         efead05c  001cc12a
         efead060  00001e71
         efead064  f049ae24  /vendor/lib/hw/audio.primary.amlogic.so
         efead068  00000000
         efead06c  c7e0b5b0
         efead070  c7e0b5b0
         efead074  f192f260  [anon:.bss]
         efead078  ae42158d
         efead07c  01e84800
         efead080  00000000
         efead084  f18dec5d  /apex/com.android.runtime/lib/bionic/libc.so
    #02  efead088  0000000b
         efead08c  f049b23c  /vendor/lib/hw/audio.primary.amlogic.so
         efead090  efead098
         efead094  c7e0b5b0
         efead098  00001e71
         efead09c  f192f260  [anon:.bss]
         efead0a0  01e84800
         efead0a4  f0496d5d  /vendor/lib/hw/audio.primary.amlogic.so
    #03  efead0a8  0000000b
         efead0ac  00000000
         efead0b0  0076e968
         efead0b4  c7e0b5b0
         efead0b8  00000000
         efead0bc  0000000b
         efead0c0  01e84800
         efead0c4  f04976b5  /vendor/lib/hw/audio.primary.amlogic.so
    #04  efead0c8  00000000
         efead0cc  efcb2b38  [anon:libc_malloc]
         efead0d0  efcb2b38  [anon:libc_malloc]
         efead0d4  00000600
         efead0d8  00000600
         efead0dc  efd12800  [anon:libc_malloc]
         efead0e0  f1640400  [anon:libc_malloc]
         efead0e4  f16543b0  [anon:libc_malloc]
         efead0e8  f16543a8  [anon:libc_malloc]
         efead0ec  f1654388  [anon:libc_malloc]
         efead0f0  00000000
         efead0f4  00000000
         efead0f8  01e84800
         efead0fc  00000000
         efead100  007a1200
         efead104  00000000
         ........  ........
    #05  efead140  00000002
         efead144  00000001
         efead148  00000004
         efead14c  0000bb80
         efead150  00000002
         efead154  00000001
         efead158  00000004
         efead15c  00000000
         efead160  f0459faa  /vendor/lib/hw/audio.primary.amlogic.so
         efead164  f192f260  [anon:.bss]
         efead168  f0458f3e  /vendor/lib/hw/audio.primary.amlogic.so
         efead16c  f0456b9c  /vendor/lib/hw/audio.primary.amlogic.so
         efead170  f045ce7c  /vendor/lib/hw/audio.primary.amlogic.so
         efead174  f045d5c4  /vendor/lib/hw/audio.primary.amlogic.so
         efead178  f0454d07  /vendor/lib/hw/audio.primary.amlogic.so
         efead17c  f1675240  [anon:libc_malloc]
         ........  ........
    #06  efead218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         efead21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  efead220  efead238
         efead224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         efead228  efead230
         efead22c  00000000
         efead230  effae230
         efead234  ef693230
         efead238  00000edf
         efead23c  00000dad
         efead240  00000000
         efead244  efdb0000
         efead248  000fd230
         efead24c  00001000
         efead250  00000000
         efead254  00000000
         efead258  00000000
         efead25c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 4728, name: HwBinder:3501_3  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  ef693118  r3  ef693074
    r4  f192f260  r5  c0306201  r6  ef693118  r7  00000036
    r8  ef693138  r9  f192f260  r10 00000000  r11 ef693120
    ip  00000000  sp  ef693060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ef693020  ef6930d4
         ef693024  00000000
         ef693028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ef69302c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ef693030  f192f260  [anon:.bss]
         ef693034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         ef693038  00000000
         ef69303c  f1130500  [anon:libc_malloc]
         ef693040  00000010
         ef693044  f162b080  [anon:libc_malloc]
         ef693048  f162b090  [anon:libc_malloc]
         ef69304c  ef693490
         ef693050  00000000
         ef693054  0133aec8
         ef693058  00000000
         ef69305c  00000000
    #00  ef693060  ef693074
         ........  ........
    #01  ef693060  ef693074
         ef693064  c7e0b5b0
         ef693068  f1130500  [anon:libc_malloc]
         ef69306c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         ef693070  ef693118
         ef693074  00000000
    #02  ef693078  00000010
         ef69307c  ef693160
         ef693080  f1130500  [anon:libc_malloc]
         ef693084  f1130554  [anon:libc_malloc]
         ef693088  f1130598  [anon:libc_malloc]
         ef69308c  0192f260
         ef693090  00000000
         ef693094  00000000
         ef693098  00000000
         ef69309c  00000000
         ef6930a0  00000000
         ef6930a4  f11aa120  [anon:libc_malloc]
         ef6930a8  0000000c
         ef6930ac  0000000c
         ef6930b0  00000000
         ef6930b4  00000000
         ........  ........
    #03  ef6931b8  ef6931e4
         ef6931bc  00000dad
         ef6931c0  f1612050  [anon:libc_malloc]
         ef6931c4  f161205c  [anon:libc_malloc]
         ef6931c8  00000000
         ef6931cc  00000000
         ef6931d0  ef6931e4
         ef6931d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  ef6931d8  f1612050  [anon:libc_malloc]
         ef6931dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  ef6931e0  f1605c10  [anon:libc_malloc]
         ef6931e4  f1612050  [anon:libc_malloc]
         ef6931e8  f1605b40  [anon:libc_malloc]
         ef6931ec  f1612050  [anon:libc_malloc]
         ef6931f0  c7e0b5b0
         ef6931f4  ef693230
         ef6931f8  ef693230
         ef6931fc  ef693230
         ef693200  00000078
         ef693204  00000e0d
         ef693208  00000dad
         ef69320c  f0e68490
         ef693210  ef693230
         ef693214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  ef693218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef69321c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  ef693220  ef693238
         ef693224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef693228  ef693230
         ef69322c  00000000
         ef693230  efead230
         ef693234  ef592230
         ef693238  00001278
         ef69323c  00000dad
         ef693240  00000001
         ef693244  ef596000
         ef693248  000fd230
         ef69324c  00001000
         ef693250  00000000
         ef693254  00000000
         ef693258  00000003
         ef69325c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 6534, name: writer  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  f16e7220  r1  00000089  r2  0065dcc8  r3  ef59207c
    r4  00000000  r5  ffffffff  r6  00017ef1  r7  000000f0
    r8  0065dcc8  r9  f16e7220  r10 0000000b  r11 ef5920d8
    ip  ef592070  sp  ef592060  lr  f18d8511  pc  f18d3108

backtrace:
      #00 pc 0005a108  /apex/com.android.runtime/lib/bionic/libc.so (syscall+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 0005f50d  /apex/com.android.runtime/lib/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+88) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 000a5813  /apex/com.android.runtime/lib/bionic/libc.so (pthread_cond_timedwait+76) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #03 pc 00051769  /vendor/lib/hw/audio.primary.amlogic.so (aml_out_write_to_mixer+112) (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
      #04 pc 00051595  /vendor/lib/hw/audio.primary.amlogic.so (mixer_aux_buffer_write_sm+532) (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
      #05 pc 00051fbd  /vendor/lib/hw/audio.primary.amlogic.so (out_write_subMixingPCM+60) (BuildId: fc3cb367d894d1f9d9b5c70ed32557)
      #06 pc 000239e1  /vendor/lib/hw/android.hardware.audio@5.0-impl.so (android::hardware::audio::V5_0::implementation::(anonymous namespace)::WriteThread::threadLoop()+284) (BuildId: e81edf3d0d2cdf00c67b9bbd7bd65c)
      #07 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #08 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #09 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ef592020  f192f260  [anon:.bss]
         ef592024  00000000
         ef592028  f164bb20  [anon:libc_malloc]
         ef59202c  f048436b  /vendor/lib/hw/audio.primary.amlogic.so
         ef592030  00000000
         ef592034  f04577da  /vendor/lib/hw/audio.primary.amlogic.so
         ef592038  f2a72000  /dev/__properties__/u:object_r:media_prop:s0
         ef59203c  f04577da  /vendor/lib/hw/audio.primary.amlogic.so
         ef592040  00000000
         ef592044  f1161208  [anon:libc_malloc]
         ef592048  f16e7150  [anon:libc_malloc]
         ef59204c  656fe720
         ef592050  02e8e0fc
         ef592054  00017ef1
         ef592058  01d46b57
         ef59205c  c7e0b5b0
    #00  ef592060  ef592490
         ef592064  f192f260  [anon:.bss]
         ef592068  00000089
         ef59206c  ef59207c
    #01  ef592070  ef59207c
         ef592074  00000000
         ef592078  ffffffff
         ef59207c  00017ef1
         ef592080  01e3a03e
         ef592084  c7e0b5b0
         ef592088  f16e721c  [anon:libc_malloc]
         ef59208c  f16e7220  [anon:libc_malloc]
         ef592090  ef5920d8
         ef592094  00000000
         ef592098  0065dcc8
         ef59209c  00001800
         ef5920a0  00002000
         ef5920a4  f191e817  /apex/com.android.runtime/lib/bionic/libc.so
    #02  ef5920a8  ef5920d8
         ef5920ac  f04a11fc  [anon:.bss]
         ef5920b0  f16e721c  [anon:libc_malloc]
         ef5920b4  00000000
         ef5920b8  f1186800  [anon:libc_malloc]
         ef5920bc  f16e7000  [anon:libc_malloc]
         ef5920c0  f162b180  [anon:libc_malloc]
         ef5920c4  f049576d  /vendor/lib/hw/audio.primary.amlogic.so
    #03  ef5920c8  c7e0b5b0
         ef5920cc  f192f260  [anon:.bss]
         ef5920d0  f192f260  [anon:.bss]
         ef5920d4  f16e7220  [anon:libc_malloc]
         ef5920d8  656fe720
         ef5920dc  02f815e3
         ef5920e0  c7e0b5b0
         ef5920e4  f1675240  [anon:libc_malloc]
         ef5920e8  f16e7000  [anon:libc_malloc]
         ef5920ec  00000002
         ef5920f0  00000400
         ef5920f4  00000800
         ef5920f8  f1185000  [anon:libc_malloc]
         ef5920fc  00002000
         ef592100  f165a000  [anon:libc_malloc]
         ef592104  f0495599  /vendor/lib/hw/audio.primary.amlogic.so
    #04  ef592108  00000000
         ef59210c  f0fb9c84  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ef592110  f04a11fc  [anon:.bss]
         ef592114  f1161204  [anon:libc_malloc]
         ef592118  00000000
         ef59211c  f0fb9c84  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ef592120  00000000
         ef592124  00000000
         ef592128  00000000
         ef59212c  00000000
         ef592130  f16e7000  [anon:libc_malloc]
         ef592134  f16752dc  [anon:libc_malloc]
         ef592138  f1675240  [anon:libc_malloc]
         ef59213c  00002000
         ef592140  f1185000  [anon:libc_malloc]
         ef592144  f0fa7d6a  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ........  ........
    #05  ef592150  00000000
         ef592154  00000000
         ef592158  f1185000  [anon:libc_malloc]
         ef59215c  f0fb3e27  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ef592160  c7e0b5b0
         ef592164  f11611c0  [anon:libc_malloc]
         ef592168  f192f260  [anon:.bss]
         ef59216c  f11611c0  [anon:libc_malloc]
         ef592170  f192f260  [anon:.bss]
         ef592174  00002000
         ef592178  f1161204  [anon:libc_malloc]
         ef59217c  ef5921a8
         ef592180  00000000
         ef592184  f0fb39e3  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
    #06  ef592188  00000000
         ef59218c  00000000
         ef592190  00000000
         ef592194  f160c808  [anon:libc_malloc]
         ef592198  f1161210  [anon:libc_malloc]
         ef59219c  f1161200  [anon:libc_malloc]
         ef5921a0  f1161208  [anon:libc_malloc]
         ef5921a4  f0fa84d4  /vendor/lib/hw/android.hardware.audio@5.0-impl.so
         ef5921a8  00000001
         ef5921ac  f160c8f8  [anon:libc_malloc]
         ef5921b0  f1105048  [anon:libc_malloc]
         ef5921b4  f18a8d15  /apex/com.android.runtime/lib/bionic/libc.so
         ef5921b8  c7e0b5b0
         ef5921bc  f11611c0  [anon:libc_malloc]
         ef5921c0  f11611cc  [anon:libc_malloc]
         ef5921c4  00000000
         ........  ........
    #07  ef5921e0  f1105048  [anon:libc_malloc]
         ef5921e4  f11611c0  [anon:libc_malloc]
         ef5921e8  f1605b30  [anon:libc_malloc]
         ef5921ec  f11611c0  [anon:libc_malloc]
         ef5921f0  c7e0b5b0
         ef5921f4  ef592230
         ef5921f8  ef592230
         ef5921fc  ef592230
         ef592200  00000078
         ef592204  00001278
         ef592208  00000dad
         ef59220c  ef693490
         ef592210  ef592230
         ef592214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #08  ef592218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef59221c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #09  ef592220  ef592238
         ef592224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef592228  ef592230
         ef59222c  00000000
         ef592230  ef693230
         ef592234  ef491230
         ef592238  00001986
         ef59223c  00000dad
         ef592240  00000001
         ef592244  ef495000
         ef592248  000fd230
         ef59224c  00001000
         ef592250  00000000
         ef592254  00000000
         ef592258  00000003
         ef59225c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 8085, name: HwBinder:3501_4  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  ef491118  r3  ef491074
    r4  f192f260  r5  c0306201  r6  ef491118  r7  00000036
    r8  ef491138  r9  f192f260  r10 00000000  r11 ef491120
    ip  00000000  sp  ef491060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ef491020  ef4910d4
         ef491024  00000000
         ef491028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ef49102c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ef491030  f192f260  [anon:.bss]
         ef491034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         ef491038  00000000
         ef49103c  f1130a00  [anon:libc_malloc]
         ef491040  00000010
         ef491044  f162b080  [anon:libc_malloc]
         ef491048  f162b090  [anon:libc_malloc]
         ef49104c  ef491490
         ef491050  00000000
         ef491054  0133aecc
         ef491058  00000000
         ef49105c  00000000
    #00  ef491060  ef491074
         ........  ........
    #01  ef491060  ef491074
         ef491064  c7e0b5b0
         ef491068  f1130a00  [anon:libc_malloc]
         ef49106c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         ef491070  ef491118
         ef491074  00000000
    #02  ef491078  00000010
         ef49107c  ef491160
         ef491080  f1130a00  [anon:libc_malloc]
         ef491084  f1130a54  [anon:libc_malloc]
         ef491088  f1130a98  [anon:libc_malloc]
         ef49108c  0160cfa4
         ef491090  00000000
         ef491094  00000000
         ef491098  00000000
         ef49109c  00000000
         ef4910a0  00000000
         ef4910a4  f11aa7d0  [anon:libc_malloc]
         ef4910a8  0000000c
         ef4910ac  0000000c
         ef4910b0  00000000
         ef4910b4  00000000
         ........  ........
    #03  ef4911b8  ef4911e4
         ef4911bc  00000dad
         ef4911c0  f1129150  [anon:libc_malloc]
         ef4911c4  f112915c  [anon:libc_malloc]
         ef4911c8  00000000
         ef4911cc  00000000
         ef4911d0  ef4911e4
         ef4911d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  ef4911d8  f1129150  [anon:libc_malloc]
         ef4911dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  ef4911e0  f1100180  [anon:libc_malloc]
         ef4911e4  f1129150  [anon:libc_malloc]
         ef4911e8  f1605cd0  [anon:libc_malloc]
         ef4911ec  f1129150  [anon:libc_malloc]
         ef4911f0  c7e0b5b0
         ef4911f4  ef491230
         ef4911f8  ef491230
         ef4911fc  ef491230
         ef491200  00000078
         ef491204  00001278
         ef491208  00000dad
         ef49120c  ef693490
         ef491210  ef491230
         ef491214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  ef491218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef49121c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  ef491220  ef491238
         ef491224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef491228  ef491230
         ef49122c  00000000
         ef491230  ef592230
         ef491234  ef390230
         ef491238  00001f95
         ef49123c  00000dad
         ef491240  00000001
         ef491244  ef394000
         ef491248  000fd230
         ef49124c  00001000
         ef491250  00000000
         ef491254  00000000
         ef491258  00000003
         ef49125c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 10201, name: HwBinder:3501_5  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  ef390118  r3  ef390074
    r4  f192f260  r5  c0306201  r6  ef390118  r7  00000036
    r8  ef390138  r9  f192f260  r10 00000000  r11 ef390120
    ip  00000000  sp  ef390060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ef390020  ef3900d4
         ef390024  00000000
         ef390028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ef39002c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ef390030  f192f260  [anon:.bss]
         ef390034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         ef390038  00000000
         ef39003c  f1130280  [anon:libc_malloc]
         ef390040  00000010
         ef390044  f162b080  [anon:libc_malloc]
         ef390048  f162b090  [anon:libc_malloc]
         ef39004c  ef390490
         ef390050  00000000
         ef390054  0133aed0
         ef390058  00000000
         ef39005c  00000000
    #00  ef390060  ef390074
         ........  ........
    #01  ef390060  ef390074
         ef390064  c7e0b5b0
         ef390068  f1130280  [anon:libc_malloc]
         ef39006c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         ef390070  ef390118
         ef390074  00000000
    #02  ef390078  00000010
         ef39007c  ef390160
         ef390080  f1130280  [anon:libc_malloc]
         ef390084  f11302d4  [anon:libc_malloc]
         ef390088  f1130318  [anon:libc_malloc]
         ef39008c  018d9ee7
         ef390090  00000000
         ef390094  00000000
         ef390098  00000000
         ef39009c  00000000
         ef3900a0  00000000
         ef3900a4  f16ce950  [anon:libc_malloc]
         ef3900a8  00000008
         ef3900ac  0000000c
         ef3900b0  00000000
         ef3900b4  00000000
         ........  ........
    #03  ef3901b8  ef3901e4
         ef3901bc  00000dad
         ef3901c0  f1611ff0  [anon:libc_malloc]
         ef3901c4  f1611ffc  [anon:libc_malloc]
         ef3901c8  00000000
         ef3901cc  00000000
         ef3901d0  ef3901e4
         ef3901d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  ef3901d8  f1611ff0  [anon:libc_malloc]
         ef3901dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  ef3901e0  f1605dc0  [anon:libc_malloc]
         ef3901e4  f1611ff0  [anon:libc_malloc]
         ef3901e8  f1605ca0  [anon:libc_malloc]
         ef3901ec  f1611ff0  [anon:libc_malloc]
         ef3901f0  c7e0b5b0
         ef3901f4  ef390230
         ef3901f8  ef390230
         ef3901fc  ef390230
         ef390200  00000078
         ef390204  00000e0d
         ef390208  00000dad
         ef39020c  f0e68490
         ef390210  ef390230
         ef390214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  ef390218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef39021c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  ef390220  ef390238
         ef390224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef390228  ef390230
         ef39022c  00000000
         ef390230  ef491230
         ef390234  ef28f230
         ef390238  000027d9
         ef39023c  00000dad
         ef390240  00000001
         ef390244  ef293000
         ef390248  000fd230
         ef39024c  00001000
         ef390250  00000000
         ef390254  00000000
         ef390258  00000003
         ef39025c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 24515, name: HwBinder:3501_7  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  ee34e118  r3  ee34e074
    r4  f192f260  r5  c0306201  r6  ee34e118  r7  00000036
    r8  ee34e138  r9  f192f260  r10 00000000  r11 ee34e120
    ip  00000000  sp  ee34e060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ee34e020  ee34e0d4
         ee34e024  00000000
         ee34e028  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ee34e02c  f268a5b9  /system/lib/vndk-sp-29/libhidlbase.so
         ee34e030  f192f260  [anon:.bss]
         ee34e034  f268c74d  /system/lib/vndk-sp-29/libhidlbase.so
         ee34e038  00000000
         ee34e03c  f162c798  [anon:libc_malloc]
         ee34e040  f114aff0  [anon:libc_malloc]
         ee34e044  f24d5c35  /system/lib/vndk-sp-29/libutils.so
         ee34e048  f162b090  [anon:libc_malloc]
         ee34e04c  ee34e490
         ee34e050  00000000
         ee34e054  0133aed4
         ee34e058  00000000
         ee34e05c  00000000
    #00  ee34e060  ee34e074
         ........  ........
    #01  ee34e060  ee34e074
         ee34e064  c7e0b5b0
         ee34e068  f162c780  [anon:libc_malloc]
         ee34e06c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         ee34e070  ee34e118
         ee34e074  00000000
    #02  ee34e078  00000001
         ee34e07c  f18d9ee7  /apex/com.android.runtime/lib/bionic/libc.so
         ee34e080  c7e0b5b0
         ee34e084  f162c7d4  [anon:libc_malloc]
         ee34e088  f162c818  [anon:libc_malloc]
         ee34e08c  f192f260  [anon:.bss]
         ee34e090  00000048
         ee34e094  f192f260  [anon:.bss]
         ee34e098  ee34e490
         ee34e09c  f16ce5f0  [anon:libc_malloc]
         ee34e0a0  c7e0b5b0
         ee34e0a4  efcb2a30  [anon:libc_malloc]
         ee34e0a8  c7e0b5b0
         ee34e0ac  f192f260  [anon:.bss]
         ee34e0b0  f16fbd60  [anon:libc_malloc]
         ee34e0b4  f192f260  [anon:.bss]
         ........  ........
    #03  ee34e1b8  ee34e1e4
         ee34e1bc  00000dad
         ee34e1c0  f1612200  [anon:libc_malloc]
         ee34e1c4  f161220c  [anon:libc_malloc]
         ee34e1c8  00000000
         ee34e1cc  00000000
         ee34e1d0  ee34e1e4
         ee34e1d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  ee34e1d8  f1612200  [anon:libc_malloc]
         ee34e1dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  ee34e1e0  f1605ea0  [anon:libc_malloc]
         ee34e1e4  f1612200  [anon:libc_malloc]
         ee34e1e8  f1100230  [anon:libc_malloc]
         ee34e1ec  f1612200  [anon:libc_malloc]
         ee34e1f0  c7e0b5b0
         ee34e1f4  ee34e230
         ee34e1f8  ee34e230
         ee34e1fc  ee34e230
         ee34e200  00000078
         ee34e204  00000e0d
         ee34e208  00000dad
         ee34e20c  f0e68490
         ee34e210  ee34e230
         ee34e214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  ee34e218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ee34e21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  ee34e220  ee34e238
         ee34e224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ee34e228  ee34e230
         ee34e22c  00000000
         ee34e230  ef28f230
         ee34e234  ee24d230
         ee34e238  00005fc3
         ee34e23c  00000dad
         ee34e240  00000001
         ee34e244  ee251000
         ee34e248  000fd230
         ee34e24c  00001000
         ee34e250  00000000
         ee34e254  00000000
         ee34e258  00000003
         ee34e25c  00000000
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 3501, tid: 30241, name: HwBinder:3501_6  >>> /vendor/bin/hw/android.hardware.audio@2.0-service-droidlogic <<<
uid: 1041
    r0  00000004  r1  c0306201  r2  ef28f118  r3  ef28f074
    r4  f192f260  r5  c0306201  r6  ef28f118  r7  00000036
    r8  ef28f138  r9  f192f260  r10 00000000  r11 ef28f120
    ip  00000000  sp  ef28f060  lr  f18dd709  pc  f190f1c4

backtrace:
      #00 pc 000961c4  /apex/com.android.runtime/lib/bionic/libc.so (__ioctl+8) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #01 pc 00064705  /apex/com.android.runtime/lib/bionic/libc.so (ioctl+28) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #02 pc 0006afc9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+356) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #03 pc 0006c0c5  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #04 pc 000772c9  /system/lib/vndk-sp-29/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 0f0a12ab6cc754e4bd464ca3207146)
      #05 pc 0000d903  /system/lib/vndk-sp-29/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: 3e90ae830c603d871dbe888878aae6)
      #06 pc 000a6087  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: a82a8324059a3f30a292a0e928691aca)
      #07 pc 00060141  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: a82a8324059a3f30a292a0e928691aca)

stack:
         ef28f020  00000000
         ef28f024  00000000
         ef28f028  00000002
         ef28f02c  f192f260  [anon:.bss]
         ef28f030  00000000
         ef28f034  f18d8d63  /apex/com.android.runtime/lib/bionic/libc.so
         ef28f038  f162b08c  [anon:libc_malloc]
         ef28f03c  f191fb91  /apex/com.android.runtime/lib/bionic/libc.so
         ef28f040  f162b08c  [anon:libc_malloc]
         ef28f044  00000000
         ef28f048  ef28f490
         ef28f04c  00000000
         ef28f050  00000000
         ef28f054  00000000
         ef28f058  00000000
         ef28f05c  00000000
    #00  ef28f060  ef28f074
         ........  ........
    #01  ef28f060  ef28f074
         ef28f064  c7e0b5b0
         ef28f068  f162c3c0  [anon:libc_malloc]
         ef28f06c  f2686fcd  /system/lib/vndk-sp-29/libhidlbase.so
         ef28f070  ef28f118
         ef28f074  00000000
    #02  ef28f078  c7e0b5b0
         ef28f07c  efd034cc  [anon:libc_malloc]
         ef28f080  00000000
         ef28f084  f162c414  [anon:libc_malloc]
         ef28f088  f162c458  [anon:libc_malloc]
         ef28f08c  f18d9ee7  /apex/com.android.runtime/lib/bionic/libc.so
         ef28f090  00000000
         ef28f094  f192f260  [anon:.bss]
         ef28f098  00000000
         ef28f09c  f16eab80  [anon:libc_malloc]
         ef28f0a0  f16eab80  [anon:libc_malloc]
         ef28f0a4  f162b180  [anon:libc_malloc]
         ef28f0a8  c7e0b5b0
         ef28f0ac  f192f260  [anon:.bss]
         ef28f0b0  f16eabf8  [anon:libc_malloc]
         ef28f0b4  c7e0b5b0
         ........  ........
    #03  ef28f1b8  ef28f1e4
         ef28f1bc  00000dad
         ef28f1c0  f1129060  [anon:libc_malloc]
         ef28f1c4  f112906c  [anon:libc_malloc]
         ef28f1c8  00000000
         ef28f1cc  00000000
         ef28f1d0  ef28f1e4
         ef28f1d4  f26932cd  /system/lib/vndk-sp-29/libhidlbase.so
    #04  ef28f1d8  f1129060  [anon:libc_malloc]
         ef28f1dc  f24d4905  /system/lib/vndk-sp-29/libutils.so
    #05  ef28f1e0  f1100210  [anon:libc_malloc]
         ef28f1e4  f1129060  [anon:libc_malloc]
         ef28f1e8  f1100150  [anon:libc_malloc]
         ef28f1ec  f1129060  [anon:libc_malloc]
         ef28f1f0  c7e0b5b0
         ef28f1f4  ef28f230
         ef28f1f8  ef28f230
         ef28f1fc  ef28f230
         ef28f200  00000078
         ef28f204  00001278
         ef28f208  00000dad
         ef28f20c  ef693490
         ef28f210  ef28f230
         ef28f214  f191f089  /apex/com.android.runtime/lib/bionic/libc.so
    #06  ef28f218  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef28f21c  f18d9143  /apex/com.android.runtime/lib/bionic/libc.so
    #07  ef28f220  ef28f238
         ef28f224  f191f073  /apex/com.android.runtime/lib/bionic/libc.so
         ef28f228  ef28f230
         ef28f22c  00000000
         ef28f230  ef390230
         ef28f234  ee34e230
         ef28f238  00007621
         ef28f23c  00000dad
         ef28f240  00000001
         ef28f244  ef192000
         ef28f248  000fd230
         ef28f24c  00001000
         ef28f250  00000000
         ef28f254  00000000
         ef28f258  00000003
         ef28f25c  00000000

open files:
    fd 0: /dev/null (unowned)
    fd 1: /dev/null (unowned)
    fd 2: /dev/null (unowned)
    fd 3: /dev/vndbinder (unowned)
    fd 4: /dev/hwbinder (unowned)
    fd 5: /sys/kernel/debug/tracing/trace_marker (unowned)
    fd 6: socket:[14768] (unowned)
    fd 7: /dev/ashmem (unowned)
    fd 8: /dev/ashmem (unowned)
    fd 9: anon_inode:[eventfd] (unowned)
    fd 10: /dev/snd/controlC0 (unowned)
    fd 11: anon_inode:inotify (unowned)
    fd 12: /dev/snd/controlC0 (unowned)
    fd 13: /dev/snd/pcmC0D1p (unowned)
    fd 14: /sys/class/tsync/pts_pcrscr (unowned)
    fd 15: /sys/class/tsync/pts_pcrscr (unowned)
    fd 16: /dev/ashmem (unowned)
    fd 17: /dev/ashmem (unowned)
    fd 18: /dev/ashmem (unowned)
--------- log main
12-06 11:31:03.522  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:31:03.522  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:31:03.522  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:31:03.531  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2663)
12-06 11:31:03.531  3501  2209 I audio_hw_primary: patch set found id 2663, patchset 0xee038800
12-06 11:31:03.531  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:31:03.531  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:31:03.531  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:31:03.531  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:31:03.532  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:31:03.532  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:31:03.533  3501 24515 D audio_hw_primary: out_dump(0xf1152880, 23)
12-06 11:31:03.540  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:31:03.540  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:31:03.542  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:31:03.542  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:31:03.542  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:31:03.542  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:31:03.542  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:31:03.543  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:31:03.574  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:31:03.574  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:31:03.574  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:31:03.574  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:31:03.574  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:31:14.929  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:31:14.929  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:31:14.929  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:31:14.929  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 11:31:14.929  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:31:14.929  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:31:14.952  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:31:14.953  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:31:14.953  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:31:14.953  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:31:14.953  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:603408384
12-06 11:31:14.953  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:31:14.953  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:31:14.953  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:31:14.967  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:31:14.975  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:31:14.982  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:31:14.999  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:31:15.437  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:31:15.437  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:31:15.438  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:31:15.438  3501 24515 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:31:15.438  3501 24515 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:31:15.438  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:31:15.438  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:31:15.438  3501 27292 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:31:15.440  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:31:15.440  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:31:15.446  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:31:15.446  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:31:15.829  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:31:15.829  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:31:15.829  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:31:15.829  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:31:15.829  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:31:15.831  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:31:15.831  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:31:15.831  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:31:15.831  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:31:15.831  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [0]PCM_NORMAL
12-06 11:31:15.831  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:31:15.831  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:31:15.831  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:31:15.831  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:31:15.831  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:31:15.831  3501 24515 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:31:15.832  3501 24515 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:31:16.103  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:31:16.103  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:31:16.103  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:31:16.103  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:31:19.516  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:31:19.516  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:31:19.516  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:31:19.516  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:31:19.987  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:31:19.987  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:31:19.987  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:31:19.992  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2664)
12-06 11:31:19.992  3501  2209 I audio_hw_primary: patch set found id 2664, patchset 0xefd21000
12-06 11:31:19.992  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:31:19.992  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:31:19.992  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:31:19.992  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:31:25.546  3501  3593 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:31:25.546  3501  3593 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:31:25.546  3501  3593 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:31:25.546  3501  3593 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:31:26.379  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:31:26.879  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:31:26.880  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:31:26.880  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:31:26.880  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:31:26.880  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:31:26.880  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:31:26.880  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:31:26.881  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:31:26.881  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:31:26.881  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:31:26.881  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:31:26.881  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:31:26.881  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153a00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:31:26.881  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:31:26.881  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:31:26.883  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:31:26.887  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:31:26.915  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:31:26.915  3501 30241 I audio_hw_primary: (0xf1153a00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:31:26.915  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:31:26.931  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:31:26.931  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:31:26.931  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:31:26.931  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:31:26.931  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:31:26.931  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:31:26.940  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153a00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:31:26.940  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:31:27.262  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1153a00), left:0.828896 right:0.828896 
12-06 11:31:27.265  3501 27623 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:31:27.265  3501 27623 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:31:27.265  3501 27623 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:31:27.265  3501 27623 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:31:27.265  3501 27623 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:31:27.265  3501 27623 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153a00
12-06 11:31:27.266  3501 27623 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:31:27.266  3501 27623 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:31:27.266  3501 27623 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:31:27.266  3501 27623 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:31:27.266  3501 27623 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:31:27.266  3501 27623 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:31:27.266  3501 27623 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:31:27.278  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 11:31:27.278  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 11:31:27.286  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 11:31:27.286  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 11:31:27.294  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 11:31:27.294  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 11:31:27.302  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 11:31:27.302  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 11:31:27.310  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 768
12-06 11:31:27.310  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 11:31:27.318  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 768
12-06 11:31:27.318  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 11:31:27.326  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 768
12-06 11:31:27.326  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 11:31:27.334  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1728
12-06 11:31:27.334  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 11:31:27.342  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1728
12-06 11:31:27.342  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 11:31:29.911  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153a00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:31:29.911  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:31:29.916  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:31:29.916  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:31:29.916  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:31:29.916  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:31:29.916  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:31:29.916  3501 30241 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:31:29.935  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2667)
12-06 11:31:29.935  3501 30241 I audio_hw_primary: patch set found id 2667, patchset 0xefd24800
12-06 11:31:29.935  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:31:29.935  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:31:29.935  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:31:29.935  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:31:29.942  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:31:29.942  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:31:29.947  3501 30241 D audio_hw_primary: out_dump(0xf1153a00, 23)
12-06 11:31:29.953  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:31:29.953  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:31:29.957  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:31:29.958  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:31:29.958  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:31:29.958  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:31:29.958  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:31:29.959  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:31:29.959  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:31:29.959  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:31:29.959  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:31:29.959  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:31:29.959  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:31:30.855  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:31:30.857  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=69218717741 write=69208000000 diff=10717741
12-06 11:31:39.125  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:31:39.126  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:31:39.126  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:31:46.895  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:31:46.895  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:31:46.895  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:31:46.895  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:31:54.889  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:31:55.467  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:31:55.470  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=24612809512 write=24584000000 diff=28809512
12-06 11:31:59.353  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:31:59.818  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:31:59.819  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:31:59.819  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:31:59.819  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:31:59.819  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:31:59.819  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:31:59.819  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:31:59.819  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:31:59.819  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:31:59.819  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:31:59.819  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:31:59.819  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:31:59.819  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153a00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:31:59.819  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:31:59.819  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:31:59.821  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:31:59.843  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:31:59.861  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:31:59.861  3501 30241 I audio_hw_primary: (0xf1153a00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:31:59.861  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:31:59.869  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:31:59.869  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:31:59.869  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:31:59.869  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:31:59.869  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:31:59.870  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:31:59.877  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153a00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:31:59.877  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:32:00.223  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1153a00), left:0.828896 right:0.828896 
12-06 11:32:00.229  3501 28180 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:32:00.229  3501 28180 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:32:00.229  3501 28180 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:32:00.229  3501 28180 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:32:00.229  3501 28180 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:32:00.229  3501 28180 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153a00
12-06 11:32:00.239  3501 28180 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:00.239  3501 28180 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:32:00.240  3501 28180 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:32:00.240  3501 28180 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:00.240  3501 28180 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:32:00.240  3501 28180 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:32:00.240  3501 28180 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:32:00.255  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8280, last position 0
12-06 11:32:00.255  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8280
12-06 11:32:00.262  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8370, last position 0
12-06 11:32:00.262  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8370
12-06 11:32:00.270  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8370, last position 0
12-06 11:32:00.270  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8370
12-06 11:32:00.278  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8370, last position 0
12-06 11:32:00.278  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8370
12-06 11:32:00.286  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8370, last position 256
12-06 11:32:00.286  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8370
12-06 11:32:00.294  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8370, last position 256
12-06 11:32:00.294  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8370
12-06 11:32:00.302  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8370, last position 256
12-06 11:32:00.302  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8370
12-06 11:32:00.310  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8370, last position 1216
12-06 11:32:00.310  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8370
12-06 11:32:00.318  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8280, last position 1216
12-06 11:32:00.318  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8280
12-06 11:32:00.326  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8280, last position 2176
12-06 11:32:00.326  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x168
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:32:00.948  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:32:00.948  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:00.948  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:32:00.948  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:603949056
12-06 11:32:00.948  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:32:00.948  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:32:00.948  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:32:00.959  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:32:00.968  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:32:00.975  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:32:00.976  3501 28180 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:32:00.976  3501 28180 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:32:00.976  3501 28180 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:32:00.990  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:32:03.016  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153a00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:32:03.016  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:32:03.017  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153a00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:32:03.017  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:32:03.022  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:32:03.022  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:32:03.022  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:32:03.022  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:32:03.022  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:32:03.022  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:32:03.022  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:32:03.029  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2669)
12-06 11:32:03.029  3501  2209 I audio_hw_primary: patch set found id 2669, patchset 0xefd21000
12-06 11:32:03.029  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:32:03.029  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:32:03.029  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:32:03.029  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:32:03.030  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:32:03.030  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:32:03.030  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:32:03.030  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:32:03.030  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:32:03.030  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:32:03.030  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:32:03.032  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:32:03.032  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:32:03.032  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:32:03.043  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:32:03.043  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:32:03.045  3501  2209 D audio_hw_primary: out_dump(0xf1153a00, 23)
12-06 11:32:03.051  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:32:03.051  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:32:03.053  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:32:03.053  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:32:03.053  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:32:03.053  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:32:03.053  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:32:03.053  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:32:03.053  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:32:03.053  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:32:03.053  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:32:03.053  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:32:03.053  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:32:03.719  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:32:03.721  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=8251236421 write=8224000000 diff=27236421
12-06 11:32:05.985  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:32:05.985  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:32:05.985  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:32:05.985  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:32:06.526  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:32:06.526  3501  2209 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:32:06.527  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:32:06.527  3501  2209 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:32:17.557  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:32:17.557  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:32:17.557  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:32:17.712  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:32:17.712  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:32:17.712  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:32:17.712  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:32:17.713  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:32:17.713  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:32:17.713  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:32:17.714  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:32:17.714  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:32:17.714  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:32:17.714  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:32:17.714  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:32:17.714  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:32:17.714  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:32:17.714  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:32:17.714  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:32:17.714  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:32:17.714  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:32:17.715  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:32:17.715  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:32:17.715  3501  3593 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:32:17.716  3501  3593 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:32:17.716  3501  3593 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:32:17.723  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:32:17.726  3501 28421 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:32:17.726  3501 28421 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:32:17.726  3501 28421 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:32:17.726  3501 28421 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:32:17.726  3501 28421 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:32:17.726  3501 28421 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:17.726  3501 28421 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:32:17.727  3501 28421 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:32:17.727  3501 28421 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:17.727  3501 28421 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1151000 input port:[0]PCM_SYSTEM
12-06 11:32:17.727  3501 28421 I audio-subMixingFactory: padding_bytes 16384
12-06 11:32:17.727  3501 28421 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:32:17.727  3501 28421 I audio-subMixingFactory: padding_bytes 14336
12-06 11:32:17.727  3501 28421 I audio-subMixingFactory: padding_bytes 12288
12-06 11:32:17.727  3501 28421 I audio-subMixingFactory: padding_bytes 10240
12-06 11:32:17.737  3501 28421 I audio-subMixingFactory: padding_bytes 8192
12-06 11:32:17.745  3501 28421 I audio-subMixingFactory: padding_bytes 6144
12-06 11:32:17.753  3501 28421 I audio-subMixingFactory: padding_bytes 4096
12-06 11:32:17.770  3501 28421 I audio-subMixingFactory: padding_bytes 2048
12-06 11:32:17.972  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7380, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:32:17.972  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:32:17.975  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7380, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:32:17.975  3501  3593 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:32:17.975  3501  3593 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:32:35.161  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:32:35.161  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:32:35.161  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:32:35.530  3501 24515 D audio_hw_primary: adev_open: enter
12-06 11:32:35.530  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 11:32:35.530  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:32:35.530  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 11:32:35.531  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:32:35.531  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:32:35.531  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:32:35.532  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:32:35.532  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:32:35.532  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:32:35.532  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:32:35.532  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:32:35.532  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:32:35.532  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:32:35.532  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:32:35.532  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:32:35.532  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:32:35.532  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:32:35.533  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:32:35.533  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:32:35.533  3501 24515 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:32:35.533  3501 24515 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:32:35.533  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:32:35.541  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:32:35.544  3501 28767 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:32:35.544  3501 28767 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:35.544  3501 28767 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:32:35.544  3501 28767 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:32:35.544  3501 28767 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7a80 input port:[0]PCM_SYSTEM
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: padding_bytes 16384
12-06 11:32:35.544  3501 28767 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: padding_bytes 14336
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: padding_bytes 12288
12-06 11:32:35.544  3501 28767 I audio-subMixingFactory: padding_bytes 10240
12-06 11:32:35.554  3501 28767 I audio-subMixingFactory: padding_bytes 8192
12-06 11:32:35.561  3501 28767 I audio-subMixingFactory: padding_bytes 6144
12-06 11:32:35.569  3501 28767 I audio-subMixingFactory: padding_bytes 4096
12-06 11:32:35.585  3501 28767 I audio-subMixingFactory: padding_bytes 2048
12-06 11:32:49.860  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:32:49.860  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:32:49.860  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:32:49.860  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:32:53.505  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:32:53.505  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:32:53.505  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:32:53.505  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:32:53.505  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:32:53.505  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:32:53.506  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:32:53.506  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:32:53.507  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:32:53.507  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:32:53.507  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:32:53.507  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:32:53.507  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:32:53.507  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:32:53.507  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:32:53.508  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:32:53.528  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:32:53.563  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:32:53.563  3501  2209 I audio_hw_primary: (0xf16e7a80)set hw_sync_id 12345678,enable hw sync mode
12-06 11:32:53.563  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:32:53.581  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:32:53.582  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:32:53.582  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:32:53.582  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:32:53.582  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:32:53.582  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:32:53.586  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7a80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:32:53.586  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:32:53.929  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7a80), left:0.000000 right:0.000000 
12-06 11:32:53.934  3501 29003 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:32:53.934  3501 29003 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:32:53.934  3501 29003 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:32:53.934  3501 29003 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:32:53.934  3501 29003 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:32:53.934  3501 29003 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7a80
12-06 11:32:53.935  3501 29003 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:53.935  3501 29003 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:32:53.935  3501 29003 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:32:53.935  3501 29003 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:53.935  3501 29003 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:32:53.935  3501 29003 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:32:53.935  3501 29003 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:32:53.945  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8370, last position 0
12-06 11:32:53.945  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8370
12-06 11:32:53.953  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8370, last position 0
12-06 11:32:53.953  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8370
12-06 11:32:53.961  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8370, last position 0
12-06 11:32:53.961  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8370
12-06 11:32:53.969  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8370, last position 0
12-06 11:32:53.969  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8370
12-06 11:32:53.977  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8370, last position 0
12-06 11:32:53.977  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8370
12-06 11:32:53.985  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8370, last position 384
12-06 11:32:53.985  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8370
12-06 11:32:53.993  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8370, last position 384
12-06 11:32:53.993  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8370
12-06 11:32:54.001  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8370, last position 1408
12-06 11:32:54.001  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8370
12-06 11:32:54.009  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8370, last position 1408
12-06 11:32:54.009  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8370
12-06 11:32:54.017  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8370, last position 1408
12-06 11:32:54.017  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:32:54.541  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7a80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:32:54.541  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:32:54.542  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7a80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:32:54.542  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:32:54.545  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:32:54.545  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:32:54.545  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:32:54.545  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:32:54.545  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:32:54.545  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:32:54.545  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:32:54.553  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:32:54.553  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:32:54.553  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:32:54.553  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:32:54.553  3501  3807 D aml_audio_port: inport_reset()
12-06 11:32:54.553  3501  3807 I amlaudioMixer: [mixer_inports_read:714] input port:[1]PCM_DIRECT flushing->flushed
12-06 11:32:54.553  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2670)
12-06 11:32:54.553  3501 30241 I audio_hw_primary: patch set found id 2670, patchset 0xefd24800
12-06 11:32:54.553  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:32:54.553  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:32:54.553  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:32:54.553  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:32:54.553  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:32:54.554  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:32:54.554  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:32:54.554  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:32:54.562  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:32:54.562  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:32:54.564  3501 30241 D audio_hw_primary: out_dump(0xf16e7a80, 23)
12-06 11:32:54.567  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:32:54.567  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:32:54.570  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:32:54.570  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:32:54.570  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:32:54.570  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:32:54.570  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:32:54.570  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:32:54.594  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:32:54.594  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:32:54.594  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:32:54.594  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:32:54.594  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:32:56.810  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:32:56.810  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:32:56.810  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:32:56.989  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:32:56.989  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:32:56.989  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:32:56.990  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:32:56.991  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:32:56.992  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:32:56.992  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:32:56.992  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:32:56.992  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:32:56.992  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:32:56.993  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:32:56.993  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:32:56.993  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:32:56.993  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:32:56.993  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:32:56.993  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:32:56.993  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:32:56.993  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:32:56.993  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:32:56.993  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:32:56.993  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:32:56.993  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:32:56.993  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:32:57.004  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:32:57.008  3501 29092 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:32:57.009  3501 29092 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:32:57.010  3501 29092 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:32:57.010  3501 29092 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:32:57.010  3501 29092 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:32:57.010  3501 29092 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:57.010  3501 29092 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:32:57.013  3501 29092 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:32:57.015  3501 29092 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:32:57.015  3501 29092 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1151000 input port:[0]PCM_SYSTEM
12-06 11:32:57.015  3501 29092 I audio-subMixingFactory: padding_bytes 16384
12-06 11:32:57.015  3501 29092 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:32:57.015  3501 29092 I audio-subMixingFactory: padding_bytes 14336
12-06 11:32:57.015  3501 29092 I audio-subMixingFactory: padding_bytes 12288
12-06 11:32:57.015  3501 29092 I audio-subMixingFactory: padding_bytes 10240
12-06 11:32:57.027  3501 29092 I audio-subMixingFactory: padding_bytes 8192
12-06 11:32:57.034  3501 29092 I audio-subMixingFactory: padding_bytes 6144
12-06 11:32:57.043  3501 29092 I audio-subMixingFactory: padding_bytes 4096
12-06 11:32:57.058  3501 29092 I audio-subMixingFactory: padding_bytes 2048
12-06 11:33:00.879  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:33:00.879  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:00.879  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:00.879  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:00.886  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:00.886  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:33:00.886  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:33:00.906  3501 29131 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:00.906  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:00.906  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:00.913  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:33:00.913  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:33:01.200  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:33:01.201  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:33:01.201  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:33:01.201  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:33:01.201  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:33:01.204  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:33:01.205  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:01.205  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:01.205  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:33:01.205  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [0]PCM_NORMAL
12-06 11:33:01.205  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:33:01.205  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:33:01.205  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:01.205  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:01.205  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:01.205  3501 24515 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:33:01.205  3501 24515 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:33:01.277  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:33:01.277  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:33:01.277  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:33:01.502  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:33:01.502  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:33:01.502  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:33:01.502  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:33:01.503  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:33:01.503  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:01.504  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:01.504  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:01.504  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:01.504  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:01.504  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:01.504  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:01.504  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:01.504  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:01.504  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:01.504  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:33:01.504  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:33:01.504  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:33:01.505  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:33:01.505  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:33:01.505  3501 24515 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:33:01.505  3501 24515 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:33:01.505  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:33:01.509  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:01.510  3501 29170 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:33:01.510  3501 29170 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:33:01.510  3501 29170 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:33:01.510  3501 29170 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:01.510  3501 29170 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:33:01.510  3501 29170 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:01.510  3501 29170 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:01.511  3501 29170 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:33:01.511  3501 29170 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:01.511  3501 29170 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7a80 input port:[0]PCM_SYSTEM
12-06 11:33:01.511  3501 29170 I audio-subMixingFactory: padding_bytes 16384
12-06 11:33:01.511  3501 29170 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:01.511  3501 29170 I audio-subMixingFactory: padding_bytes 14336
12-06 11:33:01.511  3501 29170 I audio-subMixingFactory: padding_bytes 12288
12-06 11:33:01.511  3501 29170 I audio-subMixingFactory: padding_bytes 10240
12-06 11:33:01.522  3501 29170 I audio-subMixingFactory: padding_bytes 8192
12-06 11:33:01.530  3501 29170 I audio-subMixingFactory: padding_bytes 6144
12-06 11:33:01.538  3501 29170 I audio-subMixingFactory: padding_bytes 4096
12-06 11:33:01.554  3501 29170 I audio-subMixingFactory: padding_bytes 2048
12-06 11:33:03.645  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151000, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:33:03.645  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:03.646  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151000, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:03.646  3501  3593 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:33:03.646  3501  3593 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:33:03.649  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:03.649  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:03.649  3501 29092 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:03.667  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151000, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:03.667  3501  3593 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:03.673  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:33:03.673  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:33:03.825  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:33:03.825  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:33:03.825  3501  3593 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:33:03.830  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:33:03.832  3501  3593 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:33:03.832  3501  3593 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:33:03.881  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:03.881  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:03.881  3501 29170 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:03.884  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:33:03.915  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7a80, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:03.915  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:03.921  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:33:03.921  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:33:03.921  3501 29170 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:03.989  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:33:03.989  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:33:03.989  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:33:03.989  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:33:03.989  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:33:03.990  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:33:03.990  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:03.991  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:03.991  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:33:03.991  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [0]PCM_NORMAL
12-06 11:33:03.991  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:33:03.991  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:33:03.991  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:33:03.991  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:03.991  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:03.991  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:03.991  3501 10201 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:33:03.991  3501 10201 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:33:04.017  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:33:04.017  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:33:04.017  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:33:04.218  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:33:04.218  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:33:04.218  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:33:04.218  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:33:04.220  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:33:04.221  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:04.221  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:04.221  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:04.221  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:04.221  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:04.222  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:04.222  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:04.222  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:04.222  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:04.222  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:04.222  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:33:04.222  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:33:04.222  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:33:04.223  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:33:04.223  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:33:04.223  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:33:04.223  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:33:04.223  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:33:04.229  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:04.232  3501 29235 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:33:04.232  3501 29235 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:33:04.232  3501 29235 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:33:04.232  3501 29235 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:04.232  3501 29235 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:33:04.232  3501 29235 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:04.232  3501 29235 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:04.237  3501 29235 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:33:04.237  3501 29235 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:04.237  3501 29235 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e8500 input port:[0]PCM_SYSTEM
12-06 11:33:04.237  3501 29235 I audio-subMixingFactory: padding_bytes 16384
12-06 11:33:04.237  3501 29235 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:04.237  3501 29235 I audio-subMixingFactory: padding_bytes 14336
12-06 11:33:04.237  3501 29235 I audio-subMixingFactory: padding_bytes 12288
12-06 11:33:04.237  3501 29235 I audio-subMixingFactory: padding_bytes 10240
12-06 11:33:06.082  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:33:06.083  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:33:06.083  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:33:06.083  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:06.083  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:33:06.083  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:06.083  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:06.083  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:604469248
12-06 11:33:06.083  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:06.083  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:33:06.083  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:33:06.083  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:06.083  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:33:06.130  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:33:09.046  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8500, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:33:09.046  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:09.047  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8500, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:09.047  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:33:09.047  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:33:09.049  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:09.049  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:09.049  3501 29235 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:09.050  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8500, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:33:09.050  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:09.071  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:33:09.072  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:33:09.158  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:33:09.158  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:33:09.158  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:33:09.158  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:33:09.158  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:33:09.167  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:33:09.167  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:09.167  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:09.167  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 11:33:09.167  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [0]PCM_NORMAL
12-06 11:33:09.167  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:33:09.167  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:33:09.167  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:09.167  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:09.167  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:09.171  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:33:09.171  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:33:09.569  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:33:09.569  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:33:09.569  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:33:09.569  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:33:13.699  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:33:13.699  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:33:13.699  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:33:13.701  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2668)
12-06 11:33:13.701  3501 10201 I audio_hw_primary: patch set found id 2668, patchset 0xee038800
12-06 11:33:13.701  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:33:13.701  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:13.701  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:13.701  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:33:13.729  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:33:13.729  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:33:13.729  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:33:13.731  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:33:13.732  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:13.732  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.732  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:33:13.732  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:33:13.732  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:33:13.732  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.732  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.732  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:13.732  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.732  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.732  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.732  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.732  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:13.732  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:13.732  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:13.733  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:13.745  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:33:13.751  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:33:13.793  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:33:13.793  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:13.794  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:13.794  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.794  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:33:13.794  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.794  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.794  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:13.794  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.794  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.794  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.794  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.794  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:33:13.794  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:33:13.804  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:33:13.810  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8880
12-06 11:33:13.810  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.811  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:13.811  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:33:13.812  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8880
12-06 11:33:13.812  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.812  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:13.812  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:33:13.812  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8880
12-06 11:33:13.813  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.813  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:13.813  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:13.815  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 11:33:13.815  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:13.815  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.817  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8880
12-06 11:33:13.817  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.817  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:13.817  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:33:13.818  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8880
12-06 11:33:13.818  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.818  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:33:13.818  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:13.819  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:13.819  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.820  3501 10201 D audio_hw_primary: out_dump(0xf16e8880, 21)
12-06 11:33:13.822  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:13.822  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.828  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:33:13.828  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:33:13.828  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:33:13.828  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:33:13.828  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:33:13.828  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.828  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:33:13.828  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:13.828  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:33:13.828  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:13.828  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:13.828  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:13.828  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:13.829  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:33:13.829  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:33:13.829  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:13.829  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:13.829  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.829  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:33:13.829  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.829  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.829  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:13.829  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.829  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.829  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.829  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.829  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:33:13.829  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:33:13.831  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:33:13.831  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:33:13.831  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:33:13.840  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:13.842  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 11:33:13.843  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:13.845  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.862  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:33:13.862  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151e00
12-06 11:33:13.862  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:13.862  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.862  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.862  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.863  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:13.863  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.863  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.863  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.863  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.863  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:13.863  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:33:13.863  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:33:13.865  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:13.872  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1151e00), left:0.000000 right:0.000000 
12-06 11:33:13.876  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:13.876  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.877  3501  2209 D audio_hw_primary: out_dump(0xf16e7a80, 24)
12-06 11:33:13.881  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:13.881  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.884  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:13.884  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:13.884  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:13.884  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:13.884  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:33:13.884  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:33:13.884  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:13.884  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:13.884  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:13.885  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:13.885  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.886  3501 30241 D audio_hw_primary: out_dump(0xf1153a00, 19)
12-06 11:33:13.891  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:13.891  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.892  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:33:13.892  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:33:13.892  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:13.892  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:33:13.892  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:33:13.892  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.892  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:33:13.892  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:13.892  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:13.892  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:13.892  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:13.892  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:13.892  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:13.893  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:13.893  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.899  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:33:13.899  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:13.899  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:13.900  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:33:13.900  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:13.900  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:33:13.904  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:13.908  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:33:13.908  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:33:13.908  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:13.908  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:13.908  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:13.908  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151e00
12-06 11:33:13.908  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:13.908  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:13.908  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:33:13.908  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:33:13.908  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:33:13.912  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:33:13.912  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:33:13.912  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:33:13.915  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:33:13.915  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:13.915  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.915  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:33:13.915  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:33:13.915  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:33:13.915  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.915  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.916  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:13.916  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.916  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.916  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.916  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.916  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:13.916  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:13.916  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:13.916  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:13.917  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:33:13.920  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:33:13.944  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:33:13.944  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:13.944  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:13.944  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.944  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:33:13.944  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.944  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.945  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:13.945  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.945  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.945  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.945  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.945  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:33:13.945  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:33:13.955  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:33:13.957  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153a00
12-06 11:33:13.957  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.957  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:13.958  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:33:13.959  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153a00
12-06 11:33:13.959  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.959  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:13.959  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:33:13.960  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153a00
12-06 11:33:13.960  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.960  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:13.960  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:13.963  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153a00
12-06 11:33:13.963  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.963  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:13.963  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:33:13.964  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153a00
12-06 11:33:13.964  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:13.964  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:13.964  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:13.964  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 11:33:13.965  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:13.965  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.967  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:13.967  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.968  3501 30241 D audio_hw_primary: out_dump(0xf1153a00, 21)
12-06 11:33:13.970  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:13.970  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:13.977  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:33:13.977  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:33:13.977  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:13.977  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:33:13.977  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:33:13.977  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.977  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:33:13.977  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:33:13.977  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:13.977  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:33:13.977  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:13.977  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:13.977  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:13.977  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:13.977  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:13.978  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:13.978  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:33:13.978  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:13.978  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:33:13.978  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:13.978  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:13.978  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:13.978  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:13.978  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:13.978  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:13.978  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:13.978  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:33:13.978  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:33:13.980  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:33:13.980  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:33:13.980  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:33:13.988  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7a80),out 0xf16e7a80
12-06 11:33:13.988  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:13.988  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:13.992  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.020  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:33:14.020  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 11:33:14.020  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:14.020  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.020  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.020  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.020  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.020  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.020  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.020  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.020  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.020  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.020  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:33:14.020  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:33:14.022  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:14.031  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.000000 right:0.000000 
12-06 11:33:14.039  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.040  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.042  3501 30241 D audio_hw_primary: out_dump(0xf1151e00, 24)
12-06 11:33:14.048  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.048  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.050  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:14.050  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.050  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.050  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:14.050  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:33:14.050  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:33:14.050  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.050  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.050  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.051  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.051  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.054  3501 30241 D audio_hw_primary: out_dump(0xf16e7a80, 19)
12-06 11:33:14.059  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.059  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.062  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:33:14.062  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:33:14.062  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.062  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:33:14.062  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:33:14.062  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.062  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:33:14.062  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.062  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.062  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.062  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.062  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.062  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.062  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.062  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.072  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.073  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:33:14.074  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.074  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.074  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:33:14.074  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.074  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:33:14.078  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:33:14.078  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:33:14.078  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.078  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.078  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.078  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 11:33:14.078  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.078  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.083  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:33:14.083  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:33:14.083  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:33:14.088  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:33:14.088  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:33:14.088  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:33:14.088  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:33:14.088  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:14.088  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.088  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:33:14.088  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:33:14.088  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:33:14.088  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.088  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.088  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:14.089  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.089  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.089  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.089  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.089  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.089  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:14.089  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:14.089  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:14.090  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:33:14.092  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:33:14.107  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:33:14.107  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:14.107  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:14.107  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.107  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:33:14.107  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.107  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.107  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:14.107  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.107  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.107  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.107  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.107  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:33:14.107  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:33:14.114  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:33:14.120  3501 30241 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:33:14.120  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:14.120  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.121  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1151e00
12-06 11:33:14.121  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.121  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:14.121  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:33:14.122  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1151e00
12-06 11:33:14.122  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.122  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:14.122  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:33:14.122  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1151e00
12-06 11:33:14.122  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.123  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:14.123  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:14.123  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1151e00
12-06 11:33:14.123  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.123  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:14.123  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:33:14.124  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1151e00
12-06 11:33:14.124  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.124  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:14.124  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:14.126  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.126  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.127  3501 30241 D audio_hw_primary: out_dump(0xf1151e00, 21)
12-06 11:33:14.131  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.131  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.138  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:33:14.138  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:33:14.138  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.138  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:33:14.138  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:33:14.138  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.138  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:33:14.138  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.138  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.138  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.138  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.138  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.138  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.138  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:33:14.138  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:33:14.138  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:14.139  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:14.139  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.139  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:33:14.139  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.139  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.139  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.139  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.139  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.139  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.139  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.139  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:33:14.139  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:33:14.141  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:33:14.141  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:33:14.141  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:33:14.147  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 11:33:14.147  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:14.147  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.152  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.178  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:33:14.178  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 11:33:14.179  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:14.179  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.179  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.179  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.179  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.179  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.179  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.179  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.179  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.179  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.179  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:33:14.179  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:33:14.181  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:14.192  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:33:14.196  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.000000 right:0.000000 
12-06 11:33:14.243  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.243  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.244  3501  2209 D audio_hw_primary: out_dump(0xf16e7a80, 24)
12-06 11:33:14.248  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.248  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.250  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:14.250  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.251  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.251  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:14.251  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:33:14.251  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:33:14.251  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.251  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.251  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.253  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.253  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.265  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 11:33:14.269  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.269  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.275  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:33:14.275  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:33:14.275  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.275  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:33:14.275  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:33:14.275  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.275  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:33:14.275  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.275  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.275  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.275  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.275  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.275  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.280  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.280  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.281  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.284  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:33:14.284  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.284  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.284  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:33:14.284  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.284  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:33:14.284  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:33:14.284  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:33:14.284  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.284  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.284  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.284  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152500
12-06 11:33:14.284  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.284  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.296  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:33:14.296  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:33:14.296  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:33:14.308  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:33:14.309  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:33:14.309  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:33:14.309  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:33:14.310  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:14.310  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.310  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:33:14.310  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:33:14.310  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:33:14.310  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.310  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.311  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.311  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.311  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.311  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.311  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.311  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.311  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:14.311  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:14.311  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:14.312  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:33:14.319  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:33:14.362  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:33:14.362  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:14.362  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:14.362  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.362  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:33:14.362  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.363  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.363  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.363  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.363  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.363  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.363  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.363  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:33:14.363  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:33:14.371  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:33:14.373  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7e00
12-06 11:33:14.373  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.374  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.375  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:33:14.376  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7e00
12-06 11:33:14.376  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.376  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:14.376  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:33:14.376  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7e00
12-06 11:33:14.376  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.377  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:33:14.377  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:14.389  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 11:33:14.389  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:14.389  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.392  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7e00
12-06 11:33:14.392  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.393  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:14.393  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:33:14.393  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7e00
12-06 11:33:14.393  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.394  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:14.394  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:14.396  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.396  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.398  3501 30241 D audio_hw_primary: out_dump(0xf16e7e00, 21)
12-06 11:33:14.403  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.403  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.417  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:33:14.417  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:33:14.417  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.417  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:33:14.417  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:33:14.417  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.417  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:33:14.417  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.417  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.417  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.417  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.417  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.417  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.418  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:33:14.419  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:33:14.419  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:14.419  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:14.420  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.420  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:33:14.420  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.420  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.420  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:14.420  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.420  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.420  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.420  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.420  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:33:14.420  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:33:14.422  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:33:14.422  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:33:14.422  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:33:14.432  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 11:33:14.432  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:14.432  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.435  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.447  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:33:14.447  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 11:33:14.448  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:14.448  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.448  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.448  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.449  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:14.449  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.449  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.449  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.449  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.449  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.449  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:33:14.449  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:33:14.453  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:14.463  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.000000 right:0.000000 
12-06 11:33:14.473  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.473  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.475  3501 30241 D audio_hw_primary: out_dump(0xf1152500, 24)
12-06 11:33:14.482  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.482  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.487  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:14.487  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.487  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.487  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:14.487  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:33:14.488  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:33:14.488  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.488  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.488  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.489  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.489  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.492  3501 30241 D audio_hw_primary: out_dump(0xf16e8880, 19)
12-06 11:33:14.499  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.499  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.501  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:33:14.501  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:33:14.501  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.501  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:33:14.501  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:33:14.501  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.501  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:33:14.501  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.501  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.501  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.501  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.501  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.501  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.503  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.503  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.505  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.507  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:33:14.508  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.508  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.508  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:33:14.508  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.508  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:33:14.516  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:33:14.516  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:33:14.516  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.516  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.517  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.517  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 11:33:14.517  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.517  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.520  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:33:14.520  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:33:14.520  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:33:14.534  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:33:14.534  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:33:14.534  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:33:14.535  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:33:14.535  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:14.536  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.536  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:33:14.536  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:33:14.536  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:33:14.536  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.536  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.536  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:14.536  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.536  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.536  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.536  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.536  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.536  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:14.536  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:14.536  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:14.540  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:33:14.544  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:33:14.567  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:33:14.567  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:14.567  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:14.567  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.567  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:33:14.567  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.567  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.567  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:14.567  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.567  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.567  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.568  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.568  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:33:14.568  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:33:14.575  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:33:14.580  3501 10201 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7700
12-06 11:33:14.580  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.581  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:14.581  3501 10201 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:33:14.581  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7700
12-06 11:33:14.581  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.582  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:14.582  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:33:14.582  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7700
12-06 11:33:14.582  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.582  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:33:14.582  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:14.583  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 11:33:14.583  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:14.583  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.585  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7700
12-06 11:33:14.585  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.585  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:14.585  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:33:14.585  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7700
12-06 11:33:14.585  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:14.586  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:33:14.586  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:14.588  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.588  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.589  3501 10201 D audio_hw_primary: out_dump(0xf16e7700, 21)
12-06 11:33:14.591  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.591  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.597  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:33:14.597  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:33:14.597  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:14.598  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:33:14.598  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.598  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:33:14.598  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.598  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.598  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:14.598  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.598  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.598  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.598  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.598  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:33:14.598  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:33:14.598  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:33:14.598  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:33:14.598  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.598  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:33:14.598  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:33:14.598  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.599  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:33:14.599  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.599  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.599  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.599  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.599  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.599  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.600  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:33:14.600  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:33:14.600  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:33:14.607  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 11:33:14.607  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:14.607  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.608  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.649  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:33:14.649  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7a80
12-06 11:33:14.649  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:14.649  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.649  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.649  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.649  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:14.650  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.650  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.650  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.650  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.650  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.650  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:33:14.650  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:33:14.652  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:14.657  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7a80), left:0.000000 right:0.000000 
12-06 11:33:14.663  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.663  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.664  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 24)
12-06 11:33:14.667  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.667  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.668  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:14.668  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.668  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.668  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:14.668  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:33:14.668  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:33:14.668  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.668  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.668  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.670  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.670  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.672  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 19)
12-06 11:33:14.673  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:14.673  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.675  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:33:14.675  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:33:14.675  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.675  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:33:14.676  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:33:14.676  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:14.676  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:33:14.676  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.676  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.676  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:14.676  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.676  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.676  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.676  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:14.676  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:14.678  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:33:14.678  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:14.678  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:14.678  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:33:14.678  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:14.678  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:33:14.678  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:33:14.678  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:33:14.678  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:33:14.678  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:14.678  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:14.678  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7a80
12-06 11:33:14.678  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:14.678  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:14.688  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:14.691  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:33:14.691  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:14.691  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:14.691  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:33:14.691  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:14.691  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:14.691  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:14.692  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:14.692  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:33:14.692  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:14.692  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:14.692  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:14.692  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:14.692  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:14.692  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:14.694  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:14.702  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:33:14.723  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:33:14.723  3501 30241 I audio_hw_primary: (0xf16e7700)set hw_sync_id 12345678,enable hw sync mode
12-06 11:33:14.723  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:33:14.742  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:14.742  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:14.742  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:14.742  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:33:14.742  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:14.742  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:14.745  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:14.745  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:33:14.979  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.000000 right:0.000000 
12-06 11:33:14.981  3501 29494 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:33:14.981  3501 29494 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:33:14.981  3501 29494 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:33:14.981  3501 29494 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:33:14.981  3501 29494 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:33:14.981  3501 29494 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7700
12-06 11:33:14.982  3501 29494 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:14.982  3501 29494 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:14.982  3501 29494 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:33:14.982  3501 29494 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:14.982  3501 29494 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:33:15.084  3501 29494 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:33:15.084  3501 29494 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:33:15.097  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2520, latency 7290, last position 0
12-06 11:33:15.097  3501  3807 I audio_hwsync_cbks: pts32 = 28 latency=7290
12-06 11:33:15.105  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3240, latency 7290, last position 0
12-06 11:33:15.105  3501  3807 I audio_hwsync_cbks: pts32 = 36 latency=7290
12-06 11:33:15.113  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3960, latency 7290, last position 0
12-06 11:33:15.113  3501  3807 I audio_hwsync_cbks: pts32 = 44 latency=7290
12-06 11:33:15.121  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4680, latency 7290, last position 0
12-06 11:33:15.121  3501  3807 I audio_hwsync_cbks: pts32 = 52 latency=7290
12-06 11:33:15.129  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5400, latency 7290, last position 704
12-06 11:33:15.129  3501  3807 I audio_hwsync_cbks: pts32 = 60 latency=7290
12-06 11:33:15.137  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6210, latency 7290, last position 704
12-06 11:33:15.137  3501  3807 I audio_hwsync_cbks: pts32 = 69 latency=7290
12-06 11:33:15.145  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6930, latency 7290, last position 704
12-06 11:33:15.145  3501  3807 I audio_hwsync_cbks: pts32 = 77 latency=7290
12-06 11:33:15.153  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7560, latency 7290, last position 1728
12-06 11:33:15.153  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:33:15.977  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:15.978  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:15.978  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:15.978  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:33:15.978  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:15.979  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:33:15.983  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:33:15.983  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:15.983  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:15.983  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:604633088
12-06 11:33:15.983  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:33:15.983  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:33:15.983  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:33:15.987  3501 29494 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:33:15.987  3501 29494 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:33:15.987  3501 29494 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:33:15.993  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:33:16.002  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:33:16.010  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:33:16.025  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:33:16.370  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:16.370  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:16.370  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:33:16.370  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:16.377  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:33:16.377  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:33:16.377  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:16.377  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:16.377  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:33:16.377  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:33:16.378  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:33:16.383  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2671)
12-06 11:33:16.383  3501  2209 I audio_hw_primary: patch set found id 2671, patchset 0xefd24800
12-06 11:33:16.383  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:33:16.383  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:16.383  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:16.383  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:33:16.385  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:33:16.385  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:33:16.385  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:33:16.385  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:33:16.385  3501  3807 D aml_audio_port: inport_reset()
12-06 11:33:16.385  3501  3807 I amlaudioMixer: [mixer_inports_read:714] input port:[1]PCM_DIRECT flushing->flushed
12-06 11:33:16.386  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:33:16.386  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:33:16.386  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:33:16.386  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:33:16.391  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:16.391  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:16.393  3501 30241 D audio_hw_primary: out_dump(0xf16e7700, 23)
12-06 11:33:16.394  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:16.394  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:16.397  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:16.397  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:16.397  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:16.397  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:16.397  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:33:16.398  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:33:16.398  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:33:16.398  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:33:16.398  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:33:16.398  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:16.398  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:33:16.398  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:16.398  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:16.398  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:16.761  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:33:16.761  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:33:16.761  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 11:33:16.772  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:16.772  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:16.772  3501  2209 I audio_hw_primary: patch found mix->dev id 2672, patchset 0xefd21000
12-06 11:33:16.772  3501  2209 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:33:16.772  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:16.772  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:16.772  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:16.772  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:33:16.772  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:16.772  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:17.777  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:33:17.777  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:33:17.777  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:33:17.793  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2673)
12-06 11:33:17.793  3501 30241 I audio_hw_primary: patch set found id 2673, patchset 0xefd24800
12-06 11:33:17.793  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:33:17.793  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:17.793  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:17.793  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:33:17.809  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:33:17.809  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:33:17.809  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:33:17.810  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:33:17.810  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:17.810  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:17.810  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:33:17.810  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:33:17.810  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:33:17.810  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:17.810  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:17.810  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:17.810  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:17.811  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:17.811  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:17.811  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:17.811  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:17.811  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:17.811  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:17.811  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:17.812  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:33:17.816  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:33:17.834  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:33:17.834  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:17.834  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:17.834  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:17.834  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:33:17.834  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:17.834  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:17.835  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:17.835  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:17.835  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:17.835  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:17.835  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:17.835  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:33:17.835  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:33:17.843  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:33:17.845  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8880
12-06 11:33:17.845  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:17.845  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:17.847  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:33:17.848  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8880
12-06 11:33:17.848  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:17.849  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:33:17.849  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:33:17.849  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8880
12-06 11:33:17.849  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:33:17.850  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:33:17.850  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:33:17.851  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:17.851  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.852  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 11:33:17.852  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:17.852  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:17.853  3501 30241 D audio_hw_primary: out_dump(0xf16e8880, 21)
12-06 11:33:17.854  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:17.854  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.860  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:33:17.860  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:33:17.860  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:33:17.860  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:33:17.860  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:33:17.860  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:17.860  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:33:17.860  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:33:17.860  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:33:17.860  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:33:17.860  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:17.860  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:33:17.860  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:33:17.860  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:17.860  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:17.860  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:17.861  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:33:17.861  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:17.861  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:33:17.861  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:17.861  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:17.861  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:17.861  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:17.861  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:17.861  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:17.861  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:17.861  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:33:17.861  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:33:17.872  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:17.873  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:33:17.874  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:33:17.874  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:33:17.880  3501 10201 I audio_hw_primary: out_standby_direct(0xf1153680),out 0xf1153680
12-06 11:33:17.881  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:33:17.881  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:17.898  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:33:17.898  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153d80
12-06 11:33:17.899  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:33:17.899  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:17.899  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:17.899  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:17.899  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:33:17.899  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:17.899  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:17.899  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:17.899  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:17.899  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:17.899  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:33:17.899  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:33:17.901  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:17.907  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1153d80), left:0.000000 right:0.000000 
12-06 11:33:17.913  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:17.913  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.914  3501 10201 D audio_hw_primary: out_dump(0xf16e7a80, 24)
12-06 11:33:17.917  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:17.918  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.919  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:17.919  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:17.919  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:17.919  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:17.919  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:33:17.919  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:33:17.919  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:17.919  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:17.919  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:17.920  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:17.920  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.921  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 19)
12-06 11:33:17.923  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:17.923  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.924  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:33:17.924  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:33:17.924  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:17.924  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:33:17.924  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:33:17.924  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:33:17.924  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:33:17.924  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:33:17.924  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:17.924  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:33:17.924  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:17.924  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:17.924  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:17.925  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:17.925  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:17.928  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:33:17.928  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:17.928  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:17.928  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:33:17.928  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:33:17.928  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:33:17.928  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:33:17.928  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:33:17.928  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:33:17.928  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:33:17.928  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:17.928  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153d80
12-06 11:33:17.928  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:17.928  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:17.936  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:33:20.672  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:33:20.672  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:33:20.672  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:33:20.672  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:33:21.835  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:33:22.272  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:33:22.273  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:22.273  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:22.273  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:33:22.273  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:22.273  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:22.273  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:22.273  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:22.273  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:22.273  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:22.273  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:22.273  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:22.273  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:22.274  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:22.274  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:22.280  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:22.284  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:22.316  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:33:22.316  3501 10201 I audio_hw_primary: (0xf1153d80)set hw_sync_id 12345678,enable hw sync mode
12-06 11:33:22.316  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:33:22.324  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:22.324  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:22.324  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:22.324  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:33:22.324  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:22.324  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:22.330  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:22.330  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:33:22.672  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153d80), left:0.000000 right:0.000000 
12-06 11:33:22.674  3501 29664 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:33:22.674  3501 29664 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:33:22.674  3501 29664 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:33:22.674  3501 29664 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:33:22.674  3501 29664 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:33:22.674  3501 29664 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153d80
12-06 11:33:22.678  3501 29664 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:22.678  3501 29664 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:22.678  3501 29664 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:33:22.678  3501 29664 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:22.678  3501 29664 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:33:22.678  3501 29664 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:33:22.678  3501 29664 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:33:22.689  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 11:33:22.689  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 11:33:22.697  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 11:33:22.697  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 11:33:22.705  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 11:33:22.705  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 11:33:22.713  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 11:33:22.713  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 11:33:22.721  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 832
12-06 11:33:22.721  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 11:33:22.729  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 832
12-06 11:33:22.729  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 11:33:22.737  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 832
12-06 11:33:22.737  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 11:33:22.745  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1856
12-06 11:33:22.745  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 11:33:22.753  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1856
12-06 11:33:22.753  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 11:33:25.661  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:25.661  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:25.661  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:33:25.661  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:25.665  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:33:25.665  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:33:25.665  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:25.665  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:25.665  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:33:25.665  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:33:25.665  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:33:25.668  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2674)
12-06 11:33:25.668  3501  2209 I audio_hw_primary: patch set found id 2674, patchset 0xefd21000
12-06 11:33:25.668  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:33:25.669  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:25.669  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:25.669  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:33:25.669  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:25.669  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:33:25.669  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:33:25.669  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:33:25.669  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:33:25.675  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:25.675  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:25.677  3501 30241 D audio_hw_primary: out_dump(0xf1153d80, 23)
12-06 11:33:25.893  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:25.893  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:25.899  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:25.899  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:25.899  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:25.899  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:25.899  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:33:25.900  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:33:25.908  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:33:25.908  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:25.908  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:25.908  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:25.908  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:35.239  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:33:35.560  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:33:35.560  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:35.560  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:35.560  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:33:35.560  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:35.560  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:35.561  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:35.561  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:35.561  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:35.561  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:35.561  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:35.561  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:35.561  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:35.561  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:35.561  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:35.567  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:35.575  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:35.621  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:33:35.621  3501  2209 I audio_hw_primary: (0xf1153d80)set hw_sync_id 12345678,enable hw sync mode
12-06 11:33:35.621  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:33:35.635  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:35.635  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:35.635  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:35.635  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:33:35.635  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:35.635  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:35.639  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:35.639  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:33:35.854  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153d80), left:0.000000 right:0.000000 
12-06 11:33:35.856  3501 29829 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:33:35.856  3501 29829 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:33:35.856  3501 29829 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:33:35.856  3501 29829 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:33:35.856  3501 29829 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:33:35.857  3501 29829 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153d80
12-06 11:33:35.857  3501 29829 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:35.857  3501 29829 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:35.857  3501 29829 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:33:35.857  3501 29829 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:35.857  3501 29829 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:33:35.963  3501 29829 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:33:35.963  3501 29829 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:33:35.977  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 11:33:35.977  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 11:33:35.985  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 11:33:35.985  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 11:33:35.993  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3600, latency 7290, last position 0
12-06 11:33:35.993  3501  3807 I audio_hwsync_cbks: pts32 = 40 latency=7290
12-06 11:33:36.001  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4320, latency 7290, last position 0
12-06 11:33:36.001  3501  3807 I audio_hwsync_cbks: pts32 = 48 latency=7290
12-06 11:33:36.009  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5040, latency 7290, last position 640
12-06 11:33:36.009  3501  3807 I audio_hwsync_cbks: pts32 = 56 latency=7290
12-06 11:33:36.017  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5850, latency 7290, last position 640
12-06 11:33:36.017  3501  3807 I audio_hwsync_cbks: pts32 = 65 latency=7290
12-06 11:33:36.025  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6570, latency 7290, last position 640
12-06 11:33:36.025  3501  3807 I audio_hwsync_cbks: pts32 = 73 latency=7290
12-06 11:33:36.033  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1664
12-06 11:33:36.033  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 11:33:36.041  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1664
12-06 11:33:36.041  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 11:33:36.955  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:36.955  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:36.956  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:33:36.956  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:36.961  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:33:36.961  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:33:36.961  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:36.961  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:36.961  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:33:36.961  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:33:36.961  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:33:36.966  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2675)
12-06 11:33:36.966  3501  2209 I audio_hw_primary: patch set found id 2675, patchset 0xefd24800
12-06 11:33:36.966  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:33:36.966  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:36.966  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:36.966  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:33:36.967  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:36.967  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:33:36.967  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:33:36.967  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:33:36.967  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:33:36.970  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:36.970  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:36.972  3501  2209 D audio_hw_primary: out_dump(0xf1153d80, 23)
12-06 11:33:37.172  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:37.172  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:37.174  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:37.175  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:37.175  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:37.175  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:37.175  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:33:37.175  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:33:37.184  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:33:37.184  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:37.184  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:37.184  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:37.184  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:38.810  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:38.810  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:38.810  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:38.810  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:33:38.810  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:38.810  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:38.815  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:33:38.815  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:33:38.815  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:33:38.815  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:38.815  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:33:38.815  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:38.815  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:38.815  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:604854272
12-06 11:33:38.815  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:38.815  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:33:38.815  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:33:38.815  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:38.816  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:33:38.816  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:33:38.816  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:33:38.826  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:33:38.833  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:33:38.842  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:33:38.858  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:33:41.845  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:33:41.959  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:33:41.959  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:33:41.959  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:33:41.959  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:33:42.373  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:33:42.373  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:42.373  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:42.374  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:33:42.374  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:42.374  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:42.374  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:33:42.374  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:42.374  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:42.374  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:42.374  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:42.374  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:42.374  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:33:42.374  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:33:42.374  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:33:42.376  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:42.387  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:42.411  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:33:42.411  3501 30241 I audio_hw_primary: (0xf1153d80)set hw_sync_id 12345678,enable hw sync mode
12-06 11:33:42.411  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:33:42.418  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:33:42.418  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:33:42.418  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:33:42.418  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:33:42.418  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:33:42.418  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:33:42.422  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:42.422  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:33:42.766  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1153d80), left:0.000000 right:0.000000 
12-06 11:33:42.779  3501 29931 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:33:42.779  3501 29931 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:33:42.779  3501 29931 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:33:42.779  3501 29931 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:33:42.780  3501 29931 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:33:42.780  3501 29931 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153d80
12-06 11:33:42.780  3501 29931 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:42.780  3501 29931 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:42.780  3501 29931 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:33:42.780  3501 29931 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:42.780  3501 29931 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:33:42.780  3501 29931 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:33:42.780  3501 29931 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:33:42.793  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 11:33:42.793  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 11:33:42.801  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 11:33:42.801  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 11:33:42.809  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 11:33:42.809  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 11:33:42.817  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 11:33:42.817  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 11:33:42.825  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 704
12-06 11:33:42.825  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 11:33:42.833  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 704
12-06 11:33:42.833  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 11:33:42.841  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 704
12-06 11:33:42.841  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 11:33:42.849  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1664
12-06 11:33:42.849  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 11:33:42.857  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1664
12-06 11:33:42.857  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 11:33:43.219  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:33:43.219  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:33:43.219  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:33:43.220  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:33:43.225  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:33:43.225  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:33:43.225  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:33:43.225  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:33:43.225  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:33:43.225  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:33:43.225  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:33:43.231  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2677)
12-06 11:33:43.231  3501  2209 I audio_hw_primary: patch set found id 2677, patchset 0xefd26400
12-06 11:33:43.231  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:33:43.231  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:33:43.231  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:33:43.231  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:33:43.232  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:43.232  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:33:43.232  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:33:43.232  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:33:43.232  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:33:43.235  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:33:43.235  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:43.238  3501  2209 D audio_hw_primary: out_dump(0xf1153d80, 23)
12-06 11:33:43.247  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:33:43.248  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:33:43.251  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:33:43.251  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:33:43.251  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:33:43.251  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:33:43.251  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:33:43.252  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:33:43.252  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:33:43.252  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:33:43.252  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:33:43.252  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:33:43.252  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:33:52.788  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:33:52.788  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:33:52.788  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:33:53.096  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:33:53.096  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:33:53.096  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:33:53.096  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:33:53.097  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:33:53.097  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:33:53.097  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:33:53.097  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:33:53.097  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:33:53.097  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:33:53.097  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:33:53.097  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:33:53.098  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:33:53.098  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:33:53.098  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:33:53.098  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:33:53.098  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:33:53.098  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:33:53.098  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:33:53.099  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:33:53.099  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:33:53.099  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:33:53.099  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:33:53.134  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:33:53.138  3501 30106 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:33:53.138  3501 30106 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:53.138  3501 30106 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:33:53.138  3501 30106 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:33:53.138  3501 30106 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e8880 input port:[0]PCM_SYSTEM
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: padding_bytes 16384
12-06 11:33:53.138  3501 30106 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: padding_bytes 14336
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: padding_bytes 12288
12-06 11:33:53.138  3501 30106 I audio-subMixingFactory: padding_bytes 10240
12-06 11:33:53.153  3501 30106 I audio-subMixingFactory: padding_bytes 8192
12-06 11:33:53.162  3501 30106 I audio-subMixingFactory: padding_bytes 6144
12-06 11:33:53.170  3501 30106 I audio-subMixingFactory: padding_bytes 4096
12-06 11:33:53.186  3501 30106 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:02.471  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:02.471  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:34:02.471  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:34:02.471  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:02.471  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:02.471  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:02.471  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:02.471  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:605001728
12-06 11:34:02.471  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:02.472  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:34:02.472  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:02.472  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:02.472  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:02.472  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:02.472  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:02.482  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:02.490  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:02.500  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:02.514  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:15.859  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:34:15.859  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:34:15.860  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:34:15.860  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:34:15.864  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:34:15.864  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:34:15.864  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:34:15.864  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:34:15.864  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:34:15.865  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:34:15.865  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:34:15.865  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:34:15.865  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:34:15.865  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:34:15.865  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:34:15.866  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:34:15.866  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:34:15.866  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:34:15.867  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:34:15.867  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:34:15.867  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:34:15.867  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:34:15.867  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:34:15.872  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:34:15.876  3501 30422 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:15.876  3501 30422 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:34:15.876  3501 30422 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:34:15.876  3501 30422 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:15.876  3501 30422 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:15.876  3501 30422 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:15.876  3501 30422 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:15.876  3501 30422 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:34:15.876  3501 30422 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:15.876  3501 30422 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1153d80 input port:[0]PCM_SYSTEM
12-06 11:34:15.877  3501 30422 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:15.877  3501 30422 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:15.877  3501 30422 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:15.877  3501 30422 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:15.877  3501 30422 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:15.889  3501 30422 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:15.897  3501 30422 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:15.906  3501 30422 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:15.923  3501 30422 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:20.121  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:34:20.121  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:34:20.121  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:34:20.121  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:34:20.121  3501 30422 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:20.125  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:34:20.125  3501 10201 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:34:20.125  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:34:20.147  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153d80, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:34:20.147  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:34:20.153  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:34:20.153  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:34:20.326  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:34:20.326  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:34:20.326  3501 10201 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:34:20.326  3501 10201 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:34:20.326  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:34:20.344  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:34:20.344  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:34:20.344  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:34:20.344  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:34:20.344  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [0]PCM_NORMAL
12-06 11:34:20.344  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:34:20.344  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:34:20.344  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:34:20.344  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:34:20.345  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:34:20.345  3501 10201 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:34:20.345  3501 10201 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:34:20.756  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:20.756  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:34:20.756  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:20.757  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:20.757  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:20.757  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:605143040
12-06 11:34:20.757  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:20.757  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:20.757  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:20.770  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:20.778  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:20.786  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:20.802  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:21.888  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8880, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:34:21.888  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:34:21.889  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:34:21.889  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:34:21.889  3501 30341 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:21.899  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:34:21.899  3501 10201 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:34:21.899  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:34:21.899  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:34:21.899  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:34:21.905  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:34:21.905  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:34:22.764  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:34:22.764  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:34:22.764  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:34:22.989  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:34:22.989  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:34:22.989  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:34:22.989  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:34:22.992  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:34:22.992  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:34:22.992  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:34:22.992  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:34:22.992  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:34:22.993  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:34:22.993  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:34:22.993  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:34:22.993  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:34:22.993  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:34:22.993  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:34:22.993  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:34:22.993  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:34:22.993  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:34:22.994  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:34:22.994  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:34:22.994  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:34:22.994  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:34:22.994  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:34:23.000  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:34:23.005  3501 30574 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:23.005  3501 30574 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:34:23.005  3501 30574 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:34:23.005  3501 30574 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:23.005  3501 30574 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:23.005  3501 30574 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:23.005  3501 30574 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:1, format:0x1, rate:48000
12-06 11:34:23.005  3501 30574 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:34:23.005  3501 30574 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:23.006  3501 30574 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7700 input port:[0]PCM_SYSTEM
12-06 11:34:23.006  3501 30574 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:23.006  3501 30574 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:23.006  3501 30574 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:23.006  3501 30574 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:23.006  3501 30574 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:23.018  3501 30574 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:23.026  3501 30574 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:23.034  3501 30574 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:23.049  3501 30574 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:23.775  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:34:23.775  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:34:23.775  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:34:26.126  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:34:26.126  3501 10201 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:34:26.126  3501 10201 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:34:26.300  3501 10201 D audio_hw_primary: adev_open: enter
12-06 11:34:26.300  3501 10201 I audio_hw_primary: adev exsits ,reuse
12-06 11:34:26.300  3501 10201 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:34:26.300  3501 10201 D audio_hw_primary: adev_open: exit, error
12-06 11:34:26.301  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:34:26.302  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:34:26.302  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:34:26.302  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:34:26.302  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:34:26.302  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:34:26.302  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:34:26.302  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:34:26.302  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:34:26.302  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:34:26.302  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:34:26.302  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:34:26.302  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:34:26.302  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:34:26.303  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:34:26.303  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:34:26.303  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:34:26.303  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:34:26.303  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:34:26.309  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:26.312  3501 30611 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:26.312  3501 30611 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:26.312  3501 30611 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:26.312  3501 30611 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:34:26.312  3501 30611 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1152500 input port:[0]PCM_SYSTEM
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:26.312  3501 30611 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:26.312  3501 30611 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:26.322  3501 30611 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:26.329  3501 30611 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:26.338  3501 30611 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:26.358  3501 30611 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:30.259  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:34:30.259  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:34:30.259  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:34:30.259  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:34:30.259  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:34:30.264  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:34:30.264  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:34:30.264  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:34:30.264  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:34:30.264  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [0]PCM_NORMAL
12-06 11:34:30.264  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:34:30.264  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:34:30.264  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:34:30.264  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:34:30.264  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:34:30.264  3501  2209 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:34:30.264  3501  2209 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:34:36.634  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:36.635  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:36.635  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:36.635  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:36.635  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:605282304
12-06 11:34:36.635  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:36.635  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:36.635  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:36.650  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:36.658  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:36.665  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:36.682  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:39.639  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:34:39.640  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:34:39.640  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:34:39.640  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:34:40.093  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:34:40.093  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:40.093  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:40.093  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:605421568
12-06 11:34:40.093  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:34:40.093  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:34:40.093  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:34:40.094  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:34:40.094  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:34:40.106  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:34:40.114  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:34:40.122  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:34:40.137  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:34:43.191  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:34:43.268  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:34:43.268  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:34:43.268  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:34:43.268  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:34:43.613  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:34:43.613  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:34:43.613  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:34:43.613  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:34:43.613  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:34:43.613  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:34:43.614  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:34:43.614  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:34:43.614  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:34:43.614  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:34:43.614  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:34:43.614  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:34:43.614  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:34:43.614  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:34:43.614  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:34:43.616  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:34:43.620  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:34:43.660  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:34:43.660  3501  2209 I audio_hw_primary: (0xf1151e00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:34:43.660  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:34:43.671  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:34:43.671  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:34:43.671  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:34:43.671  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:34:43.671  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:34:43.671  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:34:43.675  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151e00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:34:43.675  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:34:44.063  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1151e00), left:0.000000 right:0.000000 
12-06 11:34:44.066  3501 30832 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:34:44.066  3501 30832 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:34:44.066  3501 30832 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:34:44.066  3501 30832 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:34:44.066  3501 30832 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:34:44.066  3501 30832 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1151e00
12-06 11:34:44.077  3501 30832 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:44.077  3501 30832 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:34:44.077  3501 30832 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:34:44.077  3501 30832 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:34:44.077  3501 30832 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:34:44.077  3501 30832 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:34:44.077  3501 30832 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:34:44.089  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 9000, last position 0
12-06 11:34:44.089  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=9000
12-06 11:34:44.097  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 9000, last position 0
12-06 11:34:44.097  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=9000
12-06 11:34:44.105  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 9000, last position 0
12-06 11:34:44.105  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=9000
12-06 11:34:44.113  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 9000, last position 0
12-06 11:34:44.113  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=9000
12-06 11:34:44.121  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 9000, last position 0
12-06 11:34:44.121  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=9000
12-06 11:34:44.129  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 9000, last position 0
12-06 11:34:44.129  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=9000
12-06 11:34:44.137  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 9000, last position 0
12-06 11:34:44.137  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=9000
12-06 11:34:44.145  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 9000, last position 896
12-06 11:34:44.145  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=9000
12-06 11:34:44.153  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 9000, last position 896
12-06 11:34:44.153  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=9000
12-06 11:34:44.161  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 9000, last position 1856
12-06 11:34:44.161  3501  3807 I audio_hwsync_cbks: pts32 = 96 latency=9000
12-06 11:34:44.169  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9270, latency 9000, last position 1856
12-06 11:34:44.169  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:34:44.515  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:34:44.515  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:34:44.515  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:34:44.515  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:34:44.521  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2678)
12-06 11:34:44.521  3501  2209 I audio_hw_primary: patch set found id 2678, patchset 0xefd26400
12-06 11:34:44.521  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:34:44.521  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:34:44.521  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:34:44.521  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:34:44.521  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:34:44.521  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:34:44.521  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:34:44.521  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:34:44.521  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:34:44.521  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:34:44.521  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:34:44.521  3501  2209 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:34:44.521  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:34:44.524  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:34:44.524  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:34:44.525  3501  2209 D audio_hw_primary: out_dump(0xf1151e00, 23)
12-06 11:34:44.732  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:34:44.732  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:34:44.742  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:34:44.742  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:34:44.742  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:34:44.742  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:34:44.742  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:34:44.742  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:34:44.743  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:34:44.743  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:34:44.743  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:34:44.743  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:34:44.743  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:34:57.256  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:34:57.256  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:34:57.256  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:34:57.256  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:35:05.308  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:05.308  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:05.308  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:05.308  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:605767680
12-06 11:35:05.308  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:05.308  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:05.308  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:05.322  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:05.330  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:05.339  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:05.353  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:08.454  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:35:08.455  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:35:08.455  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:35:08.455  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:35:13.722  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:35:14.244  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:35:14.245  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:35:14.245  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:35:14.245  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:35:14.245  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:35:14.245  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:35:14.245  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:35:14.245  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:35:14.245  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:35:14.245  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:35:14.245  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:35:14.245  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:35:14.245  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:35:14.245  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:35:14.245  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:35:14.248  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:35:14.255  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:35:14.279  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:35:14.279  3501  3593 I audio_hw_primary: (0xf16e7700)set hw_sync_id 12345678,enable hw sync mode
12-06 11:35:14.279  3501  3593 I audio_hw_primary: init hal mixer when hwsync
12-06 11:35:14.287  3501  3593 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:35:14.287  3501  3593 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:35:14.287  3501  3593 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:35:14.287  3501  3593 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0f68b48
12-06 11:35:14.287  3501  3593 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:35:14.287  3501  3593 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:35:14.293  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:35:14.293  3501  3593 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:35:14.679  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.000000 right:0.000000 
12-06 11:35:14.689  3501 31308 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:35:14.689  3501 31308 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:35:14.689  3501 31308 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:35:14.689  3501 31308 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:35:14.689  3501 31308 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:35:14.689  3501 31308 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7700
12-06 11:35:14.690  3501 31308 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:14.690  3501 31308 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:14.691  3501 31308 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:35:14.691  3501 31308 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:14.691  3501 31308 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:35:14.691  3501 31308 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:35:14.691  3501 31308 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:35:14.705  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 9000, last position 0
12-06 11:35:14.705  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=9000
12-06 11:35:14.713  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 9000, last position 0
12-06 11:35:14.713  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=9000
12-06 11:35:14.721  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 9000, last position 0
12-06 11:35:14.721  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=9000
12-06 11:35:14.729  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 9000, last position 0
12-06 11:35:14.729  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=9000
12-06 11:35:14.737  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 9000, last position 0
12-06 11:35:14.737  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=9000
12-06 11:35:14.745  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 9000, last position 0
12-06 11:35:14.745  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=9000
12-06 11:35:14.753  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 9000, last position 0
12-06 11:35:14.753  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=9000
12-06 11:35:14.761  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 9000, last position 832
12-06 11:35:14.761  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=9000
12-06 11:35:14.769  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 9000, last position 832
12-06 11:35:14.769  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=9000
12-06 11:35:14.777  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 9000, last position 1792
12-06 11:35:14.777  3501  3807 I audio_hwsync_cbks: pts32 = 96 latency=9000
12-06 11:35:14.785  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9270, latency 9000, last position 1792
12-06 11:35:14.785  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:35:17.423  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:35:17.423  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:35:17.425  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:35:17.425  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:35:17.425  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:35:17.425  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:35:17.425  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:35:17.425  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:35:17.425  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:35:17.433  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:35:17.433  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:35:17.444  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:35:17.444  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:35:17.444  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:35:17.444  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:35:17.458  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2679)
12-06 11:35:17.458  3501  2209 I audio_hw_primary: patch set found id 2679, patchset 0xf11aec00
12-06 11:35:17.458  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:35:17.458  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:35:17.458  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:35:17.458  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:35:17.462  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:35:17.462  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:35:17.464  3501  2209 D audio_hw_primary: out_dump(0xf16e7700, 23)
12-06 11:35:17.471  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:35:17.471  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:35:17.478  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:35:17.478  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:35:17.478  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:35:17.478  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:35:17.478  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:35:17.499  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:35:17.507  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:35:17.507  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:35:17.507  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:35:17.507  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:35:17.507  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:35:18.503  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:35:18.506  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=194785229009 write=194760000000 diff=25229009
12-06 11:35:19.481  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:35:19.481  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:35:19.481  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:35:19.845  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:35:19.845  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:35:19.845  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:35:19.845  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:35:19.846  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:35:19.846  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:35:19.846  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:35:19.846  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:35:19.846  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:35:19.847  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:35:19.847  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:35:19.847  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:35:19.847  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:35:19.847  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:35:19.847  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:35:19.847  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:35:19.847  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:35:19.847  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:35:19.848  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:35:19.848  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:35:19.848  3501  3593 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:35:19.848  3501  3593 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:35:19.848  3501  3593 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:35:19.851  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:35:19.852  3501 31414 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:19.852  3501 31414 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:19.852  3501 31414 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:19.852  3501 31414 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:35:19.852  3501 31414 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7700 input port:[0]PCM_SYSTEM
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:19.852  3501 31414 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:19.852  3501 31414 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:19.867  3501 31414 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:19.875  3501 31414 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:19.884  3501 31414 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:19.898  3501 31414 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:24.927  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:35:24.928  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:35:24.928  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:35:24.944  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:35:25.275  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:35:25.275  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:35:25.275  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:35:25.275  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:35:25.276  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:35:25.277  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:35:25.277  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:35:25.277  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:35:25.277  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:35:25.278  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:35:25.279  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:35:25.279  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:35:25.279  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:35:25.279  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:35:25.279  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:35:25.279  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:35:25.279  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:35:25.279  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:35:25.280  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:35:25.280  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:35:25.280  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:35:25.280  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:35:25.280  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:35:25.305  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:35:25.312  3501 31467 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:25.312  3501 31467 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:35:25.312  3501 31467 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:35:25.312  3501 31467 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:25.312  3501 31467 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:25.312  3501 31467 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:25.313  3501 31467 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:25.313  3501 31467 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:35:25.313  3501 31467 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:25.313  3501 31467 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1151e00 input port:[0]PCM_SYSTEM
12-06 11:35:25.313  3501 31467 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:25.313  3501 31467 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:25.313  3501 31467 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:25.313  3501 31467 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:25.313  3501 31467 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:25.322  3501 31467 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:25.332  3501 31467 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:25.339  3501 31467 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:25.356  3501 31467 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:25.953  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:26.960  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:27.974  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:28.978  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:29.984  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:30.997  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:35:31.425  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:35:31.425  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:35:31.426  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:35:31.426  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:35:31.427  3501 31467 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:31.429  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:35:31.429  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:35:31.429  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:35:31.430  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:35:31.430  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:35:31.434  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:35:31.434  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:35:31.840  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:35:31.840  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:35:31.841  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:35:31.841  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:35:31.841  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:35:31.843  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:35:31.843  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:35:31.843  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:35:31.843  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:35:31.843  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [0]PCM_NORMAL
12-06 11:35:31.843  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:35:31.843  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:35:31.843  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:35:31.843  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:35:31.843  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:35:31.844  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:35:31.844  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:35:31.927  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:35:31.927  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:35:31.927  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:35:31.939  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:35:32.213  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:35:32.213  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:35:32.213  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:35:32.213  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:35:32.214  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:35:32.214  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:35:32.214  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:35:32.214  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:35:32.214  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:35:32.215  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:35:32.215  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:35:32.215  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:35:32.215  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:35:32.215  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:35:32.215  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:35:32.215  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:35:32.215  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:35:32.215  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:35:32.217  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:35:32.217  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:35:32.217  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:35:32.217  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:35:32.217  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:35:32.222  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:32.225  3501 31512 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:32.225  3501 31512 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:32.225  3501 31512 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:32.225  3501 31512 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:35:32.225  3501 31512 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1151e00 input port:[0]PCM_SYSTEM
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:32.225  3501 31512 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:32.225  3501 31512 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:32.235  3501 31512 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:32.243  3501 31512 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:32.251  3501 31512 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:32.267  3501 31512 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:32.942  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:33.946  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:34.952  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:35:35.954  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:35:36.957  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:35:37.016  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:35:37.016  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:35:37.018  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:35:37.018  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:35:37.018  3501 31414 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:37.019  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:35:37.019  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:35:37.019  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:35:37.020  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:35:37.020  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:35:37.026  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:35:37.026  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:35:38.160  3501  3593 D audio_hw_primary: adev_open: enter
12-06 11:35:38.160  3501  3593 I audio_hw_primary: adev exsits ,reuse
12-06 11:35:38.160  3501  3593 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:35:38.160  3501  3593 D audio_hw_primary: adev_open: exit, error
12-06 11:35:38.160  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:35:38.161  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:35:38.161  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:35:38.161  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:35:38.161  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:35:38.161  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:35:38.161  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:35:38.161  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:35:38.161  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:35:38.161  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:35:38.161  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:35:38.161  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:35:38.161  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:35:38.161  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:35:38.162  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:35:38.162  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:35:38.162  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:35:38.162  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:35:38.162  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:35:38.168  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:35:38.169  3501 31594 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:38.169  3501 31594 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:35:38.169  3501 31594 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:35:38.169  3501 31594 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:38.169  3501 31594 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:38.170  3501 31594 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:38.170  3501 31594 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:38.170  3501 31594 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:35:38.170  3501 31594 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:38.170  3501 31594 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1151e00 input port:[0]PCM_SYSTEM
12-06 11:35:38.170  3501 31594 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:38.170  3501 31594 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:38.170  3501 31594 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:38.170  3501 31594 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:38.170  3501 31594 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:38.179  3501 31594 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:38.186  3501 31594 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:38.195  3501 31594 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:38.210  3501 31594 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:38.441  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:35:39.445  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:39.648  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:39.648  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:39.648  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:39.648  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:605915136
12-06 11:35:39.648  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:39.648  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:39.648  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:39.649  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:39.660  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:39.667  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:39.675  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:39.692  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:42.651  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:35:42.652  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:35:42.652  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:35:42.652  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:35:45.123  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:35:45.123  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:35:45.123  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:35:45.130  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:35:45.731  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:35:45.731  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:35:45.731  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:35:45.731  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:35:45.732  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:35:45.732  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:35:45.732  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:35:45.732  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:35:45.732  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:35:45.733  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:35:45.733  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:35:45.733  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:35:45.733  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:35:45.733  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:35:45.733  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:35:45.733  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:35:45.733  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:35:45.733  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:35:45.733  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:35:45.733  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:35:45.733  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:35:45.733  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:35:45.733  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:35:45.737  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:35:45.738  3501 31764 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:35:45.738  3501 31764 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:35:45.738  3501 31764 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:35:45.738  3501 31764 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:35:45.738  3501 31764 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:35:45.738  3501 31764 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:45.738  3501 31764 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:35:45.738  3501 31764 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:35:45.738  3501 31764 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:35:45.738  3501 31764 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7700 input port:[0]PCM_SYSTEM
12-06 11:35:45.738  3501 31764 I audio-subMixingFactory: padding_bytes 16384
12-06 11:35:45.738  3501 31764 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:35:45.739  3501 31764 I audio-subMixingFactory: padding_bytes 14336
12-06 11:35:45.739  3501 31764 I audio-subMixingFactory: padding_bytes 12288
12-06 11:35:45.739  3501 31764 I audio-subMixingFactory: padding_bytes 10240
12-06 11:35:45.754  3501 31764 I audio-subMixingFactory: padding_bytes 8192
12-06 11:35:45.762  3501 31764 I audio-subMixingFactory: padding_bytes 6144
12-06 11:35:45.770  3501 31764 I audio-subMixingFactory: padding_bytes 4096
12-06 11:35:45.786  3501 31764 I audio-subMixingFactory: padding_bytes 2048
12-06 11:35:46.131  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:37:33.819  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:37:33.819  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:37:33.819  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:37:33.819  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:37:52.032  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:37:52.047  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=23668978677 write=23664000000 diff=4978677
12-06 11:37:54.604  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:37:54.604  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:37:54.607  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:37:54.607  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:37:54.607  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:37:54.607  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:37:54.607  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:37:54.607  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:37:54.635  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:37:54.635  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:37:54.635  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:37:54.657  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:37:54.657  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:37:54.657  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:37:54.657  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:37:54.667  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2682)
12-06 11:37:54.667  3501  2209 I audio_hw_primary: patch set found id 2682, patchset 0xf11aec00
12-06 11:37:54.667  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:37:54.667  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:37:54.667  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:37:54.667  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:37:54.668  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:37:54.668  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:37:54.670  3501  2209 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 11:37:54.674  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:37:54.674  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:37:54.677  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:37:54.677  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:37:54.677  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:37:54.677  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:37:54.677  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:37:54.677  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:37:54.687  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:37:54.687  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:37:54.687  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:37:54.687  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:37:54.687  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:37:54.843  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:37:54.843  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:37:54.843  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:37:54.843  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:37:54.843  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:37:54.843  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:37:54.843  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:37:54.843  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:37:54.843  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:37:54.843  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:37:54.843  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:37:54.843  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:37:54.843  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:37:54.843  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:37:54.844  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:37:54.845  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:37:54.849  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:37:54.871  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:37:54.871  3501  2209 I audio_hw_primary: (0xf1152c00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:37:54.871  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:37:54.878  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:37:54.878  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:37:54.878  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:37:54.878  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:37:54.878  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:37:54.878  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:37:54.883  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:37:54.883  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:37:55.035  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.000000 right:0.000000 
12-06 11:37:55.036  3501   568 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:37:55.036  3501   568 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:37:55.036  3501   568 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:37:55.036  3501   568 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:37:55.036  3501   568 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:37:55.036  3501   568 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152c00
12-06 11:37:55.036  3501   568 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:37:55.036  3501   568 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:37:55.036  3501   568 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:37:55.036  3501   568 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:37:55.036  3501   568 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:37:55.138  3501   568 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:37:55.138  3501   568 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:37:55.151  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 454770, latency 8370, last position 0
12-06 11:37:55.151  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x6cfc0
12-06 11:37:55.407  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:37:55.407  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:37:55.415  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:37:55.415  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:37:55.415  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:37:55.415  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:37:55.415  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:37:55.415  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:37:55.415  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:37:55.423  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:37:55.423  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:37:57.407  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:37:57.407  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:37:57.407  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:37:57.407  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:37:57.407  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:37:57.407  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:37:57.407  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:37:57.408  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:606480384
12-06 11:37:57.408  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:37:57.408  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:37:57.408  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:37:57.408  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:37:57.408  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:37:57.408  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:37:57.408  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:37:57.424  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:37:57.431  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:37:57.440  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:37:57.456  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:37:57.765  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:37:57.765  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:37:57.765  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:37:57.765  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:37:57.787  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2683)
12-06 11:37:57.787  3501  2209 I audio_hw_primary: patch set found id 2683, patchset 0xee038800
12-06 11:37:57.787  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:37:57.787  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:37:57.787  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:37:57.787  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:37:57.787  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:37:57.787  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:37:57.787  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:37:57.789  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:37:57.789  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:37:57.791  3501  2209 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 11:37:57.792  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:37:57.792  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:37:57.795  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:37:57.795  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:37:57.795  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:37:57.795  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:37:57.795  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:37:57.795  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:37:57.810  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:37:57.810  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:37:57.810  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:37:57.810  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:37:57.810  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:00.416  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:38:00.416  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:38:00.416  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:38:00.416  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:38:03.336  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:38:03.770  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:38:03.770  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:38:03.770  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:03.770  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:38:03.770  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:03.770  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:03.771  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:38:03.771  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:03.771  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:38:03.771  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:03.771  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:03.771  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:38:03.771  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:38:03.771  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:38:03.771  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:38:03.772  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:38:03.785  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:38:03.816  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:38:03.816  3501 10201 I audio_hw_primary: (0xf1152c00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:38:03.816  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:38:03.827  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:38:03.827  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:38:03.827  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:38:03.827  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:38:03.827  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:38:03.827  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:38:03.839  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:38:03.839  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:38:04.160  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.000000 right:0.000000 
12-06 11:38:04.163  3501   743 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:38:04.163  3501   743 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:38:04.163  3501   743 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:38:04.163  3501   743 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:38:04.163  3501   743 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:38:04.163  3501   743 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152c00
12-06 11:38:04.163  3501   743 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:04.163  3501   743 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:38:04.163  3501   743 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:38:04.164  3501   743 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:04.164  3501   743 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:38:04.164  3501   743 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:38:04.165  3501   743 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:38:04.175  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8370, last position 0
12-06 11:38:04.175  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8370
12-06 11:38:04.183  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8370, last position 0
12-06 11:38:04.183  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8370
12-06 11:38:04.191  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8370, last position 0
12-06 11:38:04.191  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8370
12-06 11:38:04.199  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8370, last position 0
12-06 11:38:04.199  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8370
12-06 11:38:04.207  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8370, last position 0
12-06 11:38:04.207  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8370
12-06 11:38:04.215  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8370, last position 320
12-06 11:38:04.215  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8370
12-06 11:38:04.223  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8370, last position 320
12-06 11:38:04.223  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8370
12-06 11:38:04.231  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8370, last position 1344
12-06 11:38:04.231  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8370
12-06 11:38:04.239  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8370, last position 1344
12-06 11:38:04.239  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8370
12-06 11:38:04.247  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8370, last position 1344
12-06 11:38:04.247  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:38:05.112  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:38:05.113  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:38:05.113  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:38:05.113  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:38:05.119  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:38:05.119  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:38:05.119  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:38:05.119  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:38:05.119  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:38:05.119  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:38:05.120  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:38:05.120  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2684)
12-06 11:38:05.120  3501 10201 I audio_hw_primary: patch set found id 2684, patchset 0xf11b0800
12-06 11:38:05.120  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:38:05.121  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:38:05.121  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:38:05.121  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:38:05.121  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:38:05.121  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:38:05.121  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:38:05.121  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:38:05.121  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:38:05.125  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:38:05.125  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:05.126  3501  3593 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 11:38:05.128  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:38:05.128  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:05.130  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:38:05.131  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:38:05.131  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:38:05.131  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:38:05.131  3501  3593 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:38:05.131  3501  3593 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:38:05.140  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:38:05.140  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:38:05.141  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:38:05.141  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:38:05.141  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:18.735  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:38:19.356  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:38:19.356  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:38:19.356  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:19.356  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:38:19.356  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:19.356  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:19.357  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:38:19.357  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:19.357  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:38:19.357  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:19.357  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:19.357  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:38:19.357  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:38:19.357  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:38:19.357  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:38:19.358  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:38:19.368  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:38:19.395  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:38:19.395  3501  3593 I audio_hw_primary: (0xf1152c00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:38:19.395  3501  3593 I audio_hw_primary: init hal mixer when hwsync
12-06 11:38:19.405  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:38:19.405  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:38:19.405  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:38:19.405  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:38:19.405  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:38:19.405  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:38:19.415  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:38:19.415  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:38:19.740  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.000000 right:0.000000 
12-06 11:38:19.742  3501   931 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:38:19.742  3501   931 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:38:19.742  3501   931 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:38:19.742  3501   931 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:38:19.742  3501   931 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:38:19.742  3501   931 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152c00
12-06 11:38:19.743  3501   931 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:19.743  3501   931 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:38:19.743  3501   931 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:38:19.743  3501   931 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:19.743  3501   931 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:38:19.743  3501   931 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:38:19.743  3501   931 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:38:19.751  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8370, last position 0
12-06 11:38:19.751  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8370
12-06 11:38:19.759  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8370, last position 0
12-06 11:38:19.759  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8370
12-06 11:38:19.767  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8370, last position 0
12-06 11:38:19.767  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8370
12-06 11:38:19.775  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8370, last position 0
12-06 11:38:19.775  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8370
12-06 11:38:19.783  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8370, last position 0
12-06 11:38:19.783  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8370
12-06 11:38:19.791  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8370, last position 384
12-06 11:38:19.791  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8370
12-06 11:38:19.799  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8370, last position 384
12-06 11:38:19.799  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8370
12-06 11:38:19.807  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8370, last position 1408
12-06 11:38:19.807  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8370
12-06 11:38:19.815  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8370, last position 1408
12-06 11:38:19.815  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8370
12-06 11:38:19.823  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8370, last position 1408
12-06 11:38:19.823  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:38:20.296  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:38:20.296  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:20.296  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:38:20.296  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:606621696
12-06 11:38:20.296  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:38:20.296  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:38:20.296  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:38:20.304  3501   931 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:38:20.304  3501   931 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:38:20.304  3501   931 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:38:20.312  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:38:20.320  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:38:20.328  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:38:20.344  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:38:23.446  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:38:23.446  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:38:23.446  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:38:23.446  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:38:23.450  3501   931 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:38:23.450  3501   931 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:38:23.450  3501   931 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:38:26.632  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:38:26.632  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:38:26.632  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:38:26.632  3501  3593 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:38:26.639  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:38:26.639  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:38:26.639  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:38:26.639  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:38:26.639  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:38:26.639  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:38:26.640  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:38:26.647  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:38:26.647  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:38:26.647  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:38:26.647  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:38:26.647  3501  3807 D aml_audio_port: inport_reset()
12-06 11:38:26.647  3501  3807 I amlaudioMixer: [mixer_inports_read:714] input port:[1]PCM_DIRECT flushing->flushed
12-06 11:38:26.652  3501  3593 I audio_hw_primary: ++adev_release_audio_patch: handle(2685)
12-06 11:38:26.652  3501  3593 I audio_hw_primary: patch set found id 2685, patchset 0xf11b0800
12-06 11:38:26.652  3501  3593 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:38:26.652  3501  3593 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:38:26.652  3501  3593 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:38:26.652  3501  3593 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:38:26.657  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:38:26.657  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:38:26.657  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:38:26.657  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:38:26.660  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:38:26.660  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:26.661  3501 10201 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 11:38:26.674  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:38:26.674  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:26.676  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:38:26.676  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:38:26.676  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:38:26.676  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:38:26.676  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:38:26.677  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:38:26.677  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:38:26.677  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:38:26.678  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:38:26.678  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:38:26.678  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:41.939  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:38:41.939  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:38:41.939  3501  3593 I audio_hw_primary: HDMI format: 5
12-06 11:38:42.043  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:38:42.043  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:38:42.043  3501  3593 I audio_hw_primary: HDMI format: 0
12-06 11:38:42.047  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:38:42.047  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:38:42.047  3501  3593 I audio_hw_primary: HDMI format: 5
12-06 11:38:42.952  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:38:42.952  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:38:42.952  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:38:42.955  3501  3593 I audio_hw_primary: ++adev_release_audio_patch: handle(2676)
12-06 11:38:42.955  3501  3593 I audio_hw_primary: patch set found id 2676, patchset 0xefd24800
12-06 11:38:42.955  3501  3593 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:38:42.955  3501  3593 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:38:42.955  3501  3593 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:38:42.955  3501  3593 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:38:42.971  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:38:42.971  3501  3593 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:38:42.971  3501  3593 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:38:42.972  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:38:42.972  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:38:42.972  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:42.972  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:38:42.972  3501  3593 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:38:42.973  3501  3593 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:38:42.973  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:42.973  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:42.973  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:38:42.973  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:42.973  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:38:42.973  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:42.973  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:42.973  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:38:42.973  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:38:42.973  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:38:42.973  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:38:42.977  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:38:42.990  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:38:43.010  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:38:43.010  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:38:43.011  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:38:43.011  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:43.011  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:38:43.011  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:43.011  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:43.011  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:38:43.011  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:43.011  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:38:43.011  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:43.011  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:43.011  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:38:43.011  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:38:43.023  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:38:43.024  3501  3593 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1151e00
12-06 11:38:43.024  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:38:43.025  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:38:43.025  3501  3593 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:38:43.027  3501  3593 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1151e00
12-06 11:38:43.027  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:38:43.027  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:38:43.027  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:38:43.030  3501  3593 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1151e00
12-06 11:38:43.030  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:38:43.030  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:38:43.030  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:38:43.034  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1151e00
12-06 11:38:43.034  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:38:43.034  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:38:43.034  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:38:43.035  3501  3593 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:38:43.035  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:38:43.035  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:38:43.035  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1151e00
12-06 11:38:43.035  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:38:43.035  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:38:43.036  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:38:43.037  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:38:43.037  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.039  3501  3593 D audio_hw_primary: out_dump(0xf1151e00, 21)
12-06 11:38:43.042  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:38:43.042  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.054  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:38:43.054  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:38:43.054  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:38:43.054  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:38:43.054  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:38:43.054  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:38:43.054  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:38:43.054  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:38:43.054  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:38:43.054  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:38:43.054  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:38:43.054  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:38:43.054  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:38:43.054  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:38:43.054  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:38:43.054  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:43.054  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:38:43.054  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:43.054  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:38:43.054  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:43.054  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:43.055  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:38:43.055  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:43.055  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:38:43.055  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:43.055  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:43.055  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:38:43.055  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:38:43.062  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:38:43.064  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:38:43.064  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:38:43.064  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:38:43.067  3501  3593 I audio_hw_primary: out_standby_direct(0xf1153680),out 0xf1153680
12-06 11:38:43.067  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:38:43.067  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:38:43.090  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:38:43.090  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151e00
12-06 11:38:43.091  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:38:43.091  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:43.091  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:43.091  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:43.091  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:38:43.091  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:43.091  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:38:43.091  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:43.091  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:43.091  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:38:43.091  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:38:43.091  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:38:43.092  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:38:43.094  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1151e00), left:0.000000 right:0.000000 
12-06 11:38:43.099  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:38:43.099  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.101  3501  3593 D audio_hw_primary: out_dump(0xf1152500, 24)
12-06 11:38:43.103  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:38:43.103  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.105  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:38:43.105  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:38:43.105  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:38:43.105  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:38:43.105  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:38:43.105  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:38:43.105  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:38:43.105  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:38:43.105  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:43.106  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:38:43.106  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.108  3501  3593 D audio_hw_primary: out_dump(0xf1153680, 19)
12-06 11:38:43.111  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:38:43.111  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.113  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:38:43.113  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:38:43.113  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:38:43.113  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:38:43.113  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:38:43.113  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:38:43.113  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:38:43.113  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:38:43.113  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:38:43.113  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:38:43.113  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:38:43.113  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:38:43.113  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:43.113  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:38:43.113  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:38:43.126  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:38:43.127  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:38:43.127  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:38:43.127  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:38:43.127  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:38:43.127  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:38:43.127  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:38:43.129  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:38:43.129  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:38:43.129  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:38:43.130  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:38:43.130  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:38:43.130  3501  3593 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151e00
12-06 11:38:43.130  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:38:43.130  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:38:43.407  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:38:58.365  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:38:58.837  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:38:58.837  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:38:58.837  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:38:58.837  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:38:58.837  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:38:58.837  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:38:58.838  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:38:58.838  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:38:58.838  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:38:58.838  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:38:58.838  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:38:58.838  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:38:58.838  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:38:58.838  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:38:58.838  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:38:58.839  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:38:58.851  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:38:58.892  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:38:58.892  3501  2209 I audio_hw_primary: (0xf1153680)set hw_sync_id 12345678,enable hw sync mode
12-06 11:38:58.892  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:38:58.899  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:38:58.899  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:38:58.899  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:38:58.899  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:38:58.899  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:38:58.899  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:38:58.903  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:38:58.903  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:38:59.223  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.000000 right:0.000000 
12-06 11:38:59.248  3501  1566 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:38:59.249  3501  1566 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:38:59.249  3501  1566 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:38:59.249  3501  1566 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:38:59.249  3501  1566 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:38:59.249  3501  1566 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153680
12-06 11:38:59.249  3501  1566 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:59.249  3501  1566 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:38:59.249  3501  1566 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:38:59.249  3501  1566 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:38:59.249  3501  1566 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:38:59.249  3501  1566 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:38:59.249  3501  1566 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:38:59.265  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 11:38:59.265  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 11:38:59.273  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 11:38:59.273  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 11:38:59.281  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 11:38:59.281  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 11:38:59.289  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 11:38:59.289  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 11:38:59.297  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 640
12-06 11:38:59.297  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 11:38:59.305  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 640
12-06 11:38:59.305  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 11:38:59.313  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 1600
12-06 11:38:59.313  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 11:38:59.321  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1600
12-06 11:38:59.321  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 11:38:59.329  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1600
12-06 11:38:59.329  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 11:39:06.275  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:06.275  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:39:06.275  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:39:06.275  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:39:06.281  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2689)
12-06 11:39:06.281  3501  2209 I audio_hw_primary: patch set found id 2689, patchset 0xf11b0800
12-06 11:39:06.281  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:39:06.281  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:39:06.281  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:39:06.281  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:39:06.281  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:39:06.281  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:39:06.281  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:39:06.281  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:39:06.281  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:39:06.281  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:39:06.282  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:39:06.282  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:06.282  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:39:06.282  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:39:06.282  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:39:06.282  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:39:06.284  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:39:06.284  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:06.285  3501  3593 D audio_hw_primary: out_dump(0xf1153680, 23)
12-06 11:39:06.289  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:39:06.289  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:06.293  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:39:06.293  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:39:06.293  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:39:06.293  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:39:06.293  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:39:06.294  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:39:06.305  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:39:06.305  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:06.305  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:39:06.305  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:39:06.305  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:39:07.047  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:39:07.049  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=15424465215 write=15400000000 diff=24465215
12-06 11:39:23.920  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:39:24.407  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:39:24.407  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:39:24.407  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:39:24.407  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:39:24.407  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:39:24.407  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:39:24.408  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:39:24.408  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:39:24.408  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:39:24.408  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:39:24.408  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:39:24.408  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:39:24.408  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:39:24.408  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:39:24.408  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:39:24.409  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:39:24.414  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:24.450  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:39:24.450  3501  3593 I audio_hw_primary: (0xf1153680)set hw_sync_id 12345678,enable hw sync mode
12-06 11:39:24.450  3501  3593 I audio_hw_primary: init hal mixer when hwsync
12-06 11:39:24.459  3501  3593 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:39:24.459  3501  3593 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:39:24.459  3501  3593 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:39:24.459  3501  3593 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0f68b48
12-06 11:39:24.459  3501  3593 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:39:24.459  3501  3593 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:39:24.467  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:24.467  3501  3593 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:39:24.766  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.000000 right:0.000000 
12-06 11:39:24.768  3501  1849 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:39:24.768  3501  1849 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:39:24.768  3501  1849 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:39:24.768  3501  1849 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:39:24.768  3501  1849 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:39:24.768  3501  1849 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153680
12-06 11:39:24.779  3501  1849 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:24.779  3501  1849 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:39:24.779  3501  1849 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:39:24.779  3501  1849 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:24.779  3501  1849 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:39:24.780  3501  1849 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:39:24.782  3501  1849 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:39:24.794  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8280, last position 0
12-06 11:39:24.794  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8280
12-06 11:39:24.801  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8280, last position 0
12-06 11:39:24.802  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8280
12-06 11:39:24.810  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8280, last position 0
12-06 11:39:24.810  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8280
12-06 11:39:24.817  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8280, last position 0
12-06 11:39:24.818  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8280
12-06 11:39:24.825  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8280, last position 320
12-06 11:39:24.826  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8280
12-06 11:39:24.833  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8280, last position 320
12-06 11:39:24.834  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8280
12-06 11:39:24.841  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8280, last position 320
12-06 11:39:24.842  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8280
12-06 11:39:24.849  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8280, last position 1280
12-06 11:39:24.850  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8280
12-06 11:39:24.858  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8280, last position 1280
12-06 11:39:24.858  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8280
12-06 11:39:24.865  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8280, last position 2240
12-06 11:39:24.866  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x168
12-06 11:39:25.602  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:25.602  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:39:25.602  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:39:25.602  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:39:25.605  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2690)
12-06 11:39:25.605  3501 10201 I audio_hw_primary: patch set found id 2690, patchset 0xee038800
12-06 11:39:25.605  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:39:25.605  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:39:25.605  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:39:25.605  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:39:25.605  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:25.606  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:39:25.606  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:39:25.606  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:39:25.606  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:39:25.606  3501  3593 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:39:25.606  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:39:25.613  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:39:25.613  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:25.614  3501 10201 D audio_hw_primary: out_dump(0xf1153680, 23)
12-06 11:39:25.617  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:39:25.617  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:25.619  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:39:25.619  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:39:25.619  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:39:25.619  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:39:25.620  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:39:25.620  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:39:25.620  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:39:25.620  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:25.620  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:39:25.620  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:39:25.620  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:39:28.451  3501 10201 I audio_hw_primary: get hwsync id
12-06 11:39:28.768  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:39:28.768  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:39:28.768  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:39:28.768  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:39:28.768  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:39:28.768  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:39:28.769  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:39:28.769  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:39:28.769  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:39:28.769  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:39:28.769  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:39:28.769  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:39:28.769  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:39:28.769  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:39:28.769  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:39:28.771  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:39:28.781  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:28.803  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:39:28.803  3501  2209 I audio_hw_primary: (0xf1153680)set hw_sync_id 12345678,enable hw sync mode
12-06 11:39:28.803  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:39:28.812  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:39:28.812  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:39:28.812  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:39:28.812  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:39:28.812  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:39:28.812  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:39:28.818  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:28.818  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:39:29.074  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.000000 right:0.000000 
12-06 11:39:29.076  3501  1949 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:39:29.076  3501  1949 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:39:29.076  3501  1949 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:39:29.076  3501  1949 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:39:29.076  3501  1949 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:39:29.076  3501  1949 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153680
12-06 11:39:29.076  3501  1949 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:29.076  3501  1949 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:39:29.076  3501  1949 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:39:29.076  3501  1949 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:29.076  3501  1949 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:39:29.179  3501  1949 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:39:29.179  3501  1949 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:39:29.193  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1980, latency 8280, last position 0
12-06 11:39:29.194  3501  3807 I audio_hwsync_cbks: pts32 = 22 latency=8280
12-06 11:39:29.201  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2700, latency 8280, last position 0
12-06 11:39:29.202  3501  3807 I audio_hwsync_cbks: pts32 = 30 latency=8280
12-06 11:39:29.209  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3420, latency 8280, last position 0
12-06 11:39:29.210  3501  3807 I audio_hwsync_cbks: pts32 = 38 latency=8280
12-06 11:39:29.217  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4140, latency 8280, last position 0
12-06 11:39:29.218  3501  3807 I audio_hwsync_cbks: pts32 = 46 latency=8280
12-06 11:39:29.225  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4860, latency 8280, last position 128
12-06 11:39:29.226  3501  3807 I audio_hwsync_cbks: pts32 = 54 latency=8280
12-06 11:39:29.233  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5580, latency 8280, last position 128
12-06 11:39:29.234  3501  3807 I audio_hwsync_cbks: pts32 = 62 latency=8280
12-06 11:39:29.241  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6300, latency 8280, last position 1088
12-06 11:39:29.242  3501  3807 I audio_hwsync_cbks: pts32 = 70 latency=8280
12-06 11:39:29.249  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7020, latency 8280, last position 1088
12-06 11:39:29.250  3501  3807 I audio_hwsync_cbks: pts32 = 78 latency=8280
12-06 11:39:29.257  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7740, latency 8280, last position 1088
12-06 11:39:29.258  3501  3807 I audio_hwsync_cbks: pts32 = 86 latency=8280
12-06 11:39:29.265  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8460, latency 8280, last position 2048
12-06 11:39:29.265  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0xb4
12-06 11:39:31.526  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:39:31.526  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:39:31.526  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:39:31.526  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:39:31.526  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:39:31.526  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:39:31.536  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:39:31.536  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:31.536  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:39:31.536  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:606906368
12-06 11:39:31.536  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:39:31.536  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:39:31.536  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:39:31.546  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:39:31.554  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:39:31.563  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:39:31.572  3501  1949 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:39:31.572  3501  1949 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:39:31.572  3501  1949 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:39:31.578  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:39:31.911  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:31.911  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:39:31.911  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:39:31.911  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:39:31.913  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:39:31.914  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:39:31.914  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:39:31.914  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:39:31.914  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:39:31.914  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:39:31.914  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:39:31.919  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2691)
12-06 11:39:31.919  3501  2209 I audio_hw_primary: patch set found id 2691, patchset 0xee038800
12-06 11:39:31.919  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:39:31.919  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:39:31.919  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:39:31.919  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:39:31.920  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:31.920  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:39:31.920  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:39:31.920  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:39:31.920  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:39:31.922  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:39:31.922  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:31.923  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 23)
12-06 11:39:31.927  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:39:31.927  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:31.928  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:39:31.928  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:39:31.928  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:39:31.928  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:39:31.928  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:39:31.928  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:39:31.936  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:39:31.936  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:31.936  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:39:31.936  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:39:31.936  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:39:31.960  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:39:31.960  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:39:31.960  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:39:42.536  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:39:42.536  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:39:42.536  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:39:42.536  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:39:47.944  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:39:48.470  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:39:48.470  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:39:48.470  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:39:48.470  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:39:48.470  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:39:48.470  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:39:48.471  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:39:48.471  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:39:48.471  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:39:48.471  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:39:48.471  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:39:48.471  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:39:48.471  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:39:48.471  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:39:48.471  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:39:48.473  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:39:48.482  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:48.521  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:39:48.521  3501  2209 I audio_hw_primary: (0xf1153680)set hw_sync_id 12345678,enable hw sync mode
12-06 11:39:48.521  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 11:39:48.528  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:39:48.528  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:39:48.528  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:39:48.528  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:39:48.528  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:39:48.528  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:39:48.533  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:48.533  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:39:48.875  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.000000 right:0.000000 
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:39:48.877  3501  2302 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153680
12-06 11:39:48.877  3501  2302 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:48.877  3501  2302 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:39:48.877  3501  2302 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:39:48.877  3501  2302 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:39:48.877  3501  2302 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:39:48.877  3501  2302 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:39:48.889  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8280, last position 0
12-06 11:39:48.890  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8280
12-06 11:39:48.897  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8280, last position 0
12-06 11:39:48.898  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8280
12-06 11:39:48.905  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8280, last position 0
12-06 11:39:48.906  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8280
12-06 11:39:48.914  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8280, last position 0
12-06 11:39:48.914  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8280
12-06 11:39:48.921  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8280, last position 320
12-06 11:39:48.922  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8280
12-06 11:39:48.929  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8280, last position 320
12-06 11:39:48.930  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8280
12-06 11:39:48.937  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8280, last position 320
12-06 11:39:48.938  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8280
12-06 11:39:48.945  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8280, last position 1280
12-06 11:39:48.946  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8280
12-06 11:39:48.954  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8280, last position 1280
12-06 11:39:48.954  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8280
12-06 11:39:48.961  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8280, last position 2240
12-06 11:39:48.961  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x168
12-06 11:39:53.691  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:39:53.692  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:39:53.697  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:39:53.697  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:39:53.698  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:39:53.698  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:39:53.698  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:39:53.698  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:39:53.698  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:39:53.701  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:53.701  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:39:53.701  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:39:53.701  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:39:53.717  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2694)
12-06 11:39:53.718  3501  2209 I audio_hw_primary: patch set found id 2694, patchset 0xf11b0800
12-06 11:39:53.718  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:39:53.718  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:39:53.718  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:39:53.718  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:39:53.720  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:39:53.721  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:53.724  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 23)
12-06 11:39:53.732  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:39:53.732  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:39:53.736  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:39:53.736  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:39:53.736  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:39:53.736  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:39:53.736  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:39:53.736  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:39:53.737  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:39:53.737  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:39:53.737  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:39:53.737  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:39:53.737  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:39:54.247  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:39:54.249  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=47199327939 write=47176000000 diff=23327939
12-06 11:39:57.436  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(6)
12-06 11:39:57.436  3501  2209 D audio_hw_primary: check_input_parameters(sample_rate=16000, format=1, channel_count=1, devices = 80000004)
12-06 11:39:57.436  3501  2209 D audio_hw_primary: adev_open_input_stream: in->requested_rate = 16000, in->config.rate = 48000
12-06 11:39:57.436  3501  2209 D audio_hw_primary: adev_open_input_stream: exit
12-06 11:39:57.440  3501  2209 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 11:39:57.441  3501  2209 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 11:39:57.441  3501  2209 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 11:39:57.441  3501 10201 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 11:39:57.441  3501 10201 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 11:39:57.441  3501 10201 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 11:39:57.448  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf11303c0)
12-06 11:39:57.448  3501 10201 D audio_hw_primary: do_input_standby(0xf11303c0) in->standby = 1
12-06 11:39:57.448  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:39:57.451  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf11303c0)
12-06 11:39:57.451  3501 10201 D audio_hw_primary: do_input_standby(0xf11303c0) in->standby = 1
12-06 11:39:57.451  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:39:57.456  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:39:57.456  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=2,aml_dev->patch_src=10
12-06 11:39:57.456  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:39:57.456  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:39:57.456  3501  2209 I audio_hw_primary: adev_create_audio_patch: device->mix patch: inport(INPORT_BUILTIN_MIC)
12-06 11:39:57.463  3501  2414 D AudioALSADeviceParser: auge sound card, pAdd=0xf165a140 fix alsaPORT:0 to :1
12-06 11:39:57.463  3501  2414 D audio_hw_primary: *start_input_stream, open alsa_card(0 0) alsa_device(1), in_device:0x4
12-06 11:39:57.518  3501  2414 D audio_hw_primary: pcm_open in: card(0), port(0)
12-06 11:39:57.518  3501  2414 D audio_hw_primary: add_in_stream_resampler: in->requested_rate = 16000, in->config.rate = 48000
12-06 11:39:57.519  3501  2414 D audio_hw_primary: start_input_stream: device(4) channels=1 rate=48000 requested_rate=16000 mode= 0
12-06 11:39:58.651  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:40:03.232  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf11303c0)
12-06 11:40:03.232  3501 10201 D audio_hw_primary: do_input_standby(0xf11303c0) in->standby = 0
12-06 11:40:03.243  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:40:03.248  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2695)
12-06 11:40:03.248  3501 10201 I audio_hw_primary: patch set found id 2695, patchset 0xf11b0800
12-06 11:40:03.248  3501 10201 I audio_hw_primary: source 0 type=1 sink type =2 amk patch src=7
12-06 11:40:03.248  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:03.248  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:03.248  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:40:03.292  3501 10201 D audio_hw_primary: adev_close_input_stream: enter: dev(0xf1675240) stream(0xf11303c0)
12-06 11:40:03.292  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf11303c0)
12-06 11:40:03.292  3501 10201 D audio_hw_primary: do_input_standby(0xf11303c0) in->standby = 1
12-06 11:40:03.292  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:40:03.292  3501 10201 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 11:40:03.292  3501 10201 D audio_hw_primary: adev_close_input_stream: exit
12-06 11:40:03.422  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, audio_echo_decay=100)
12-06 11:40:03.422  3501 10201 I audio_hw_primary: adev_set_parameters(kv: audio_echo_decay=100)
12-06 11:40:03.422  3501 10201 D eagle_echo: [echo_set_parameters] floatDelayTime=0.160000, feedback_fac=38, live_fac=90
12-06 11:40:03.422  3501 10201 D eagle_echo: [echo_set_parameters] fNumFrames=7680.000000, sampleRate_=48000.000000, sampleCount=15360
12-06 11:40:03.422  3501 10201 D eagle_echo: [echo_set_parameters] bytePerSample=2, bytePerFrame=4
12-06 11:40:03.422  3501 10201 D eagle_echo: [echo_set_parameters] buf_capacity=30720
12-06 11:40:03.422  3501 10201 I audio_hw_primary: adev_set_parameters, ret=-2, value=100
12-06 11:40:03.422  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return Result::NOT_SUPPORTED (4) instead of other error code.
12-06 11:40:03.987  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:40:03.987  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:40:03.987  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:40:03.987  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:40:03.993  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:40:03.993  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:40:03.993  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:40:03.993  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:40:03.993  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:40:03.993  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:40:03.994  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:40:03.999  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2696)
12-06 11:40:03.999  3501  2209 I audio_hw_primary: patch set found id 2696, patchset 0xee038800
12-06 11:40:03.999  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:40:04.000  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:04.000  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:04.000  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:40:04.000  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:40:04.000  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:40:04.000  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:40:04.000  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:04.000  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:40:04.001  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:40:04.001  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:04.001  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:04.010  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:04.010  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:04.013  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 19)
12-06 11:40:04.016  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:04.016  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:04.017  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:40:04.017  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:04.017  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:04.017  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:40:04.018  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:40:04.018  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:40:04.018  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:40:04.018  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:40:04.018  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:04.018  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:07.389  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:07.389  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:07.389  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:07.389  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607453184
12-06 11:40:07.389  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:07.389  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:07.389  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:07.401  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:07.411  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:07.418  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:07.434  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:10.536  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:10.536  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:10.536  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:10.536  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:11.064  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:11.064  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:11.064  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:11.064  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607600640
12-06 11:40:11.064  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:11.064  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:11.064  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:11.074  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:11.081  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:11.089  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:11.105  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:12.986  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(6)
12-06 11:40:12.986  3501  2209 D audio_hw_primary: check_input_parameters(sample_rate=16000, format=1, channel_count=1, devices = 80000004)
12-06 11:40:12.986  3501  2209 D audio_hw_primary: adev_open_input_stream: in->requested_rate = 16000, in->config.rate = 48000
12-06 11:40:12.986  3501  2209 D audio_hw_primary: adev_open_input_stream: exit
12-06 11:40:12.988  3501 10201 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 11:40:12.988  3501 10201 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 11:40:12.988  3501 10201 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 11:40:12.989  3501 10201 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 11:40:12.989  3501 10201 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 11:40:12.989  3501 10201 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 11:40:12.991  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf1130b40)
12-06 11:40:12.991  3501 10201 D audio_hw_primary: do_input_standby(0xf1130b40) in->standby = 1
12-06 11:40:12.991  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:40:13.004  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:40:13.004  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=2,aml_dev->patch_src=10
12-06 11:40:13.004  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:40:13.004  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:40:13.004  3501  2209 I audio_hw_primary: adev_create_audio_patch: device->mix patch: inport(INPORT_BUILTIN_MIC)
12-06 11:40:13.014  3501  2686 D AudioALSADeviceParser: auge sound card, pAdd=0xf165a140 fix alsaPORT:0 to :1
12-06 11:40:13.015  3501  2686 D audio_hw_primary: *start_input_stream, open alsa_card(0 0) alsa_device(1), in_device:0x4
12-06 11:40:13.067  3501  2686 D audio_hw_primary: pcm_open in: card(0), port(0)
12-06 11:40:13.067  3501  2686 D audio_hw_primary: add_in_stream_resampler: in->requested_rate = 16000, in->config.rate = 48000
12-06 11:40:13.067  3501  2686 D audio_hw_primary: start_input_stream: device(4) channels=1 rate=48000 requested_rate=16000 mode= 0
12-06 11:40:14.207  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:14.207  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:14.207  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:14.207  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:15.076  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf1130b40)
12-06 11:40:15.076  3501 10201 D audio_hw_primary: do_input_standby(0xf1130b40) in->standby = 0
12-06 11:40:15.087  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:40:15.092  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2697)
12-06 11:40:15.092  3501 10201 I audio_hw_primary: patch set found id 2697, patchset 0xee038800
12-06 11:40:15.092  3501 10201 I audio_hw_primary: source 0 type=1 sink type =2 amk patch src=7
12-06 11:40:15.092  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:15.092  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:15.092  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:40:15.133  3501 10201 D audio_hw_primary: adev_close_input_stream: enter: dev(0xf1675240) stream(0xf1130b40)
12-06 11:40:15.133  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf1130b40)
12-06 11:40:15.133  3501 10201 D audio_hw_primary: do_input_standby(0xf1130b40) in->standby = 1
12-06 11:40:15.133  3501 10201 D audio_hw_primary: in_standby: exit
12-06 11:40:15.133  3501 10201 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 11:40:15.134  3501 10201 D audio_hw_primary: adev_close_input_stream: exit
12-06 11:40:15.229  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, audio_echo_decay=100)
12-06 11:40:15.229  3501 10201 I audio_hw_primary: adev_set_parameters(kv: audio_echo_decay=100)
12-06 11:40:15.229  3501 10201 D eagle_echo: [echo_set_parameters] floatDelayTime=0.160000, feedback_fac=38, live_fac=90
12-06 11:40:15.229  3501 10201 D eagle_echo: [echo_set_parameters] fNumFrames=7680.000000, sampleRate_=48000.000000, sampleCount=15360
12-06 11:40:15.229  3501 10201 D eagle_echo: [echo_set_parameters] bytePerSample=2, bytePerFrame=4
12-06 11:40:15.229  3501 10201 D eagle_echo: [echo_set_parameters] buf_capacity=30720
12-06 11:40:15.230  3501 10201 I audio_hw_primary: adev_set_parameters, ret=-2, value=100
12-06 11:40:15.230  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return Result::NOT_SUPPORTED (4) instead of other error code.
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:17.027  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:17.027  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:17.027  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:17.027  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607748096
12-06 11:40:17.027  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:17.027  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:17.027  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:17.041  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:17.050  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:17.059  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:17.074  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:20.174  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:20.175  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:20.175  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:20.175  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:37.769  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:40:37.769  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:40:37.769  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 11:40:37.873  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:40:37.873  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:40:37.873  3501 10201 I audio_hw_primary: HDMI format: 0
12-06 11:40:37.881  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:40:37.881  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:40:37.881  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 11:40:38.770  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:40:38.770  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:40:38.770  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:40:38.772  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2692)
12-06 11:40:38.772  3501 10201 I audio_hw_primary: patch set found id 2692, patchset 0xee03a400
12-06 11:40:38.772  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:40:38.772  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:38.772  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:38.772  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:40:38.818  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:40:38.818  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:40:38.818  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:40:38.819  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:40:38.820  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:40:38.820  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:38.820  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:40:38.820  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:40:38.820  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:40:38.820  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:38.820  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:38.820  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:38.820  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:38.820  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:38.820  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:38.820  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:38.820  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:38.820  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:40:38.820  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:40:38.820  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:40:38.825  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:40:38.828  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:40:38.856  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:40:38.856  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:38.856  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:38.856  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:38.856  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:40:38.856  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:38.856  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:38.857  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:38.857  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:38.857  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:38.857  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:38.857  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:38.857  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:40:38.857  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154100: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:40:39.033  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:40:39.036  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1154100
12-06 11:40:39.037  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.037  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:39.040  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:40:39.043  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1154100
12-06 11:40:39.043  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.043  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:39.043  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:40:39.044  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1154100
12-06 11:40:39.044  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.045  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:40:39.046  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:39.046  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1154100
12-06 11:40:39.046  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.046  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:39.047  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:40:39.049  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1154100
12-06 11:40:39.049  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.050  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:40:39.051  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:39.055  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.055  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.058  3501 10201 I audio_hw_primary: out_standby_direct(0xf1154100),out 0xf1154100
12-06 11:40:39.058  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:39.059  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.060  3501 10201 D audio_hw_primary: out_dump(0xf1154100, 21)
12-06 11:40:39.062  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:39.062  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.379  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:40:39.379  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154100)
12-06 11:40:39.379  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:39.379  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:40:39.379  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:40:39.379  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.379  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:40:39.379  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:39.379  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:39.379  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:39.379  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.379  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.379  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.379  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:40:39.379  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:40:39.379  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:39.380  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:39.380  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:39.380  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:40:39.380  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:39.380  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:39.380  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:39.380  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:39.380  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:39.380  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:39.380  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:39.380  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:40:39.380  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:40:39.381  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:40:39.381  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:40:39.381  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:40:39.383  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153d80),out 0xf1153d80
12-06 11:40:39.383  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:39.383  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.396  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:39.410  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:40:39.410  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154480
12-06 11:40:39.410  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:40:39.410  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:39.410  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:39.410  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:39.410  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:39.410  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:39.410  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:39.410  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:39.410  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:39.410  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:39.410  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154480, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:40:39.410  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:40:39.411  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:39.416  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1154480), left:0.000000 right:0.000000 
12-06 11:40:39.420  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.421  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.422  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 24)
12-06 11:40:39.423  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:39.423  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.425  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:40:39.425  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:39.425  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:39.425  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:40:39.426  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:40:39.426  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:40:39.426  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.426  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.426  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.427  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.427  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.429  3501  2209 D audio_hw_primary: out_dump(0xf1153d80, 19)
12-06 11:40:39.432  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:39.433  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.434  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:40:39.434  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:40:39.434  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:40:39.434  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:40:39.434  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:40:39.434  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.434  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:40:39.434  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:39.434  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:40:39.434  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:39.434  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.434  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.434  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.435  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.435  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.438  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:40:39.439  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:39.439  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:39.439  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:40:39.439  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:39.439  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:40:39.439  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:40:39.439  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:40:39.439  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:39.439  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:39.439  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.439  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154480
12-06 11:40:39.440  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.440  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.448  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:39.458  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:40:39.458  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:40:39.458  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:40:39.465  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:40:39.465  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:40:39.465  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:40:39.466  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:40:39.466  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:40:39.466  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:39.466  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:40:39.466  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:40:39.466  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:40:39.467  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:39.467  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:39.467  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:39.467  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:39.467  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:39.467  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:39.467  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:39.467  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:39.467  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:40:39.467  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:40:39.467  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:40:39.468  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:40:39.473  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:40:39.494  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:40:39.494  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:39.494  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:39.494  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:39.494  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:40:39.494  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:39.494  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:39.494  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:39.494  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:39.494  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:39.494  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:39.494  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:39.494  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:40:39.494  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:40:39.639  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:40:39.642  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153680
12-06 11:40:39.643  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.643  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:39.643  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:40:39.644  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153680),out 0xf1153680
12-06 11:40:39.644  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:39.644  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.645  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153680
12-06 11:40:39.645  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.645  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:39.645  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:40:39.646  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153680
12-06 11:40:39.646  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.646  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:40:39.646  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:39.647  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153680
12-06 11:40:39.647  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.647  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:39.647  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:40:39.647  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153680
12-06 11:40:39.647  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:39.647  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:40:39.648  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:39.648  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.649  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.649  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 21)
12-06 11:40:39.650  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:39.650  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.788  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:40:39.788  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:40:39.788  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:40:39.789  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:40:39.789  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:40:39.789  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.789  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:40:39.789  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:39.789  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:40:39.789  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:39.789  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.789  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:40:39.789  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.789  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.789  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:40:39.789  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:39.789  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:39.790  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:39.790  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:40:39.790  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:39.790  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:39.790  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:39.790  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:39.790  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:39.790  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:39.790  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:39.790  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:40:39.790  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:40:39.798  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:40:39.798  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:40:39.798  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:40:39.800  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:39.804  3501 10201 I audio_hw_primary: out_standby_direct(0xf1154480),out 0xf1154480
12-06 11:40:39.804  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:39.805  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.828  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:40:39.828  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154100
12-06 11:40:39.828  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:40:39.828  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:39.828  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:39.828  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:39.828  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:39.829  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:39.829  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:39.829  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:39.829  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:39.829  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:39.829  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154100, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:40:39.829  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154100: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:40:39.830  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:39.835  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1154100), left:0.000000 right:0.000000 
12-06 11:40:39.842  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.842  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.844  3501 10201 D audio_hw_primary: out_dump(0xf1153d80, 24)
12-06 11:40:39.845  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:39.845  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.849  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:40:39.849  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:39.849  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:39.849  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:40:39.849  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:40:39.849  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:40:39.849  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.849  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.849  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.850  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.850  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.851  3501 10201 D audio_hw_primary: out_dump(0xf1154480, 19)
12-06 11:40:39.853  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:39.853  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.856  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:40:39.856  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:40:39.856  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:39.856  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:40:39.856  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:40:39.856  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:39.856  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:40:39.856  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:39.856  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:39.856  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:39.856  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.857  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.857  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.864  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:39.866  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:39.866  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:39.877  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:40:39.877  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:39.877  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:39.878  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154100)
12-06 11:40:39.878  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:39.878  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:40:39.878  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:40:39.878  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:40:39.878  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:39.878  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:39.878  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:39.878  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154100
12-06 11:40:39.878  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:39.878  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:39.883  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:40:39.883  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:40:39.883  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:40:39.883  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:40:39.883  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:40:39.883  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:39.888  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:39.888  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:39.888  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:39.888  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607895552
12-06 11:40:39.888  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:39.888  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:39.888  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:39.898  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:39.900  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:40:39.900  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:40:39.900  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:40:39.906  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:39.914  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:39.930  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:39.942  3501 10201 I audio_hw_primary: get hwsync id
12-06 11:40:39.998  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:40:39.998  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:40:39.998  3501 10201 I audio_hw_primary: patch found mix->dev id 2698, patchset 0xee03a400
12-06 11:40:39.998  3501 10201 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:40:39.998  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:39.998  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:39.998  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:40:39.998  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:40:39.998  3501 10201 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_HDMI to OUTPORT_SPEAKER
12-06 11:40:39.998  3501 10201 E audio_hw_primary: aml_audio_output_routing: active_outport = 2 unsupport
12-06 11:40:39.999  3501 10201 D audio_route: Apply path: speaker
12-06 11:40:39.999  3501 10201 E audio_route: unable to find path 'spdif'
12-06 11:40:39.999  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(0)
12-06 11:40:40.010  3501  6534 D audio-subMixingFactory: [mixer_aux_buffer_write_sm:1153] stream:0xf16e7000, switch from device:0x2 to device:0x400
12-06 11:40:40.010  3501  6534 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:40.010  3501  6534 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:40.010  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:40.010  3501  6534 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:40.010  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.010  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.010  3501  6534 I audio-subMixingFactory: WD1 threshold=20
12-06 11:40:40.018  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.018  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.018  3501  6534 I audio-subMixingFactory: WD1 threshold=19
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:40.020  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:40.020  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:40.020  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:40.020  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607899648
12-06 11:40:40.020  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:40.020  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:40.020  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:40.031  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:40:40.031  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:40:40.031  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:40:40.041  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:40.041  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:40.045  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:40:40.046  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:40:40.046  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.046  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:40:40.046  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:40:40.046  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:40:40.046  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.046  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.047  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:40.048  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.048  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.048  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.048  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.048  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:40.048  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:40:40.048  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:40:40.048  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:40:40.050  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:40.054  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:40:40.067  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:40.075  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:40:40.111  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:40:40.111  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:40.111  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:40.111  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.111  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:40:40.111  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.111  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.112  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:40.112  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.112  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.112  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.112  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.112  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:40:40.112  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:40:40.113  3501  6534 E audio-subMixingFactory: WD1 reset!
12-06 11:40:40.191  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:40:40.195  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1154800
12-06 11:40:40.195  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.196  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:40.196  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:40:40.203  3501  2209 I audio_hw_primary: out_standby_direct(0xf1154800),out 0xf1154800
12-06 11:40:40.203  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:40.207  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.208  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1154800
12-06 11:40:40.208  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.208  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:40.208  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:40:40.212  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1154800
12-06 11:40:40.212  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.218  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:40:40.218  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:40.218  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1154800
12-06 11:40:40.218  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.219  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:40.219  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:40:40.224  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1154800
12-06 11:40:40.224  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.224  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:40:40.225  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:40.229  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.229  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.237  3501  2209 D audio_hw_primary: out_dump(0xf1154800, 21)
12-06 11:40:40.243  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 11:40:40.243  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.294  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:40:40.294  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:40:40.294  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:40:40.294  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:40:40.294  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:40:40.294  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.294  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:40:40.294  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:40:40.294  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:40:40.294  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:40.294  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.294  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.294  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.295  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:40:40.295  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:40:40.295  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:40.295  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:40.295  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.295  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:40:40.295  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.295  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.295  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:40.296  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.296  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.296  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.296  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.296  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:40:40.296  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:40:40.304  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:40.319  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:40:40.319  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:40:40.319  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:40:40.334  3501  2209 I audio_hw_primary: out_standby_direct(0xf1154800),out 0xf1154800
12-06 11:40:40.334  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:40.334  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.368  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:40:40.368  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154b80
12-06 11:40:40.369  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:40:40.369  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.369  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.369  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.369  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:40.370  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.370  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.370  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.370  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.370  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:40.370  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154b80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:40:40.370  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154b80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:40:40.376  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:40.387  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1154b80), left:0.000000 right:0.000000 
12-06 11:40:40.408  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.408  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.412  3501  2209 D audio_hw_primary: out_dump(0xf1153680, 24)
12-06 11:40:40.416  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 11:40:40.416  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.416  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:40:40.416  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:40.416  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:40.416  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:40:40.417  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:40:40.417  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:40:40.417  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.417  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.417  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.418  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.418  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.420  3501  2209 D audio_hw_primary: out_dump(0xf1154800, 19)
12-06 11:40:40.426  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 11:40:40.426  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.433  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:40:40.433  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:40:40.433  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:40:40.433  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:40:40.433  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:40:40.433  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.433  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:40:40.433  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:40:40.433  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:40:40.433  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:40.433  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.433  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.433  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.434  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.434  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.440  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:40:40.440  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:40.440  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:40.440  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154b80)
12-06 11:40:40.440  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:40:40.440  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:40:40.440  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:40:40.440  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:40:40.440  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:40:40.440  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:40:40.440  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.440  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154b80
12-06 11:40:40.440  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.440  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.448  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:40.562  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:40:40.562  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:40:40.562  3501  2209 I audio_hw_primary: patch found mix->dev id 2699, patchset 0xefd22c00
12-06 11:40:40.562  3501  2209 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:40:40.562  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:40.562  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:40.562  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:40:40.562  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:40:40.562  3501  2209 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_SPEAKER to OUTPORT_HDMI
12-06 11:40:40.562  3501  2209 E audio_route: unable to find path 'speaker_off'
12-06 11:40:40.562  3501  2209 E audio_hw_primary: aml_audio_output_routing: outport = 2 unsupport
12-06 11:40:40.562  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:40:40.567  3501  6534 D audio-subMixingFactory: [mixer_aux_buffer_write_sm:1153] stream:0xf16e7000, switch from device:0x400 to device:0x2
12-06 11:40:40.567  3501  6534 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:40.567  3501  6534 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:40.567  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:40.567  3501  6534 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:40.567  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.567  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.567  3501  6534 I audio-subMixingFactory: WD1 threshold=20
12-06 11:40:40.593  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:40.626  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:40.675  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:40:40.675  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:40:40.675  3501 10201 I audio_hw_primary: patch found mix->dev id 2700, patchset 0xf11aec00
12-06 11:40:40.675  3501 10201 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:40:40.675  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:40.675  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:40.675  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:40:40.675  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:40:40.675  3501 10201 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_HDMI to OUTPORT_SPEAKER
12-06 11:40:40.675  3501 10201 E audio_hw_primary: aml_audio_output_routing: active_outport = 2 unsupport
12-06 11:40:40.675  3501 10201 D audio_route: Apply path: speaker
12-06 11:40:40.675  3501 10201 E audio_route: unable to find path 'spdif'
12-06 11:40:40.675  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(0)
12-06 11:40:40.676  3501  6534 E audio-subMixingFactory: WD1 reset!
12-06 11:40:40.679  3501  6534 D audio-subMixingFactory: [mixer_aux_buffer_write_sm:1153] stream:0xf16e7000, switch from device:0x2 to device:0x400
12-06 11:40:40.679  3501  6534 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:40.679  3501  6534 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:40.679  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:40.679  3501  6534 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:40.679  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.679  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.679  3501  6534 I audio-subMixingFactory: WD1 threshold=20
12-06 11:40:40.682  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x2) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:40:40.682  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:40:40.682  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.682  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:40:40.682  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.682  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.682  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:40.682  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.682  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.682  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.682  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.682  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:40.682  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154100, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:40:40.682  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:40:40.682  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154100: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:40:40.685  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:40.688  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154100) usecase: [2]PCM_HWSYNC
12-06 11:40:40.690  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.690  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: WD1 threshold=19
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:40.690  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:40.690  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:40.690  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:40.690  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607928320
12-06 11:40:40.690  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:40.690  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:40.690  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:40.706  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:40.714  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:40.716  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x2)
12-06 11:40:40.716  3501 10201 I audio_hw_primary: (0xf1154100)set hw_sync_id 12345678,enable hw sync mode
12-06 11:40:40.716  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:40:40.717  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:40:40.717  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:40:40.717  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:40:40.718  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:40:40.718  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:40.718  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:40.718  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.718  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:40:40.718  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.718  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.719  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:40.719  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.719  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.719  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.719  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.719  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:40:40.719  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:40:40.722  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:40.728  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:40:40.731  3501 10201 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1154480
12-06 11:40:40.731  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.731  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:40.731  3501 10201 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:40:40.732  3501 10201 I audio_hw_primary: out_standby_direct(0xf1154480),out 0xf1154480
12-06 11:40:40.732  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:40.732  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.732  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1154480
12-06 11:40:40.732  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.733  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:40.733  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:40:40.733  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1154480
12-06 11:40:40.733  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.733  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:40:40.734  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:40.734  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1154480
12-06 11:40:40.734  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.734  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:40.735  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:40:40.735  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1154480
12-06 11:40:40.735  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:40.735  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:40:40.735  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:40.736  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.736  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.737  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:40.738  3501 10201 D audio_hw_primary: out_dump(0xf1154480, 21)
12-06 11:40:40.741  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 11:40:40.741  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.750  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:40:40.750  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:40:40.750  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:40.750  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:40:40.750  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:40:40.750  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.750  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:40:40.750  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:40:40.750  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:40.750  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:40.750  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.750  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.750  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.751  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:40:40.751  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:40:40.751  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:40.751  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:40.752  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.752  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:40:40.752  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.752  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.753  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:40.753  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.753  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.753  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.753  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.753  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:40:40.753  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:40:40.758  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:40:40.758  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:40:40.758  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:40:40.760  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:40.769  3501 10201 I audio_hw_primary: out_standby_direct(0xf1154480),out 0xf1154480
12-06 11:40:40.769  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:40.770  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.786  3501  6534 E audio-subMixingFactory: WD1 reset!
12-06 11:40:40.795  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:40:40.795  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153d80
12-06 11:40:40.795  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:40:40.795  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:40.795  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:40.795  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:40.795  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:40.796  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:40.796  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:40:40.796  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:40.796  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:40.796  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:40.796  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:40:40.796  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:40:40.797  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:40.805  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1153d80), left:0.000000 right:0.000000 
12-06 11:40:40.817  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.817  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.819  3501 10201 D audio_hw_primary: out_dump(0xf1154480, 24)
12-06 11:40:40.820  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 11:40:40.820  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.825  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:40:40.826  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:40:40.826  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:40.826  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:40:40.826  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:40:40.826  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:40.826  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:40:40.826  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:40:40.826  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:40.826  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:40.826  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.826  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.826  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.826  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:40:40.826  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.830  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:40:40.830  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:40.830  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:40.830  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:40:40.830  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:40.830  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:40:40.830  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:40:40.830  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:40:40.830  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:40:40.830  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:40.830  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.830  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153d80
12-06 11:40:40.830  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.830  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:40.840  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:40.916  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:40:40.916  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:40:40.916  3501 10201 I audio_hw_primary: patch found mix->dev id 2701, patchset 0xee03a400
12-06 11:40:40.916  3501 10201 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:40:40.916  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:40.916  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:40.916  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:40:40.916  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:40:40.916  3501 10201 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_SPEAKER to OUTPORT_HDMI
12-06 11:40:40.916  3501 10201 E audio_route: unable to find path 'speaker_off'
12-06 11:40:40.916  3501 10201 E audio_hw_primary: aml_audio_output_routing: outport = 2 unsupport
12-06 11:40:40.916  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:40:40.918  3501  6534 D audio-subMixingFactory: [mixer_aux_buffer_write_sm:1153] stream:0xf16e7000, switch from device:0x400 to device:0x2
12-06 11:40:40.918  3501  6534 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:40.918  3501  6534 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:40.918  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:40.918  3501  6534 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:40.918  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.918  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.918  3501  6534 I audio-subMixingFactory: WD1 threshold=20
12-06 11:40:40.920  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:40:40.920  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: WD1 threshold=19
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:40.920  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:40.920  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:40.920  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:40.920  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607938560
12-06 11:40:40.920  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:40.920  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:40.920  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:40.929  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:40.938  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:40.945  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:40.961  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:40.971  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:40.971  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.973  3501 10201 D audio_hw_primary: out_dump(0xf1154100, 20)
12-06 11:40:40.978  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:40.978  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:40.981  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:40:40.981  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:40.986  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:40.986  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:40:40.986  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:40:40.987  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:40:40.987  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154100)
12-06 11:40:40.987  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154100) usecase: [2]PCM_HWSYNC
12-06 11:40:40.987  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:40.987  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:40.987  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:41.010  3501  6534 E audio-subMixingFactory: WD1 reset!
12-06 11:40:41.253  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:40:41.253  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:40:41.253  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:40:41.253  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:40:41.465  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:40:41.465  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:40:41.465  3501 10201 I audio_hw_primary: HDMI format: 0
12-06 11:40:42.528  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:40:42.528  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:40:42.528  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:40:42.532  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2702)
12-06 11:40:42.532  3501 10201 I audio_hw_primary: patch set found id 2702, patchset 0xf11aec00
12-06 11:40:42.532  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:40:42.532  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:40:42.532  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:40:42.532  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:40:42.557  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:40:42.557  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:40:42.557  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:40:42.560  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:40:42.561  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:40:42.561  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:42.561  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:40:42.561  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:40:42.561  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:40:42.561  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:42.561  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:42.562  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:42.562  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:42.562  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:40:42.562  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:42.562  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:42.562  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:42.562  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154100, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:40:42.562  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:40:42.562  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154100: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:40:42.564  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:40:42.570  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154100) usecase: [2]PCM_HWSYNC
12-06 11:40:42.613  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:40:42.613  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:42.613  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:40:42.613  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:42.613  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:40:42.613  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:42.613  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:42.613  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:42.613  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:42.613  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:40:42.613  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:42.613  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:42.613  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:40:42.613  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:40:42.626  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:40:42.633  3501 10201 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153d80
12-06 11:40:42.633  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:42.633  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:42.633  3501 10201 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:40:42.634  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153d80
12-06 11:40:42.634  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:42.634  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:40:42.634  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:40:42.636  3501 10201 I audio_hw_primary: out_standby_direct(0xf1153d80),out 0xf1153d80
12-06 11:40:42.636  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:42.636  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:42.637  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153d80
12-06 11:40:42.637  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:40:42.637  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:40:42.637  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:40:42.639  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:42.639  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.642  3501 10201 D audio_hw_primary: out_dump(0xf1153d80, 21)
12-06 11:40:42.645  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:42.645  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.653  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:40:42.653  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:40:42.653  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:40:42.654  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:40:42.654  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:42.654  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:40:42.654  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:42.654  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:42.654  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:42.654  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:42.654  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:40:42.654  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:42.654  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:42.654  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:40:42.654  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154b80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:40:42.655  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:40:42.655  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:40:42.655  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:40:42.655  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:40:42.655  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:40:42.655  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:42.655  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:40:42.655  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:42.655  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:40:42.655  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:42.655  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:42.655  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:42.655  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:42.656  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:40:42.657  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:40:42.657  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:40:42.664  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:42.670  3501 10201 I audio_hw_primary: out_standby_direct(0xf1154b80),out 0xf1154b80
12-06 11:40:42.670  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:40:42.670  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:42.689  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:40:42.689  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154480
12-06 11:40:42.689  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:40:42.689  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:42.689  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:42.689  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:42.689  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:40:42.690  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:42.690  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:40:42.690  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:42.690  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:42.690  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:42.690  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154480, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:40:42.690  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:40:42.696  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:42.710  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1154480), left:0.000000 right:0.000000 
12-06 11:40:42.719  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:42.719  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.720  3501 10201 D audio_hw_primary: out_dump(0xf1154100, 24)
12-06 11:40:42.722  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:42.722  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.724  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:40:42.724  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:42.724  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:42.724  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:40:42.724  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154100)
12-06 11:40:42.724  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154100) usecase: [2]PCM_HWSYNC
12-06 11:40:42.724  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:42.725  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:42.725  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:42.729  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:42.729  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.731  3501 10201 D audio_hw_primary: out_dump(0xf1154b80, 19)
12-06 11:40:42.734  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:40:42.734  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.736  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:40:42.736  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154b80)
12-06 11:40:42.737  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:40:42.737  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:40:42.737  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:40:42.737  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:40:42.737  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:40:42.737  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:42.737  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:40:42.737  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:40:42.737  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:42.737  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:42.737  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:42.744  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:40:42.747  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:40:42.747  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:40:42.751  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:40:42.751  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:42.751  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:42.751  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:40:42.751  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:40:42.751  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:40:42.751  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:40:42.751  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:40:42.752  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:40:42.752  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:40:42.752  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:42.752  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154480
12-06 11:40:42.752  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:42.752  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:47.171  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:40:47.171  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:40:47.171  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:40:47.180  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:47.352  3501 30241 D audio_hw_primary: adev_open: enter
12-06 11:40:47.352  3501 30241 I audio_hw_primary: adev exsits ,reuse
12-06 11:40:47.352  3501 30241 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:40:47.352  3501 30241 D audio_hw_primary: adev_open: exit, error
12-06 11:40:47.353  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:40:47.354  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:40:47.354  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:47.354  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:47.354  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:47.354  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:40:47.354  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:47.354  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:40:47.354  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:47.355  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:47.355  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:47.355  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154480, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:40:47.355  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:40:47.355  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:40:47.355  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:40:47.355  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:40:47.355  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:40:47.355  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:40:47.355  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:40:47.360  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:47.362  3501  3231 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:47.362  3501  3231 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:40:47.362  3501  3231 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:40:47.362  3501  3231 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:47.362  3501  3231 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:47.362  3501  3231 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:47.362  3501  3231 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:47.362  3501  3231 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:40:47.362  3501  3231 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:47.362  3501  3231 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1154480 input port:[0]PCM_SYSTEM
12-06 11:40:47.362  3501  3231 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:47.363  3501  3231 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:47.363  3501  3231 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:47.363  3501  3231 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:47.363  3501  3231 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:47.377  3501  3231 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:47.386  3501  3231 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:47.394  3501  3231 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:47.410  3501  3231 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:48.182  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:40:49.183  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:40:50.191  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:40:50.774  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:40:50.774  3501 10201 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:40:50.774  3501 10201 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:40:50.802  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:40:52.198  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:52.816  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:53.205  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:53.837  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:54.217  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:54.843  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:55.222  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:40:55.601  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:40:55.601  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:40:55.601  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:40:55.601  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:40:55.601  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:40:55.604  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:40:55.604  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:40:55.604  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:40:55.604  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154b80)
12-06 11:40:55.604  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154b80) usecase: [0]PCM_NORMAL
12-06 11:40:55.604  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:40:55.604  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:40:55.604  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:40:55.604  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:40:55.604  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:40:55.604  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:40:55.604  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:40:55.692  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:40:55.692  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:40:55.692  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:40:55.956  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:40:55.956  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:40:55.956  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:40:55.956  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:40:55.957  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:40:55.957  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:40:55.957  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:40:55.957  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:40:55.957  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:40:55.957  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:40:55.958  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:40:55.958  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:40:55.958  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:40:55.958  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:40:55.958  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:40:55.958  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:40:55.958  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:40:55.958  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:40:55.960  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:40:55.960  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:40:55.960  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:40:55.960  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:40:55.960  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:40:55.965  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:40:55.967  3501  3336 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:40:55.967  3501  3336 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:55.967  3501  3336 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:40:55.967  3501  3336 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:40:55.967  3501  3336 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1154800 input port:[0]PCM_SYSTEM
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: padding_bytes 16384
12-06 11:40:55.967  3501  3336 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: padding_bytes 14336
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: padding_bytes 12288
12-06 11:40:55.967  3501  3336 I audio-subMixingFactory: padding_bytes 10240
12-06 11:40:55.978  3501  3336 I audio-subMixingFactory: padding_bytes 8192
12-06 11:40:55.985  3501  3336 I audio-subMixingFactory: padding_bytes 6144
12-06 11:40:55.994  3501  3336 I audio-subMixingFactory: padding_bytes 4096
12-06 11:40:56.010  3501  3336 I audio-subMixingFactory: padding_bytes 2048
12-06 11:40:56.223  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:40:57.224  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:40:58.228  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:40:59.232  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:00.235  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:01.164  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154800, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:41:01.164  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:41:01.167  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154800, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:41:01.167  3501  2209 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:41:01.167  3501  2209 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:41:01.169  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:41:01.169  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:41:01.170  3501  3336 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:01.178  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154800, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:41:01.178  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:41:01.185  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:41:01.185  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:41:01.245  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:01.536  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:41:01.536  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:41:01.536  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:41:01.536  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:41:01.536  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:41:01.549  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:41:01.549  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:41:01.549  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:41:01.549  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:41:01.549  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [0]PCM_NORMAL
12-06 11:41:01.555  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:41:01.555  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:41:01.555  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:41:01.555  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:41:01.555  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:41:01.556  3501  2209 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:41:01.556  3501  2209 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:41:01.812  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:41:01.812  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:41:01.812  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:41:01.812  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:41:01.812  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:41:01.812  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:41:01.822  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:41:01.822  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:01.822  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:41:01.822  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:607950848
12-06 11:41:01.822  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:41:01.822  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:41:01.822  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:41:01.834  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:41:01.843  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:41:01.850  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:41:01.868  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:41:02.248  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:03.089  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154480, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:41:03.089  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:41:03.090  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154480, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:41:03.090  3501  2209 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:41:03.090  3501  2209 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:41:03.102  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:41:03.102  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:41:03.102  3501  3231 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:03.108  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154480, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:41:03.108  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:41:03.113  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:41:03.113  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:41:03.206  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:41:03.206  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:41:03.206  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:41:03.206  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:41:03.206  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:41:03.210  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:41:03.210  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:41:03.210  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:41:03.210  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:41:03.210  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154480) usecase: [0]PCM_NORMAL
12-06 11:41:03.210  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:41:03.210  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:41:03.210  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:41:03.210  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:41:03.210  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:41:03.210  3501 10201 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:41:03.210  3501 10201 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:41:04.124  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:41:04.124  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:41:04.124  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:41:04.128  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:04.318  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:41:04.318  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:41:04.318  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:41:04.318  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:41:04.320  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:41:04.320  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:41:04.321  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:41:04.321  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:41:04.321  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:41:04.321  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:41:04.321  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:41:04.321  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:41:04.321  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:41:04.321  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:41:04.321  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:41:04.321  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154480, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:41:04.321  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:41:04.321  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:41:04.323  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:41:04.323  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:41:04.323  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:41:04.323  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:41:04.323  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:41:04.327  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:41:04.328  3501  3587 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:41:04.328  3501  3587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:04.328  3501  3587 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:1, format:0x1, rate:48000
12-06 11:41:04.328  3501  3587 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:41:04.328  3501  3587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1154480 input port:[0]PCM_SYSTEM
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: padding_bytes 16384
12-06 11:41:04.328  3501  3587 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: padding_bytes 14336
12-06 11:41:04.328  3501  3587 I audio-subMixingFactory: padding_bytes 12288
12-06 11:41:04.329  3501  3587 I audio-subMixingFactory: padding_bytes 10240
12-06 11:41:04.338  3501  3587 I audio-subMixingFactory: padding_bytes 8192
12-06 11:41:04.346  3501  3587 I audio-subMixingFactory: padding_bytes 6144
12-06 11:41:04.355  3501  3587 I audio-subMixingFactory: padding_bytes 4096
12-06 11:41:04.370  3501  3587 I audio-subMixingFactory: padding_bytes 2048
12-06 11:41:04.815  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:41:04.815  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:41:04.815  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:41:05.129  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:06.130  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:07.131  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:41:07.778  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:41:07.778  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:07.778  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:41:07.778  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:608090112
12-06 11:41:07.778  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:41:07.778  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:41:07.778  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:41:07.793  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:41:07.802  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:41:07.810  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:41:07.826  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:41:08.133  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:09.134  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:10.135  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:10.927  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:41:10.928  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:41:10.928  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:41:11.136  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:41:11.475  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:41:11.475  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:11.475  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:41:11.475  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:608237568
12-06 11:41:11.475  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:41:11.475  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:41:11.475  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:41:11.489  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:41:11.499  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:41:11.505  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:41:11.521  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:41:12.138  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:12.507  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154480, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:41:12.508  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:41:12.509  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154480, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:41:12.510  3501  2209 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:41:12.510  3501  2209 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:41:12.513  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:41:12.513  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:41:12.515  3501  3587 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:41:12.522  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154480, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:41:12.522  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:41:14.633  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:41:14.633  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:41:14.633  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:41:14.633  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:41:25.387  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:41:25.981  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:41:25.981  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:41:25.981  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:41:25.981  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:41:25.981  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:41:25.981  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:41:25.981  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:41:25.982  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:41:25.982  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:41:25.982  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:41:25.982  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:41:25.982  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:41:25.982  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154480, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:41:25.982  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:41:25.982  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154480: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:41:25.989  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:41:25.997  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154480) usecase: [2]PCM_HWSYNC
12-06 11:41:26.027  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:41:26.027  3501 10201 I audio_hw_primary: (0xf1154480)set hw_sync_id 12345678,enable hw sync mode
12-06 11:41:26.027  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:41:26.039  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:41:26.039  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:41:26.039  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:41:26.039  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:41:26.039  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:41:26.039  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:41:26.045  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154480, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:41:26.045  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:41:26.385  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1154480), left:0.000000 right:0.000000 
12-06 11:41:26.391  3501  4037 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:41:26.391  3501  4037 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:41:26.391  3501  4037 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:41:26.391  3501  4037 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:41:26.391  3501  4037 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:41:26.391  3501  4037 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1154480
12-06 11:41:26.397  3501  4037 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:26.399  3501  4037 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:41:26.399  3501  4037 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:41:26.400  3501  4037 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:26.400  3501  4037 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:41:26.405  3501  4037 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:41:26.405  3501  4037 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:41:26.417  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7650, last position 0
12-06 11:41:26.417  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7650
12-06 11:41:26.425  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7650, last position 0
12-06 11:41:26.425  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7650
12-06 11:41:26.433  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7650, last position 0
12-06 11:41:26.433  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7650
12-06 11:41:26.441  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7650, last position 0
12-06 11:41:26.441  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7650
12-06 11:41:26.449  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7650, last position 576
12-06 11:41:26.449  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7650
12-06 11:41:26.457  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7650, last position 576
12-06 11:41:26.457  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7650
12-06 11:41:26.465  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7650, last position 576
12-06 11:41:26.465  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7650
12-06 11:41:26.473  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7650, last position 1664
12-06 11:41:26.473  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7650
12-06 11:41:26.481  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7650, last position 1664
12-06 11:41:26.481  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:41:29.305  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154480, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:41:29.305  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:41:29.306  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154480, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:41:29.306  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:41:29.310  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2704)
12-06 11:41:29.310  3501  2209 I audio_hw_primary: patch set found id 2704, patchset 0xf11aec00
12-06 11:41:29.310  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:41:29.310  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:41:29.310  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:41:29.310  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:41:29.311  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154480) usecase: [2]PCM_HWSYNC
12-06 11:41:29.311  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:41:29.311  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:41:29.311  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:41:29.311  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:41:29.311  3501 10201 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:41:29.311  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:41:29.315  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:41:29.316  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:41:29.317  3501 10201 D audio_hw_primary: out_dump(0xf1154480, 23)
12-06 11:41:29.518  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:41:29.518  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:41:29.521  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:41:29.521  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:41:29.521  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:41:29.521  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:41:29.521  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:41:29.521  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:41:29.535  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154480)
12-06 11:41:29.535  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154480) usecase: [2]PCM_HWSYNC
12-06 11:41:29.535  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:41:29.535  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:41:29.535  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:41:29.607  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:41:29.610  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=85056787124 write=85032000000 diff=24787124
12-06 11:41:42.450  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:43.451  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:41:56.748  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:41:57.213  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:41:57.213  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:41:57.213  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:41:57.213  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:41:57.213  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:41:57.213  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:41:57.213  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:41:57.214  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:41:57.214  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:41:57.214  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:41:57.214  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:41:57.214  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:41:57.214  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:41:57.214  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:41:57.215  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:41:57.217  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:41:57.226  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:41:57.253  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:41:57.253  3501 30241 I audio_hw_primary: (0xf1154800)set hw_sync_id 12345678,enable hw sync mode
12-06 11:41:57.253  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:41:57.261  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:41:57.261  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:41:57.261  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:41:57.261  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:41:57.261  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:41:57.261  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:41:57.266  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154800, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:41:57.266  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:41:57.586  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1154800), left:0.000000 right:0.000000 
12-06 11:41:57.590  3501  4641 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:41:57.590  3501  4641 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:41:57.590  3501  4641 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:41:57.590  3501  4641 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:41:57.590  3501  4641 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:41:57.590  3501  4641 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1154800
12-06 11:41:57.598  3501  4641 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:57.598  3501  4641 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:41:57.598  3501  4641 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:41:57.598  3501  4641 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:41:57.598  3501  4641 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:41:57.598  3501  4641 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:41:57.599  3501  4641 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:41:57.608  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8370, last position 0
12-06 11:41:57.608  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8370
12-06 11:41:57.616  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8370, last position 0
12-06 11:41:57.616  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8370
12-06 11:41:57.624  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8370, last position 0
12-06 11:41:57.624  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8370
12-06 11:41:57.632  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8370, last position 0
12-06 11:41:57.632  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8370
12-06 11:41:57.640  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8370, last position 320
12-06 11:41:57.640  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8370
12-06 11:41:57.648  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8370, last position 320
12-06 11:41:57.648  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8370
12-06 11:41:57.656  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8370, last position 320
12-06 11:41:57.656  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8370
12-06 11:41:57.664  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8370, last position 1280
12-06 11:41:57.664  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8370
12-06 11:41:57.672  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8370, last position 1280
12-06 11:41:57.672  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8370
12-06 11:41:57.680  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8370, last position 1280
12-06 11:41:57.680  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:42:02.658  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154800, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:42:02.658  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:42:02.658  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154800, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:42:02.658  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:42:02.663  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2706)
12-06 11:42:02.663  3501 24515 I audio_hw_primary: patch set found id 2706, patchset 0xefd24800
12-06 11:42:02.663  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:42:02.663  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:42:02.663  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:42:02.663  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:42:02.663  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:42:02.663  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:42:02.663  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:42:02.663  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:42:02.663  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:42:02.663  3501 24515 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:42:02.664  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:42:02.667  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:02.667  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:02.670  3501 30241 D audio_hw_primary: out_dump(0xf1154800, 23)
12-06 11:42:02.872  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:02.872  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:02.874  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:02.874  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:02.874  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:02.874  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:02.874  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:42:02.876  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:42:02.884  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:42:02.884  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:42:02.886  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:02.886  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:02.886  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:18.123  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:42:45.894  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:42:45.894  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:42:45.894  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 11:42:45.996  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:42:45.996  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:42:45.996  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 11:42:46.003  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:42:46.003  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:42:46.003  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 11:42:46.892  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:42:46.892  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:42:46.892  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:42:46.894  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2703)
12-06 11:42:46.894  3501 30241 I audio_hw_primary: patch set found id 2703, patchset 0xefd22c00
12-06 11:42:46.894  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:42:46.894  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:42:46.894  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:42:46.894  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:42:46.922  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:42:46.922  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:42:46.922  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:42:46.923  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:42:46.924  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:42:46.924  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:46.924  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:42:46.924  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:42:46.924  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:42:46.924  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:46.924  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:46.924  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:42:46.924  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:46.924  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:46.924  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:46.924  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:46.924  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:46.925  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:42:46.925  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:42:46.925  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:42:46.927  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:42:46.932  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:42:46.952  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:42:46.952  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:46.952  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:46.952  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:46.952  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:42:46.952  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:46.952  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:46.952  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:42:46.952  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:46.952  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:46.952  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:46.952  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:46.952  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:42:46.952  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:42:46.965  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:42:46.967  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1151000
12-06 11:42:46.967  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:46.967  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:42:46.968  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:42:46.968  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1151000
12-06 11:42:46.968  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:46.968  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:46.968  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:42:46.970  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1151000
12-06 11:42:46.970  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:46.970  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:42:46.970  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:46.971  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1151000
12-06 11:42:46.971  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:46.971  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:46.971  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:42:46.976  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1151000
12-06 11:42:46.976  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:46.976  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:42:46.976  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:46.980  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:46.980  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:46.981  3501 24515 I audio_hw_primary: out_standby_direct(0xf1151000),out 0xf1151000
12-06 11:42:46.981  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:46.981  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:46.983  3501 24515 D audio_hw_primary: out_dump(0xf1151000, 21)
12-06 11:42:46.993  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:46.993  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.003  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:42:47.003  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:42:47.003  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.003  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:42:47.003  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:42:47.003  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.003  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:42:47.003  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.003  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.003  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.003  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.004  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.004  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:42:47.004  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.004  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:42:47.004  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.004  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:47.004  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.004  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:42:47.004  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.004  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.004  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:42:47.004  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.004  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.004  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.004  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.004  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:42:47.004  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:42:47.005  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:42:47.005  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:42:47.005  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:42:47.015  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 11:42:47.015  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.015  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.015  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.031  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:42:47.031  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153680
12-06 11:42:47.032  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:42:47.032  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.032  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.032  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.032  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.033  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.033  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.033  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.033  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.033  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.033  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:42:47.033  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:42:47.036  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:42:47.046  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.710396 right:0.710396 
12-06 11:42:47.055  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.055  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.056  3501  2209 D audio_hw_primary: out_dump(0xf1154800, 24)
12-06 11:42:47.058  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.058  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.059  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:47.060  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.060  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.060  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:47.060  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:42:47.060  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:42:47.060  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.060  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.060  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.062  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.062  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.067  3501  2209 D audio_hw_primary: out_dump(0xf1153a00, 19)
12-06 11:42:47.070  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.070  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.072  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:42:47.072  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:42:47.072  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.072  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:42:47.072  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:42:47.072  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.072  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:42:47.072  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.072  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.072  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.072  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.072  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.072  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.073  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.074  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.076  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:42:47.076  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.076  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.076  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:42:47.076  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.076  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:42:47.076  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:42:47.076  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:42:47.076  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.076  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.076  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.076  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153680
12-06 11:42:47.076  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.076  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.088  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.096  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:42:47.096  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:42:47.096  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:42:47.101  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:42:47.101  3501  3593 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:42:47.101  3501  3593 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:42:47.103  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:42:47.103  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:42:47.103  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.103  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:42:47.103  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:42:47.103  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:42:47.103  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.103  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.104  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.104  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.104  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.104  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.104  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.104  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.104  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:42:47.104  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:42:47.104  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:42:47.105  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:42:47.112  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:42:47.125  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:42:47.125  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.126  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:47.126  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.126  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:42:47.126  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.126  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.126  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.126  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.126  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.126  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.126  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.126  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:42:47.126  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:42:47.133  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:42:47.136  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153a00
12-06 11:42:47.136  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.136  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.136  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:42:47.137  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 11:42:47.137  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.137  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.139  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153a00
12-06 11:42:47.139  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.139  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:47.139  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:42:47.140  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153a00
12-06 11:42:47.140  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.140  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:42:47.140  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:47.141  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153a00
12-06 11:42:47.141  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.141  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:47.141  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:42:47.141  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153a00
12-06 11:42:47.141  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.142  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:42:47.142  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:47.143  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.143  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.145  3501  2209 D audio_hw_primary: out_dump(0xf1153a00, 21)
12-06 11:42:47.146  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.146  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.152  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:42:47.152  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:42:47.153  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.153  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:42:47.153  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:42:47.153  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.153  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:42:47.153  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:42:47.153  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:42:47.153  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.153  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.153  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.153  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.153  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.153  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.153  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.153  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:42:47.153  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.153  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:42:47.153  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.153  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.153  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:42:47.153  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.153  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.153  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.153  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.153  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:42:47.153  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:42:47.154  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:42:47.154  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:42:47.154  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:42:47.168  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.169  3501  3593 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:42:47.170  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.172  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.179  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:42:47.179  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 11:42:47.179  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:42:47.179  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.179  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.179  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.180  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:42:47.180  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.180  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.180  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.180  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.180  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.180  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:42:47.180  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:42:47.181  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:42:47.187  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.710396 right:0.710396 
12-06 11:42:47.193  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.193  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.194  3501  3593 D audio_hw_primary: out_dump(0xf1153680, 24)
12-06 11:42:47.196  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.196  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.198  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:47.198  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.198  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.198  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:47.198  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:42:47.198  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 11:42:47.199  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.199  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.199  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.200  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.200  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.201  3501  3593 D audio_hw_primary: out_dump(0xf1151e00, 19)
12-06 11:42:47.202  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.202  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.203  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:42:47.203  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:42:47.203  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.203  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:42:47.203  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:42:47.203  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.203  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:42:47.203  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.203  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.203  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.203  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.203  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.203  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.204  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.204  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.206  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:42:47.207  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.207  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.207  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:42:47.207  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.207  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:42:47.207  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:42:47.207  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:42:47.207  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.207  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.207  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.207  3501  3593 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152500
12-06 11:42:47.207  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.207  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.216  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.218  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:42:47.218  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:42:47.218  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:42:47.225  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:42:47.226  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:42:47.226  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:42:47.227  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:42:47.227  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:42:47.227  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.227  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:42:47.227  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:42:47.227  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:42:47.227  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.227  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.227  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.227  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.227  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.227  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.227  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.227  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.227  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153a00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:42:47.227  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:42:47.227  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:42:47.228  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:42:47.235  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:42:47.260  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:42:47.260  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.260  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:47.260  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.260  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:42:47.260  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.260  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.260  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.260  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.260  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.260  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.260  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.260  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:42:47.260  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:42:47.268  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:42:47.271  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1154800
12-06 11:42:47.271  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.271  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.271  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:42:47.273  3501  2209 I audio_hw_primary: out_standby_direct(0xf1154800),out 0xf1154800
12-06 11:42:47.273  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.274  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.275  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1154800
12-06 11:42:47.275  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.275  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:47.275  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:42:47.275  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1154800
12-06 11:42:47.275  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.276  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:42:47.276  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:47.276  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1154800
12-06 11:42:47.276  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.276  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:47.276  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:42:47.277  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1154800
12-06 11:42:47.277  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.277  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:42:47.277  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:47.279  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.279  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.280  3501  2209 D audio_hw_primary: out_dump(0xf1154800, 21)
12-06 11:42:47.282  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.282  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.290  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:42:47.290  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:42:47.290  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.290  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:42:47.290  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:42:47.290  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.290  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:42:47.290  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.290  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.290  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.290  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.290  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.290  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.291  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:42:47.291  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:42:47.291  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.291  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:47.291  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.291  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:42:47.291  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.291  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.291  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:42:47.291  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.291  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.291  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.291  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.291  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:42:47.291  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:42:47.294  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:42:47.294  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:42:47.294  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:42:47.300  3501  3593 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:42:47.300  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.301  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.304  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.329  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:42:47.329  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154800
12-06 11:42:47.329  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:42:47.329  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.330  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.330  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.330  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.330  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.330  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.330  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.330  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.330  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.330  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:42:47.330  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:42:47.333  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:42:47.337  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1154800), left:0.710396 right:0.710396 
12-06 11:42:47.341  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.341  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.341  3501  2209 D audio_hw_primary: out_dump(0xf1153a00, 24)
12-06 11:42:47.343  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.343  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.344  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:47.344  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.344  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.344  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:47.344  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:42:47.344  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153a00) usecase: [2]PCM_HWSYNC
12-06 11:42:47.344  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.344  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.344  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.345  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.345  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.346  3501  2209 D audio_hw_primary: out_dump(0xf1152500, 19)
12-06 11:42:47.348  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.348  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.350  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:42:47.350  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:42:47.350  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.350  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:42:47.350  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:42:47.350  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.350  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:42:47.350  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.350  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.350  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.350  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.350  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.350  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.351  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.351  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.352  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:42:47.352  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.352  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.352  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:42:47.352  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.352  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:42:47.359  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.361  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:42:47.361  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:42:47.361  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:42:47.362  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:42:47.362  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:42:47.362  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.362  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.362  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.362  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154800
12-06 11:42:47.362  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.362  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.367  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:42:47.367  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:42:47.367  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:42:47.368  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:42:47.368  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:42:47.368  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.368  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:42:47.368  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:42:47.368  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:42:47.368  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.368  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.368  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.368  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.368  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.368  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.368  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.368  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.368  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:42:47.368  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:42:47.368  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:42:47.370  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:42:47.376  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:42:47.395  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:42:47.395  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.395  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:47.395  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.396  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:42:47.396  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.396  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.396  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.396  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.396  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.396  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.396  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.396  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:42:47.396  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:42:47.404  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:42:47.407  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152500
12-06 11:42:47.407  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.407  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:42:47.407  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:42:47.408  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152500
12-06 11:42:47.408  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.408  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:47.408  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:42:47.409  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152500
12-06 11:42:47.409  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.409  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:42:47.409  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:47.410  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:42:47.411  3501  2209 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:42:47.411  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.411  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.412  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152500
12-06 11:42:47.412  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.412  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:47.412  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:42:47.413  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152500
12-06 11:42:47.413  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:47.413  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:42:47.413  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:47.419  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.419  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.420  3501 30241 D audio_hw_primary: out_dump(0xf1152500, 21)
12-06 11:42:47.428  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.428  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.451  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:42:47.451  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:42:47.451  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:47.451  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:42:47.451  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.452  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:42:47.452  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.452  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.452  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:42:47.452  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.452  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.452  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.452  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.452  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:42:47.452  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:42:47.452  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:42:47.452  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:42:47.452  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.452  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:42:47.452  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:42:47.452  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.452  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:42:47.452  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.452  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.452  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.452  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.452  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.452  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.455  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:42:47.455  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:42:47.455  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:42:47.456  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.464  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 11:42:47.465  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:47.465  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.551  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:42:47.551  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154b80
12-06 11:42:47.552  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:42:47.552  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.552  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.552  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.552  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:42:47.552  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.552  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.552  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.552  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.552  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.552  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154b80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:42:47.552  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154b80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:42:47.573  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:42:47.592  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1154b80), left:0.710396 right:0.710396 
12-06 11:42:47.625  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.625  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.631  3501 30241 D audio_hw_primary: out_dump(0xf1154800, 24)
12-06 11:42:47.633  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.633  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.635  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:47.635  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.635  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.635  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:47.635  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:42:47.635  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:42:47.635  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.635  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.635  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.641  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.641  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.644  3501 30241 D audio_hw_primary: out_dump(0xf1153a00, 19)
12-06 11:42:47.648  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:47.648  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.651  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:42:47.651  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:42:47.651  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.651  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:42:47.651  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:42:47.651  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:47.651  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:42:47.651  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.651  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.651  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:47.651  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.651  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.651  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.652  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:47.652  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:47.656  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:47.657  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:42:47.657  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:47.657  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:47.657  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154b80)
12-06 11:42:47.657  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:42:47.657  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:42:47.659  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:42:47.659  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:42:47.659  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:42:47.659  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:42:47.659  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:47.659  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154b80
12-06 11:42:47.659  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:47.659  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:47.744  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:42:47.744  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:42:47.745  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:47.745  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:42:47.745  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:47.745  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:47.745  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:42:47.745  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:47.745  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:42:47.745  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:47.745  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:47.745  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:47.745  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154b80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:42:47.745  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:42:47.745  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154b80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:42:47.747  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:42:47.751  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154b80) usecase: [2]PCM_HWSYNC
12-06 11:42:47.771  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:42:47.771  3501 30241 I audio_hw_primary: (0xf1154b80)set hw_sync_id 12345678,enable hw sync mode
12-06 11:42:47.771  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:42:47.818  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:42:47.818  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:42:47.818  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:42:47.818  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:42:47.818  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:42:47.818  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:42:47.829  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154b80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:42:47.829  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:42:47.999  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1154b80), left:0.828896 right:0.828896 
12-06 11:42:48.000  3501  5604 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:42:48.000  3501  5604 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:42:48.000  3501  5604 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:42:48.000  3501  5604 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:42:48.000  3501  5604 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:42:48.000  3501  5604 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1154b80
12-06 11:42:48.001  3501  5604 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:42:48.001  3501  5604 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:42:48.001  3501  5604 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:42:48.001  3501  5604 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:42:48.001  3501  5604 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:42:48.103  3501  5604 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:42:48.104  3501  5604 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:42:48.112  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1080, latency 7290, last position 0
12-06 11:42:48.112  3501  3807 I audio_hwsync_cbks: pts32 = 12 latency=7290
12-06 11:42:48.120  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1800, latency 7290, last position 0
12-06 11:42:48.120  3501  3807 I audio_hwsync_cbks: pts32 = 20 latency=7290
12-06 11:42:48.128  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2520, latency 7290, last position 0
12-06 11:42:48.128  3501  3807 I audio_hwsync_cbks: pts32 = 28 latency=7290
12-06 11:42:48.136  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3240, latency 7290, last position 0
12-06 11:42:48.136  3501  3807 I audio_hwsync_cbks: pts32 = 36 latency=7290
12-06 11:42:48.144  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3960, latency 7290, last position 0
12-06 11:42:48.144  3501  3807 I audio_hwsync_cbks: pts32 = 44 latency=7290
12-06 11:42:48.152  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4770, latency 7290, last position 896
12-06 11:42:48.152  3501  3807 I audio_hwsync_cbks: pts32 = 53 latency=7290
12-06 11:42:48.160  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5490, latency 7290, last position 896
12-06 11:42:48.160  3501  3807 I audio_hwsync_cbks: pts32 = 61 latency=7290
12-06 11:42:48.168  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6120, latency 7290, last position 1856
12-06 11:42:48.168  3501  3807 I audio_hwsync_cbks: pts32 = 68 latency=7290
12-06 11:42:48.176  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6840, latency 7290, last position 1856
12-06 11:42:48.176  3501  3807 I audio_hwsync_cbks: pts32 = 76 latency=7290
12-06 11:42:48.184  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7560, latency 7290, last position 1856
12-06 11:42:48.184  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:42:50.936  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:42:50.936  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:42:50.936  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:42:50.936  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 11:42:50.936  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:42:50.936  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:42:50.956  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:42:50.956  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:42:50.956  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:42:50.956  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:608765952
12-06 11:42:50.956  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:42:50.956  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:42:50.956  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:42:50.969  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:42:50.976  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:42:50.986  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:42:51.001  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:42:51.001  3501  5604 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:42:51.001  3501  5604 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:42:51.001  3501  5604 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:42:51.337  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154b80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:42:51.337  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:42:51.338  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154b80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:42:51.338  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:42:51.342  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2708)
12-06 11:42:51.342  3501 30241 I audio_hw_primary: patch set found id 2708, patchset 0xefd22c00
12-06 11:42:51.342  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:42:51.342  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:42:51.342  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:42:51.342  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:42:51.343  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154b80) usecase: [2]PCM_HWSYNC
12-06 11:42:51.343  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:42:51.343  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:42:51.343  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:42:51.343  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:42:51.343  3501 30241 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:42:51.343  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:42:51.346  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:51.346  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:51.348  3501 30241 D audio_hw_primary: out_dump(0xf1154b80, 23)
12-06 11:42:51.372  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:42:51.373  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:42:51.373  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:42:51.549  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:51.549  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:51.555  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:51.555  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:51.555  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:51.555  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:51.555  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:42:51.556  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:42:51.556  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154b80)
12-06 11:42:51.556  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154b80) usecase: [2]PCM_HWSYNC
12-06 11:42:51.556  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:51.556  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:51.556  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:51.728  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:42:51.728  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:42:51.728  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 11:42:51.745  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:42:51.745  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:42:51.745  3501 24515 I audio_hw_primary: patch found mix->dev id 2709, patchset 0xefd26400
12-06 11:42:51.745  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:42:51.745  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:42:51.745  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:42:51.745  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:42:51.745  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 11:42:51.745  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:42:51.745  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:42:52.752  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:42:52.752  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:42:52.752  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:42:52.768  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2710)
12-06 11:42:52.768  3501 30241 I audio_hw_primary: patch set found id 2710, patchset 0xefd24800
12-06 11:42:52.769  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:42:52.769  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:42:52.769  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:42:52.769  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:42:52.782  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:42:52.782  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:42:52.782  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:42:52.783  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:42:52.783  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:42:52.783  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:52.783  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:42:52.783  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:42:52.783  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:42:52.783  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:52.783  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:52.784  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:42:52.784  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:52.784  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:42:52.784  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:52.784  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:52.784  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:52.784  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154b80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:42:52.784  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:42:52.784  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154b80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:42:52.785  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:42:52.792  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154b80) usecase: [2]PCM_HWSYNC
12-06 11:42:52.803  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:42:52.803  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:52.803  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:42:52.803  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:52.803  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:42:52.803  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:52.803  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:52.803  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:42:52.803  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:52.803  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:42:52.803  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:52.803  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:52.803  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:42:52.803  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:42:52.814  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:42:52.816  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153a00
12-06 11:42:52.816  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:52.816  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:42:52.816  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:42:52.817  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 11:42:52.817  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:52.817  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:52.817  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153a00
12-06 11:42:52.817  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:52.817  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:42:52.818  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:42:52.818  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153a00
12-06 11:42:52.818  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:42:52.818  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:42:52.819  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:42:52.822  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:52.822  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.823  3501 30241 D audio_hw_primary: out_dump(0xf1153a00, 21)
12-06 11:42:52.825  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:52.825  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.831  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:42:52.831  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:42:52.831  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:42:52.831  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:42:52.831  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:42:52.831  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:42:52.831  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:42:52.831  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:42:52.831  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:52.831  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:42:52.831  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:42:52.832  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:42:52.832  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:52.832  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:52.832  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:52.832  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:52.832  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:42:52.832  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:52.832  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:42:52.832  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:52.832  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:52.832  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:42:52.832  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:52.832  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:42:52.832  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:52.832  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:52.832  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:42:52.832  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:42:52.835  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:42:52.835  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:42:52.835  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:42:52.840  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:52.840  3501 24515 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:42:52.842  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:42:52.844  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:52.864  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:42:52.864  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151000
12-06 11:42:52.864  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:42:52.864  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:42:52.864  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:42:52.865  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:42:52.865  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:42:52.865  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:42:52.865  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:42:52.865  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:42:52.865  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:42:52.865  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:42:52.865  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:42:52.865  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:42:52.867  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:42:52.873  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.710396 right:0.710396 
12-06 11:42:52.881  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:52.881  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.882  3501 24515 D audio_hw_primary: out_dump(0xf1154b80, 24)
12-06 11:42:52.883  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:52.883  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.884  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:42:52.884  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:52.884  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:52.884  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:42:52.884  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154b80)
12-06 11:42:52.884  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154b80) usecase: [2]PCM_HWSYNC
12-06 11:42:52.884  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:52.884  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:52.884  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:52.885  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:52.885  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.886  3501 30241 D audio_hw_primary: out_dump(0xf1152500, 19)
12-06 11:42:52.889  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:42:52.889  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.892  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:42:52.892  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:42:52.892  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:42:52.892  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:42:52.892  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:42:52.892  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:42:52.892  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:42:52.892  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:42:52.892  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:42:52.892  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:42:52.892  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:52.892  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:52.892  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:52.893  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:42:52.893  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:42:52.895  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:42:52.895  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:42:52.895  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:42:52.895  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:42:52.895  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:42:52.895  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:42:52.895  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:42:52.895  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:42:52.895  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:42:52.895  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:42:52.895  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:42:52.895  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151000
12-06 11:42:52.895  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:42:52.895  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:42:52.904  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:42:53.950  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:42:53.950  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:42:53.950  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:42:53.950  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:43:10.700  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:43:10.700  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:43:10.700  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 11:43:10.807  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:43:10.807  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:43:10.807  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 11:43:10.812  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:43:10.812  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:43:10.812  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 11:43:11.700  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:43:11.700  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:43:11.700  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:43:28.543  3501  3593 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:43:28.543  3501  3593 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:43:28.543  3501  3593 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:43:28.543  3501  3593 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0f68b48
12-06 11:43:28.543  3501  3593 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:43:28.543  3501  3593 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:43:28.551  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:43:28.551  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:43:28.551  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:43:28.551  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:43:28.551  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:43:28.551  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:43:28.551  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:43:28.551  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:609044480
12-06 11:43:28.551  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:43:28.551  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:43:28.552  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:43:28.552  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:43:28.552  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:43:28.552  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:43:28.552  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:43:28.552  3501  6594 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:43:28.552  3501  6594 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:43:28.552  3501  6594 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:43:28.567  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:43:28.574  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:43:28.583  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:43:28.600  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:43:28.976  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152f80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:43:28.976  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:43:28.976  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152f80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:43:28.976  3501  3593 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:43:28.979  3501  3593 I audio_hw_primary: ++adev_release_audio_patch: handle(2714)
12-06 11:43:28.979  3501  3593 I audio_hw_primary: patch set found id 2714, patchset 0xefd24800
12-06 11:43:28.979  3501  3593 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:43:28.979  3501  3593 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:43:28.979  3501  3593 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:43:28.979  3501  3593 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:43:28.980  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152f80) usecase: [2]PCM_HWSYNC
12-06 11:43:28.980  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:43:28.980  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:43:28.980  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:43:28.980  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:43:28.980  3501  3593 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:43:28.980  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:43:28.983  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:28.983  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:28.984  3501  3593 D audio_hw_primary: out_dump(0xf1152f80, 23)
12-06 11:43:28.986  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:28.986  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:28.989  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:43:28.989  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:28.989  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:28.989  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:43:28.989  3501  3593 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:43:28.989  3501  3593 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:43:28.997  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152f80)
12-06 11:43:28.997  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152f80) usecase: [2]PCM_HWSYNC
12-06 11:43:28.997  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:28.998  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:28.998  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:29.009  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:43:29.009  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:43:29.009  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:43:38.528  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:43:38.528  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:43:38.528  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:43:38.528  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:43:38.528  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:43:38.528  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.528  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:43:38.528  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:38.528  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:43:38.528  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:43:38.528  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.528  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.528  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.533  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:43:38.533  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:43:38.533  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:43:38.533  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:43:38.533  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.533  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:43:38.533  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.533  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.533  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:43:38.533  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.533  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.533  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.533  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.533  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:43:38.534  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:43:38.538  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:43:38.538  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:43:38.538  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:43:38.541  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 11:43:38.541  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:43:38.541  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.546  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:43:38.591  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:43:38.591  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7a80
12-06 11:43:38.592  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:43:38.592  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.592  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.592  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.592  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:43:38.592  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.592  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.592  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.592  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.592  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:43:38.592  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:43:38.592  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:43:38.594  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:43:38.611  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7a80), left:0.710396 right:0.710396 
12-06 11:43:38.616  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.616  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.618  3501 24515 D audio_hw_primary: out_dump(0xf1152f80, 24)
12-06 11:43:38.620  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:38.620  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.621  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:43:38.621  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:38.622  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:38.622  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:43:38.622  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152f80)
12-06 11:43:38.622  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152f80) usecase: [2]PCM_HWSYNC
12-06 11:43:38.622  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.622  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.622  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.624  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.624  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.625  3501 24515 D audio_hw_primary: out_dump(0xf16e7700, 19)
12-06 11:43:38.628  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:38.628  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.631  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:43:38.632  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:43:38.632  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:43:38.632  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:43:38.633  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=16747232425 write=16728000000 diff=19232425
12-06 11:43:38.633  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:43:38.633  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.633  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:43:38.633  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:38.633  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:43:38.633  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:43:38.633  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.633  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.633  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.638  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.638  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.640  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:43:38.640  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:38.640  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:38.640  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:43:38.640  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:43:38.640  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:43:38.640  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:43:38.640  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:43:38.640  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:38.640  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:43:38.640  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.640  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7a80
12-06 11:43:38.640  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.640  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.655  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:43:38.666  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:43:38.666  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:43:38.667  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:43:38.680  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=46623916 write=16000000 diff=30623916
12-06 11:43:38.681  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:43:38.681  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:43:38.681  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:43:38.685  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:43:38.685  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:43:38.685  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.685  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:43:38.685  3501  3593 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:43:38.685  3501  3593 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:43:38.685  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.685  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.685  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.685  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.686  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.686  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.686  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.686  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:43:38.686  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:43:38.686  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:43:38.686  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:43:38.687  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:43:38.699  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 11:43:38.720  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:43:38.720  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:43:38.720  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:43:38.720  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.720  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:43:38.720  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.720  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.720  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.720  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.720  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.720  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.720  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.721  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:43:38.721  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:43:38.728  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:43:38.729  3501  3593 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152880
12-06 11:43:38.729  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.730  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.730  3501  3593 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:43:38.730  3501  3593 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152880
12-06 11:43:38.730  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.730  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:43:38.730  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:43:38.731  3501  3593 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152880
12-06 11:43:38.731  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.731  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:43:38.731  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:43:38.731  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152880
12-06 11:43:38.731  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.731  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:43:38.732  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:43:38.733  3501  3593 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 11:43:38.733  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:43:38.733  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.734  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152880
12-06 11:43:38.734  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.735  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:43:38.735  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:43:38.736  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.736  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.738  3501  3593 D audio_hw_primary: out_dump(0xf1152880, 21)
12-06 11:43:38.743  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:38.743  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.749  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:43:38.749  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:43:38.749  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:43:38.749  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:43:38.749  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:43:38.749  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.749  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:43:38.749  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:38.749  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:43:38.749  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:43:38.749  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.749  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.749  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.749  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:43:38.749  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:43:38.749  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:43:38.750  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:43:38.750  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.750  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:43:38.750  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.750  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.750  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.750  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.750  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.750  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.750  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.750  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:43:38.750  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:43:38.752  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:43:38.752  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:43:38.752  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:43:38.759  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:43:38.771  3501  3593 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 11:43:38.771  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:43:38.771  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.779  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:43:38.783  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:43:38.783  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151000
12-06 11:43:38.784  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:43:38.784  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.784  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.784  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.784  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.784  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.784  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.784  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.784  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.785  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:43:38.785  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:43:38.785  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:43:38.789  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:43:38.795  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.710396 right:0.710396 
12-06 11:43:38.812  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.812  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.820  3501  3593 D audio_hw_primary: out_dump(0xf1153300, 24)
12-06 11:43:38.825  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:38.825  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.835  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:43:38.835  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:38.835  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:38.835  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:43:38.835  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:43:38.835  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 11:43:38.835  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.835  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.835  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.838  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.838  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.839  3501  3593 D audio_hw_primary: out_dump(0xf1152880, 19)
12-06 11:43:38.843  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:38.844  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.847  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:43:38.847  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:43:38.847  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:43:38.847  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:43:38.847  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:43:38.847  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.847  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:43:38.847  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:38.847  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:43:38.847  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:43:38.847  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.847  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.847  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.848  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:43:38.868  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.868  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.872  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:43:38.872  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:38.872  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:38.872  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:43:38.872  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:43:38.872  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:43:38.872  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:43:38.872  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:43:38.872  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:38.872  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:43:38.872  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:38.872  3501  3593 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151000
12-06 11:43:38.872  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:38.872  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:38.894  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:43:38.894  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:43:38.895  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:43:38.905  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:43:38.905  3501  3593 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:43:38.905  3501  3593 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:43:38.907  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:43:38.908  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:43:38.908  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.908  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:43:38.908  3501  3593 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:43:38.908  3501  3593 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:43:38.908  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.908  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.908  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.908  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.908  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.908  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.908  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.908  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:43:38.908  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:43:38.908  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:43:38.908  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:43:38.910  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:43:38.916  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 11:43:38.943  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:43:38.943  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:43:38.943  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:43:38.943  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:38.943  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:43:38.943  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:38.943  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:38.943  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:43:38.943  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:38.943  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:38.943  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:38.944  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:38.944  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:43:38.944  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:43:38.968  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:43:38.969  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152880
12-06 11:43:38.969  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.971  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:43:38.971  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:43:38.971  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152880
12-06 11:43:38.971  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.972  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:43:38.972  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:43:38.972  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152880
12-06 11:43:38.972  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.972  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:43:38.972  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:43:38.973  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152880
12-06 11:43:38.973  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.973  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:43:38.973  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:43:38.973  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152880
12-06 11:43:38.973  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:43:38.973  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:43:38.973  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:43:38.975  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:38.976  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:38.977  3501 24515 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 11:43:38.977  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:43:38.981  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:38.983  3501 24515 D audio_hw_primary: out_dump(0xf1152880, 21)
12-06 11:43:39.184  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:39.184  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:39.195  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:43:39.195  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:43:39.195  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:43:39.195  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:43:39.195  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:43:39.195  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:39.195  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:43:39.195  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:39.195  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:43:39.195  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:43:39.195  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:39.195  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:39.195  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:39.207  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:43:39.209  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:43:39.209  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:43:39.209  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:43:39.214  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:43:39.214  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:39.214  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:43:39.214  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:39.214  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:39.214  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:43:39.214  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:39.215  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:39.215  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:39.215  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:39.215  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:43:39.215  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:43:39.215  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:43:39.215  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:43:39.215  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:43:39.219  3501 24515 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 11:43:39.220  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:43:39.220  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:39.254  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:43:39.254  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7a80
12-06 11:43:39.257  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:43:39.257  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:39.257  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:39.257  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:39.258  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:43:39.259  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:39.259  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:39.259  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:39.259  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:39.260  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:43:39.260  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:43:39.260  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:43:39.260  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:43:39.265  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7a80), left:0.710396 right:0.710396 
12-06 11:43:39.276  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:39.276  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:39.277  3501 24515 D audio_hw_primary: out_dump(0xf1151000, 24)
12-06 11:43:39.279  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:39.279  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:39.282  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:43:39.282  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:39.282  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:39.282  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:43:39.282  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:43:39.282  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 11:43:39.282  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:39.282  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:39.282  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:39.284  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:39.284  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:39.290  3501 24515 D audio_hw_primary: out_dump(0xf1152880, 19)
12-06 11:43:39.293  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:43:39.293  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:39.295  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:43:39.295  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:43:39.295  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:43:39.295  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:43:39.295  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:43:39.295  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:43:39.295  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:43:39.295  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:39.295  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:43:39.295  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:43:39.295  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:39.295  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:39.295  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:39.295  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:43:39.295  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:43:39.303  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:43:39.306  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:43:39.307  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:43:39.307  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:43:39.307  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:43:39.307  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:43:39.307  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:43:39.307  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:43:39.307  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:43:39.307  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:43:39.307  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:43:39.307  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:43:39.307  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7a80
12-06 11:43:39.307  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:43:39.307  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:43:39.312  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:43:39.312  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:43:39.312  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:43:39.312  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:43:39.312  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:43:39.312  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:43:39.312  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:43:39.313  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:43:39.313  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:43:39.313  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:43:39.313  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:43:39.313  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:43:39.313  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:43:39.313  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:43:39.313  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:43:39.314  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:43:39.319  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 11:43:39.341  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:43:39.342  3501  3593 I audio_hw_primary: (0xf16e7a80)set hw_sync_id 12345678,enable hw sync mode
12-06 11:43:39.342  3501  3593 I audio_hw_primary: init hal mixer when hwsync
12-06 11:43:39.352  3501  3593 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:43:39.352  3501  3593 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:43:39.352  3501  3593 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:43:39.352  3501  3593 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0f68b48
12-06 11:43:39.352  3501  3593 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:43:39.352  3501  3593 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:43:39.360  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7a80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:43:39.360  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:43:39.681  3501  7234 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:43:39.681  3501  7234 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:43:39.696  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2070, latency 7290, last position 0
12-06 11:43:39.696  3501  3807 I audio_hwsync_cbks: pts32 = 23 latency=7290
12-06 11:43:39.704  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2790, latency 7290, last position 0
12-06 11:43:39.704  3501  3807 I audio_hwsync_cbks: pts32 = 31 latency=7290
12-06 11:43:39.712  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 11:43:39.712  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 11:43:39.720  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 11:43:39.720  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 11:43:39.728  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 576
12-06 11:43:39.728  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 11:43:39.736  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 576
12-06 11:43:39.736  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 11:43:39.744  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 1600
12-06 11:43:39.744  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 11:43:39.752  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7110, latency 7290, last position 1600
12-06 11:43:39.752  3501  3807 I audio_hwsync_cbks: pts32 = 79 latency=7290
12-06 11:43:39.760  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7830, latency 7290, last position 1600
12-06 11:43:39.760  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 11:43:42.017  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:43:42.025  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:43:42.033  3501  7234 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:43:42.033  3501  7234 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:43:42.033  3501  7234 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:43:42.033  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:43:42.049  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:44:08.727  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:44:08.727  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:44:08.727  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:44:08.732  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:44:08.896  3501 24515 D audio_hw_primary: adev_open: enter
12-06 11:44:08.896  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 11:44:08.896  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:44:08.896  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 11:44:08.897  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:44:08.897  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:44:08.897  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:44:08.897  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:44:08.897  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:44:08.897  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:44:08.898  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:44:08.898  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:44:08.898  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:44:08.898  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:44:08.898  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:44:08.898  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:44:08.898  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:44:08.898  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:44:08.899  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:44:08.899  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:44:08.899  3501 24515 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:44:08.899  3501 24515 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:44:08.899  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:44:08.903  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:44:08.904  3501  7919 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:44:08.904  3501  7919 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:44:08.904  3501  7919 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:44:08.904  3501  7919 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:44:08.904  3501  7919 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:44:08.904  3501  7919 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:08.905  3501  7919 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:44:08.905  3501  7919 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:44:08.905  3501  7919 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:08.905  3501  7919 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1154800 input port:[0]PCM_SYSTEM
12-06 11:44:08.905  3501  7919 I audio-subMixingFactory: padding_bytes 16384
12-06 11:44:08.905  3501  7919 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:44:08.905  3501  7919 I audio-subMixingFactory: padding_bytes 14336
12-06 11:44:08.905  3501  7919 I audio-subMixingFactory: padding_bytes 12288
12-06 11:44:08.905  3501  7919 I audio-subMixingFactory: padding_bytes 10240
12-06 11:44:08.921  3501  7919 I audio-subMixingFactory: padding_bytes 8192
12-06 11:44:08.929  3501  7919 I audio-subMixingFactory: padding_bytes 6144
12-06 11:44:08.936  3501  7919 I audio-subMixingFactory: padding_bytes 4096
12-06 11:44:08.953  3501  7919 I audio-subMixingFactory: padding_bytes 2048
12-06 11:44:09.734  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:44:10.735  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:44:12.154  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:44:12.156  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:44:12.156  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:44:12.156  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:44:14.219  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:44:14.219  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:44:14.219  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:44:14.219  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:44:14.219  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:44:14.219  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:14.220  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:44:14.220  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:609429504
12-06 11:44:14.220  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:14.220  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:44:14.220  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:44:14.220  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:44:14.220  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:44:14.220  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:44:14.220  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:44:14.232  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:44:14.241  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:44:14.249  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:44:14.264  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:44:24.241  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:44:24.241  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:44:24.241  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:44:24.241  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:44:31.806  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:44:31.806  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:31.806  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:44:31.806  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:609906688
12-06 11:44:31.806  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:44:31.806  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:44:31.806  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:44:31.816  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:44:31.825  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:44:31.833  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:44:31.848  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:44:34.951  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:44:34.951  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:44:34.951  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:44:34.951  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:44:46.512  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, audio_echo_decay=100)
12-06 11:44:46.512  3501  3593 I audio_hw_primary: adev_set_parameters(kv: audio_echo_decay=100)
12-06 11:44:46.512  3501  3593 D eagle_echo: [echo_set_parameters] floatDelayTime=0.160000, feedback_fac=38, live_fac=90
12-06 11:44:46.512  3501  3593 D eagle_echo: [echo_set_parameters] fNumFrames=7680.000000, sampleRate_=48000.000000, sampleCount=15360
12-06 11:44:46.512  3501  3593 D eagle_echo: [echo_set_parameters] bytePerSample=2, bytePerFrame=4
12-06 11:44:46.512  3501  3593 D eagle_echo: [echo_set_parameters] buf_capacity=30720
12-06 11:44:46.513  3501  3593 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 11:44:46.513  3501  3593 I audio_hw_primary: adev_set_parameters, ret=-2, value=100
12-06 11:44:46.513  3501  3593 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return Result::NOT_SUPPORTED (4) instead of other error code.
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:44:51.976  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:44:51.976  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:51.976  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:44:51.976  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:610054144
12-06 11:44:51.976  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:44:51.976  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:44:51.976  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:44:51.985  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:44:51.992  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:44:52.001  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:44:52.017  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:44:55.118  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:44:55.118  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:44:55.118  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:44:55.118  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:44:57.192  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:44:57.192  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:44:57.192  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:44:57.192  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:44:57.192  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:44:57.192  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:57.192  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:44:57.192  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:610201600
12-06 11:44:57.192  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:44:57.192  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:44:57.192  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:44:57.193  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:44:57.193  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:44:57.193  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:44:57.193  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:44:57.208  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:44:57.216  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:44:57.224  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:44:57.240  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:45:00.343  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:45:00.343  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:45:00.343  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:45:00.343  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:45:02.805  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:45:02.805  3501  3593 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:45:02.805  3501  3593 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:45:02.810  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:45:03.086  3501  3593 D audio_hw_primary: adev_open: enter
12-06 11:45:03.086  3501  3593 I audio_hw_primary: adev exsits ,reuse
12-06 11:45:03.086  3501  3593 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:45:03.086  3501  3593 D audio_hw_primary: adev_open: exit, error
12-06 11:45:03.092  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:45:03.092  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:45:03.092  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:45:03.092  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:45:03.092  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:45:03.092  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:45:03.092  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:45:03.092  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:45:03.092  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:45:03.092  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:45:03.092  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:45:03.092  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1155600, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:45:03.092  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:45:03.092  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155600: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:45:03.093  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:45:03.093  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:45:03.093  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:45:03.093  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:45:03.093  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:45:03.099  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:45:03.101  3501  9014 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:45:03.101  3501  9014 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:03.101  3501  9014 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:45:03.101  3501  9014 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:45:03.101  3501  9014 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1155600 input port:[0]PCM_SYSTEM
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: padding_bytes 16384
12-06 11:45:03.101  3501  9014 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: padding_bytes 14336
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: padding_bytes 12288
12-06 11:45:03.101  3501  9014 I audio-subMixingFactory: padding_bytes 10240
12-06 11:45:03.112  3501  9014 I audio-subMixingFactory: padding_bytes 8192
12-06 11:45:03.121  3501  9014 I audio-subMixingFactory: padding_bytes 6144
12-06 11:45:03.129  3501  9014 I audio-subMixingFactory: padding_bytes 4096
12-06 11:45:03.144  3501  9014 I audio-subMixingFactory: padding_bytes 2048
12-06 11:45:03.811  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:04.812  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:05.813  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:45:06.337  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:45:06.337  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:06.337  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:45:06.337  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:610349056
12-06 11:45:06.337  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:45:06.337  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:45:06.337  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:45:06.354  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:45:06.361  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:45:06.369  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:45:06.385  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:45:06.815  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:07.817  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:08.818  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:09.821  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:10.822  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:11.279  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:45:11.279  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:45:11.279  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:45:11.823  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:12.824  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:13.825  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:17.392  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:45:17.392  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:45:17.392  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:45:17.392  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:45:37.015  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:45:37.076  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=118396003890 write=118352000000 diff=44003890
12-06 11:45:40.269  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:45:40.269  3501  2209 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:45:40.269  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:45:40.269  3501  2209 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:45:42.281  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:45:42.281  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:45:42.281  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:45:42.286  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:42.583  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:45:42.583  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:45:42.583  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:45:42.583  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:45:42.584  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:45:42.584  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:45:42.584  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:45:42.584  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:45:42.584  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:45:42.584  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:45:42.585  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:45:42.585  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:45:42.585  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:45:42.585  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:45:42.585  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:45:42.585  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1155600, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:45:42.585  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:45:42.585  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155600: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:45:42.585  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:45:42.585  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:45:42.586  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:45:42.586  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:45:42.586  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:45:42.589  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:45:42.591  3501  9546 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:45:42.591  3501  9546 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:42.591  3501  9546 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:45:42.591  3501  9546 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:45:42.591  3501  9546 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1155600 input port:[0]PCM_SYSTEM
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: padding_bytes 16384
12-06 11:45:42.591  3501  9546 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: padding_bytes 14336
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: padding_bytes 12288
12-06 11:45:42.591  3501  9546 I audio-subMixingFactory: padding_bytes 10240
12-06 11:45:42.604  3501  9546 I audio-subMixingFactory: padding_bytes 8192
12-06 11:45:42.613  3501  9546 I audio-subMixingFactory: padding_bytes 6144
12-06 11:45:42.620  3501  9546 I audio-subMixingFactory: padding_bytes 4096
12-06 11:45:42.636  3501  9546 I audio-subMixingFactory: padding_bytes 2048
12-06 11:45:43.287  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:44.287  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:45.288  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:45.777  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:45:45.777  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:45:45.777  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:45:45.787  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:46.080  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:45:46.080  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:45:46.080  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:45:46.080  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:45:46.081  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:45:46.082  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:45:46.082  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:45:46.083  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:45:46.083  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:45:46.084  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:45:46.084  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:45:46.084  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:45:46.084  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:45:46.084  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:45:46.084  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:45:46.085  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:45:46.085  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:45:46.085  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:45:46.088  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:45:46.088  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:45:46.088  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:45:46.088  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:45:46.089  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:45:46.151  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:45:46.160  3501  9587 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:45:46.160  3501  9587 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:45:46.160  3501  9587 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:45:46.160  3501  9587 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:45:46.160  3501  9587 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:45:46.160  3501  9587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:46.160  3501  9587 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:45:46.160  3501  9587 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:45:46.161  3501  9587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:46.161  3501  9587 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1154800 input port:[0]PCM_SYSTEM
12-06 11:45:46.161  3501  9587 I audio-subMixingFactory: padding_bytes 16384
12-06 11:45:46.161  3501  9587 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:45:46.161  3501  9587 I audio-subMixingFactory: padding_bytes 14336
12-06 11:45:46.161  3501  9587 I audio-subMixingFactory: padding_bytes 12288
12-06 11:45:46.161  3501  9587 I audio-subMixingFactory: padding_bytes 10240
12-06 11:45:46.183  3501  9587 I audio-subMixingFactory: padding_bytes 8192
12-06 11:45:46.183  3501  9587 I audio-subMixingFactory: padding_bytes 6144
12-06 11:45:46.189  3501  9587 I audio-subMixingFactory: padding_bytes 4096
12-06 11:45:46.207  3501  9587 I audio-subMixingFactory: padding_bytes 2048
12-06 11:45:46.290  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:45:46.800  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:47.298  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:47.804  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:48.311  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:48.824  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:49.316  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:49.393  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154800, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:45:49.393  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:45:49.394  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154800, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:45:49.394  3501  2209 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:45:49.394  3501  2209 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:45:49.632  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:45:49.632  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:45:49.632  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:45:49.632  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=1
12-06 11:45:49.632  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:45:49.634  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:45:49.634  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:45:49.634  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:45:49.634  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:45:49.634  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [0]PCM_NORMAL
12-06 11:45:49.634  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:45:49.634  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:45:49.634  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:45:49.634  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:45:49.634  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:45:49.635  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=5
12-06 11:45:49.635  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:45:50.328  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:51.331  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:45:51.817  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:45:51.817  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:51.817  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:45:51.817  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:610871296
12-06 11:45:51.817  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:45:51.817  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:45:51.817  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:45:51.829  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:45:51.836  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:45:51.845  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:45:51.861  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:45:52.332  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:45:52.779  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1155600, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:45:52.779  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:45:52.796  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:45:52.796  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:45:52.796  3501  9546 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:45:52.799  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1155600, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:45:52.799  3501  2209 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:45:52.799  3501  2209 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:45:52.803  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1155600, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:45:52.803  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:45:52.804  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:45:52.804  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:45:52.859  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:45:52.859  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:45:52.859  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:45:52.859  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:45:52.859  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:45:52.861  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:45:52.861  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:45:52.862  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:45:52.862  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1155600)
12-06 11:45:52.862  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1155600) usecase: [0]PCM_NORMAL
12-06 11:45:52.862  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:45:52.862  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:45:52.862  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:45:52.862  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:45:52.862  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:45:52.862  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:45:52.862  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:45:53.232  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=16155791550 write=16144000000 diff=11791550
12-06 11:45:54.829  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:45:54.829  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:45:54.829  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:45:54.829  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:46:07.173  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:46:07.173  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:46:07.173  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 11:46:07.272  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:46:07.273  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:46:07.273  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 11:46:07.278  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:46:07.278  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:46:07.278  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 11:46:08.170  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:46:08.170  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:46:08.170  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:46:08.172  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2724)
12-06 11:46:08.172  3501 30241 I audio_hw_primary: patch set found id 2724, patchset 0xf11ee400
12-06 11:46:08.172  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:46:08.172  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:46:08.172  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:46:08.172  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:46:08.201  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:46:08.201  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:46:08.201  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:46:08.202  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:46:08.202  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:46:08.202  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.202  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:46:08.202  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:46:08.202  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:46:08.202  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.202  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.203  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:08.203  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.203  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.203  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.203  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.203  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:08.203  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154800, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:46:08.203  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:46:08.203  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154800: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:46:08.204  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:46:08.215  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:46:08.240  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:46:08.240  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:46:08.241  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:46:08.241  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.241  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:46:08.241  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.241  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.241  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:08.241  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.241  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.241  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.241  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.241  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:46:08.241  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:46:08.248  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:46:08.250  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153d80
12-06 11:46:08.250  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.250  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:08.250  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:46:08.251  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153d80
12-06 11:46:08.251  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.251  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:46:08.251  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:46:08.251  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153d80
12-06 11:46:08.251  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.251  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:46:08.252  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:46:08.252  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153d80
12-06 11:46:08.252  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.252  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:46:08.252  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:46:08.252  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153d80
12-06 11:46:08.252  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.252  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:46:08.253  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:46:08.255  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.255  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.255  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153d80),out 0xf1153d80
12-06 11:46:08.255  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:46:08.255  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.257  3501 30241 D audio_hw_primary: out_dump(0xf1153d80, 21)
12-06 11:46:08.259  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:08.259  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.266  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:46:08.266  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:46:08.266  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:46:08.266  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:46:08.266  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:46:08.266  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.266  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:46:08.266  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:46:08.266  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:46:08.266  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:46:08.266  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:46:08.266  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:46:08.266  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:46:08.266  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.266  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.266  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.266  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:46:08.266  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.266  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:46:08.266  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.266  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.266  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:46:08.266  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.267  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.267  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.267  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.267  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:46:08.267  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155600: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:46:08.269  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:46:08.269  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:46:08.269  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:46:08.272  3501  2209 I audio_hw_primary: out_standby_direct(0xf1155600),out 0xf1155600
12-06 11:46:08.272  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:46:08.272  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.279  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:46:08.303  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:46:08.303  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152880
12-06 11:46:08.303  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:46:08.303  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.303  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.303  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.304  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:46:08.304  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.304  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.304  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.304  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.304  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:08.304  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:46:08.304  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:46:08.308  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:46:08.311  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1152880), left:0.710396 right:0.710396 
12-06 11:46:08.315  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.315  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.317  3501  2209 D audio_hw_primary: out_dump(0xf1154800, 24)
12-06 11:46:08.319  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:08.319  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.320  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:46:08.320  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:08.320  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:08.320  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:46:08.320  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154800)
12-06 11:46:08.320  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154800) usecase: [2]PCM_HWSYNC
12-06 11:46:08.320  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.320  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.320  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.321  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.321  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.323  3501  2209 D audio_hw_primary: out_dump(0xf1155600, 19)
12-06 11:46:08.324  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:08.324  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.324  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:46:08.324  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1155600)
12-06 11:46:08.324  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:46:08.324  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:46:08.324  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:46:08.324  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.324  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:46:08.324  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:46:08.324  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:46:08.324  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:46:08.324  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.325  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.325  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.325  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.325  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.328  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:46:08.328  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:08.328  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:08.328  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:46:08.328  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:46:08.328  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:46:08.335  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:46:08.337  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:46:08.338  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:46:08.338  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:46:08.338  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:46:08.338  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.338  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152880
12-06 11:46:08.338  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.338  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.340  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:46:08.340  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:46:08.340  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:46:08.347  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:46:08.347  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:46:08.347  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:46:08.348  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:46:08.348  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:46:08.348  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.348  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:46:08.348  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:46:08.348  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:46:08.348  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.348  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.348  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:08.349  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.349  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.349  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.349  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.349  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:08.349  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:46:08.349  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:46:08.349  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:46:08.352  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:46:08.357  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:46:08.392  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:46:08.392  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:46:08.393  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:46:08.393  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.393  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:46:08.393  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.393  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.394  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:08.394  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.394  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.394  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.394  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.395  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:46:08.395  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:46:08.404  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:46:08.405  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7380
12-06 11:46:08.405  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.406  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:46:08.406  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:46:08.407  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7380
12-06 11:46:08.407  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.407  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:46:08.407  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:46:08.407  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7380
12-06 11:46:08.407  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.407  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:46:08.408  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:46:08.408  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7380
12-06 11:46:08.408  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.408  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:46:08.408  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:46:08.409  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7380
12-06 11:46:08.409  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:08.409  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:46:08.409  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:46:08.411  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.411  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.412  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 11:46:08.412  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:46:08.412  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.414  3501  2209 D audio_hw_primary: out_dump(0xf16e7380, 21)
12-06 11:46:08.416  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:08.416  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.423  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:46:08.423  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 11:46:08.423  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:46:08.423  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:46:08.423  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:46:08.423  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.423  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:46:08.423  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:46:08.423  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:46:08.423  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:46:08.423  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.423  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.423  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.423  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:46:08.423  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:46:08.423  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:46:08.423  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:46:08.423  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.423  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:46:08.423  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.423  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.424  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:46:08.424  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.424  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.424  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.424  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.424  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:46:08.424  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155280: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:46:08.426  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:46:08.426  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:46:08.426  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:46:08.431  3501 24515 I audio_hw_primary: out_standby_direct(0xf1155280),out 0xf1155280
12-06 11:46:08.431  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:46:08.431  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:46:08.436  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.452  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:46:08.452  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf1154f00
12-06 11:46:08.453  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:46:08.453  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.453  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.453  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.453  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:46:08.453  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.453  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.453  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.453  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.453  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:08.453  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154f00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:46:08.453  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154f00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:46:08.455  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:46:08.461  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1154f00), left:0.710396 right:0.710396 
12-06 11:46:08.468  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.469  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.469  3501 24515 D audio_hw_primary: out_dump(0xf1153d80, 24)
12-06 11:46:08.471  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:08.471  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.475  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:46:08.475  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:08.475  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:08.475  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:46:08.475  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 11:46:08.475  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 11:46:08.475  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.475  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.475  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.476  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.476  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.477  3501 24515 D audio_hw_primary: out_dump(0xf1155280, 19)
12-06 11:46:08.478  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:08.478  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.480  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:46:08.480  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1155280)
12-06 11:46:08.480  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:46:08.480  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:46:08.480  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:46:08.480  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:08.480  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:46:08.481  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:46:08.481  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:46:08.481  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:46:08.481  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.481  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.481  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.481  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:08.481  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:08.484  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:46:08.484  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:08.484  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:08.484  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:46:08.484  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:46:08.484  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:46:08.484  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:46:08.484  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:46:08.484  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:46:08.484  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:46:08.484  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:08.484  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1154f00
12-06 11:46:08.484  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:08.484  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:08.495  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:46:08.602  3501 24515 I audio_hw_primary: get hwsync id
12-06 11:46:08.904  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:46:08.904  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:46:08.904  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:08.904  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:46:08.904  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:08.904  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:08.905  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:46:08.905  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:08.905  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:46:08.905  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:08.905  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:08.905  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:08.905  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154f00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:46:08.905  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:46:08.905  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154f00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:46:08.907  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:46:08.910  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:46:08.928  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:46:08.928  3501 24515 I audio_hw_primary: (0xf1154f00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:46:08.928  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 11:46:08.934  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:46:08.934  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:46:08.934  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:46:08.934  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:46:08.934  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:46:08.934  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:46:08.944  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154f00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:46:08.944  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:46:09.135  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1154f00), left:0.828896 right:0.828896 
12-06 11:46:09.138  3501 10027 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:46:09.138  3501 10027 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:46:09.138  3501 10027 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:46:09.138  3501 10027 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:46:09.138  3501 10027 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:46:09.139  3501 10027 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1154f00
12-06 11:46:09.139  3501 10027 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:46:09.139  3501 10027 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:46:09.139  3501 10027 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:46:09.139  3501 10027 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:46:09.139  3501 10027 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:46:09.245  3501 10027 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:46:09.245  3501 10027 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:46:09.256  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2520, latency 7290, last position 0
12-06 11:46:09.256  3501  3807 I audio_hwsync_cbks: pts32 = 28 latency=7290
12-06 11:46:09.264  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3240, latency 7290, last position 0
12-06 11:46:09.264  3501  3807 I audio_hwsync_cbks: pts32 = 36 latency=7290
12-06 11:46:09.272  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3960, latency 7290, last position 0
12-06 11:46:09.272  3501  3807 I audio_hwsync_cbks: pts32 = 44 latency=7290
12-06 11:46:09.280  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4680, latency 7290, last position 0
12-06 11:46:09.280  3501  3807 I audio_hwsync_cbks: pts32 = 52 latency=7290
12-06 11:46:09.288  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5400, latency 7290, last position 768
12-06 11:46:09.288  3501  3807 I audio_hwsync_cbks: pts32 = 60 latency=7290
12-06 11:46:09.296  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6210, latency 7290, last position 768
12-06 11:46:09.296  3501  3807 I audio_hwsync_cbks: pts32 = 69 latency=7290
12-06 11:46:09.304  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6930, latency 7290, last position 768
12-06 11:46:09.304  3501  3807 I audio_hwsync_cbks: pts32 = 77 latency=7290
12-06 11:46:09.312  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7560, latency 7290, last position 1728
12-06 11:46:09.312  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:46:10.069  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:46:10.069  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:46:10.069  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:46:10.069  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 11:46:10.069  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:46:10.069  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:46:10.080  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:46:10.080  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:46:10.080  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:46:10.080  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:46:10.081  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:46:10.081  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:46:10.081  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:46:10.081  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:611061760
12-06 11:46:10.081  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:46:10.081  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:46:10.081  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:46:10.081  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:46:10.081  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:46:10.081  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:46:10.081  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:46:10.097  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:46:10.105  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:46:10.105  3501 10027 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:46:10.105  3501 10027 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:46:10.105  3501 10027 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:46:10.113  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:46:10.129  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:46:10.489  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:46:10.489  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:46:10.490  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:46:10.490  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:46:10.496  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:46:10.496  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:46:10.496  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:46:10.496  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:46:10.496  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:46:10.496  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:46:10.496  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:46:10.504  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:46:10.504  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:46:10.504  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:46:10.504  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:46:10.504  3501  3807 D aml_audio_port: inport_reset()
12-06 11:46:10.504  3501  3807 I amlaudioMixer: [mixer_inports_read:714] input port:[1]PCM_DIRECT flushing->flushed
12-06 11:46:10.516  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2726)
12-06 11:46:10.516  3501 30241 I audio_hw_primary: patch set found id 2726, patchset 0xf11ee400
12-06 11:46:10.516  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:46:10.516  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:46:10.516  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:46:10.516  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:46:10.516  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:46:10.516  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:46:10.516  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:46:10.516  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:46:10.525  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:10.525  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:10.527  3501 30241 D audio_hw_primary: out_dump(0xf1154f00, 23)
12-06 11:46:10.529  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:10.529  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:10.534  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:46:10.534  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:10.534  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:10.534  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:46:10.534  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:46:10.535  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:46:10.537  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:46:10.537  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:46:10.538  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:10.538  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:10.538  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:10.539  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:46:10.539  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:46:10.539  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:46:10.825  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:46:10.825  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:46:10.825  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 11:46:10.835  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:46:10.835  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:46:10.835  3501 30241 I audio_hw_primary: patch found mix->dev id 2727, patchset 0xf11e9000
12-06 11:46:10.835  3501 30241 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:46:10.835  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:46:10.835  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:46:10.835  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:46:10.835  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:46:10.835  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:46:10.835  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:46:11.590  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:46:11.594  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=18361822758 write=18336000000 diff=25822758
12-06 11:46:11.840  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:46:11.840  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:46:11.840  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:46:11.843  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2728)
12-06 11:46:11.843  3501 24515 I audio_hw_primary: patch set found id 2728, patchset 0xf11ee400
12-06 11:46:11.843  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:46:11.843  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:46:11.843  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:46:11.843  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:46:11.873  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:46:11.873  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:46:11.873  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:46:11.874  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:46:11.875  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:46:11.875  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:11.875  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:46:11.875  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:46:11.875  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:46:11.875  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:11.875  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:11.875  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:46:11.875  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:11.875  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:46:11.875  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:11.875  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:11.875  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:11.875  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:46:11.875  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:46:11.875  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:46:11.878  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:46:11.883  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 11:46:11.904  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:46:11.904  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:46:11.904  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:46:11.904  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:11.904  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:46:11.904  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:11.904  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:11.904  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:11.904  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:11.904  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:46:11.904  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:11.904  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:11.904  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:46:11.904  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154f00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:46:11.912  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:46:11.914  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1154f00
12-06 11:46:11.914  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:11.914  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:11.914  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:46:11.916  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1154f00
12-06 11:46:11.916  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:11.916  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:46:11.917  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:46:11.920  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1154f00
12-06 11:46:11.920  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:46:11.921  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:46:11.921  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:46:11.922  3501 24515 I audio_hw_primary: out_standby_direct(0xf1154f00),out 0xf1154f00
12-06 11:46:11.922  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:46:11.922  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:11.923  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:11.923  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:11.925  3501  2209 D audio_hw_primary: out_dump(0xf1154f00, 21)
12-06 11:46:11.928  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:11.928  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:11.941  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:46:11.941  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:46:11.941  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:46:11.941  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:46:11.941  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:46:11.941  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:11.941  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:46:11.941  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:46:11.941  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:46:11.941  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:46:11.941  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:11.941  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:11.941  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:11.942  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:46:11.942  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:46:11.942  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:46:11.942  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:46:11.942  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:11.942  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:46:11.942  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:11.942  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:11.943  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:11.943  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:11.943  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:46:11.943  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:11.943  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:11.943  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:46:11.943  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:46:11.951  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:46:11.951  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:46:11.951  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:46:11.953  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:46:11.965  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 11:46:11.965  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:46:11.965  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:11.996  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:46:11.996  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153a00
12-06 11:46:11.997  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:46:11.997  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:11.998  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:11.998  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:11.998  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:46:11.999  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:11.999  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:46:11.999  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:11.999  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:11.999  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:11.999  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153a00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:46:11.999  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:46:12.000  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:46:12.007  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1153a00), left:0.710396 right:0.710396 
12-06 11:46:12.019  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:12.019  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:12.020  3501 30241 D audio_hw_primary: out_dump(0xf16e7380, 24)
12-06 11:46:12.025  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:12.025  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:12.027  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:46:12.027  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:12.027  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:12.027  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:46:12.027  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 11:46:12.027  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 11:46:12.027  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:12.027  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:12.027  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:12.029  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:12.029  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:12.030  3501 30241 D audio_hw_primary: out_dump(0xf1153300, 19)
12-06 11:46:12.035  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:46:12.035  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:12.038  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:46:12.038  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:46:12.038  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:46:12.038  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:46:12.038  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:46:12.038  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:46:12.038  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:46:12.038  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:46:12.038  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:46:12.038  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:46:12.038  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:12.038  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:12.038  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:12.040  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:46:12.040  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:46:12.044  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:46:12.044  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:46:12.044  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:46:12.044  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 11:46:12.044  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:46:12.045  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:46:12.049  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:46:12.063  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:46:12.063  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:46:12.063  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:46:12.063  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:46:12.063  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:46:12.063  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153a00
12-06 11:46:12.063  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:46:12.063  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:46:13.082  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:46:13.082  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:46:13.082  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:46:13.082  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:46:27.719  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=2344479418 write=2320000000 diff=24479418
12-06 11:46:42.201  3501 24515 I audio_hw_primary: get hwsync id
12-06 11:46:42.767  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:46:42.767  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:46:42.767  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:46:42.767  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:46:42.768  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:46:42.768  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:46:42.768  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:46:42.768  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:46:42.768  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:46:42.768  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:46:42.768  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:46:42.768  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:46:42.768  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:46:42.768  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:46:42.768  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:46:42.771  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:46:42.784  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:46:42.812  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:46:42.812  3501 24515 I audio_hw_primary: (0xf16e7700)set hw_sync_id 12345678,enable hw sync mode
12-06 11:46:42.812  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 11:46:42.834  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:46:42.834  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:46:42.834  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:46:42.834  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:46:42.834  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:46:42.834  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:46:42.844  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:46:42.844  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:46:43.143  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.828896 right:0.828896 
12-06 11:46:43.146  3501 10798 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:46:43.146  3501 10798 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:46:43.146  3501 10798 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:46:43.146  3501 10798 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:46:43.146  3501 10798 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:46:43.146  3501 10798 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7700
12-06 11:46:43.146  3501 10798 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:46:43.146  3501 10798 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:46:43.146  3501 10798 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:46:43.146  3501 10798 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:46:43.147  3501 10798 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:46:43.147  3501 10798 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:46:43.147  3501 10798 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:46:43.159  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8100, last position 0
12-06 11:46:43.159  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8100
12-06 11:46:43.167  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8100, last position 0
12-06 11:46:43.167  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8100
12-06 11:46:43.175  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8100, last position 0
12-06 11:46:43.175  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8100
12-06 11:46:43.183  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8100, last position 0
12-06 11:46:43.183  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8100
12-06 11:46:43.191  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8100, last position 320
12-06 11:46:43.191  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8100
12-06 11:46:43.199  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8100, last position 320
12-06 11:46:43.199  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8100
12-06 11:46:43.207  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8100, last position 320
12-06 11:46:43.207  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8100
12-06 11:46:43.215  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8100, last position 1344
12-06 11:46:43.215  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8100
12-06 11:46:43.223  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8100, last position 1344
12-06 11:46:43.223  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8100
12-06 11:46:43.231  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8100, last position 2304
12-06 11:46:43.231  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 11:47:14.263  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:47:14.263  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:47:14.263  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 11:47:14.361  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:47:14.361  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:47:14.361  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 11:47:14.370  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:47:14.370  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:47:14.370  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 11:47:40.810  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:47:40.810  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:47:40.810  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:47:40.810  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:47:43.407  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:47:43.407  3501  3593 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:47:43.407  3501  3593 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:47:43.417  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:47:43.615  3501  3593 D audio_hw_primary: adev_open: enter
12-06 11:47:43.615  3501  3593 I audio_hw_primary: adev exsits ,reuse
12-06 11:47:43.615  3501  3593 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:47:43.615  3501  3593 D audio_hw_primary: adev_open: exit, error
12-06 11:47:43.616  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:47:43.616  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:47:43.616  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:47:43.616  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:47:43.616  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:47:43.616  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:47:43.617  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:47:43.617  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:47:43.617  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:47:43.617  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:47:43.617  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:47:43.617  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:47:43.617  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:47:43.617  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:47:43.617  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:47:43.617  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:47:43.617  3501 24515 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:47:43.617  3501 24515 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:47:43.617  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:47:43.620  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:47:43.622  3501 11671 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:47:43.622  3501 11671 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:47:43.622  3501 11671 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:47:43.622  3501 11671 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:47:43.622  3501 11671 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:47:43.622  3501 11671 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:43.622  3501 11671 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:47:43.622  3501 11671 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:47:43.623  3501 11671 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:43.623  3501 11671 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7700 input port:[0]PCM_SYSTEM
12-06 11:47:43.623  3501 11671 I audio-subMixingFactory: padding_bytes 16384
12-06 11:47:43.623  3501 11671 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:47:43.623  3501 11671 I audio-subMixingFactory: padding_bytes 14336
12-06 11:47:43.623  3501 11671 I audio-subMixingFactory: padding_bytes 12288
12-06 11:47:43.623  3501 11671 I audio-subMixingFactory: padding_bytes 10240
12-06 11:47:43.635  3501 11671 I audio-subMixingFactory: padding_bytes 8192
12-06 11:47:43.643  3501 11671 I audio-subMixingFactory: padding_bytes 6144
12-06 11:47:43.656  3501 11671 I audio-subMixingFactory: padding_bytes 4096
12-06 11:47:43.665  3501 11671 I audio-subMixingFactory: padding_bytes 2048
12-06 11:47:44.419  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:45.420  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:46.422  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:46.942  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:47:46.942  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:47:46.942  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:47:46.960  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:47:47.426  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:47:47.479  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:47:47.479  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:47:47.479  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:47:47.479  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:47:47.480  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:47:47.481  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:47:47.481  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:47:47.481  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:47:47.481  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:47:47.482  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:47:47.483  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:47:47.483  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:47:47.483  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:47:47.484  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:47:47.484  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:47:47.484  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1155980, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:47:47.484  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:47:47.484  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155980: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:47:47.485  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:47:47.486  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:47:47.486  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:47:47.486  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:47:47.486  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:47:47.494  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:47:47.497  3501 11710 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:47:47.497  3501 11710 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:47.497  3501 11710 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:47:47.497  3501 11710 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:47:47.497  3501 11710 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1155980 input port:[0]PCM_SYSTEM
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: padding_bytes 16384
12-06 11:47:47.497  3501 11710 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: padding_bytes 14336
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: padding_bytes 12288
12-06 11:47:47.497  3501 11710 I audio-subMixingFactory: padding_bytes 10240
12-06 11:47:47.512  3501 11710 I audio-subMixingFactory: padding_bytes 8192
12-06 11:47:47.522  3501 11710 I audio-subMixingFactory: padding_bytes 6144
12-06 11:47:47.528  3501 11710 I audio-subMixingFactory: padding_bytes 4096
12-06 11:47:47.545  3501 11710 I audio-subMixingFactory: padding_bytes 2048
12-06 11:47:47.965  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:48.439  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:48.969  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:49.466  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:49.975  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:50.470  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:53.545  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:47:54.548  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:55.400  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:47:55.400  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:47:55.400  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:47:55.400  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:47:55.400  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:47:55.400  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:55.400  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:47:55.400  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:611901440
12-06 11:47:55.400  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:55.400  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:47:55.400  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:47:55.401  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:47:55.401  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:47:55.401  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:47:55.401  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:47:55.417  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:47:55.425  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:47:55.432  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:47:55.448  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:47:55.549  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:47:55.840  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:47:55.840  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:47:55.840  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:47:55.840  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:47:55.840  3501 11782 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:47:55.844  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:47:55.844  3501 24515 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:47:55.844  3501 24515 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:47:55.883  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:47:55.883  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:47:55.888  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:47:55.888  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:47:55.891  3501 11782 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:47:56.237  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:47:56.237  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:47:56.237  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:47:56.237  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:47:56.237  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:47:56.238  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:47:56.238  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:47:56.238  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:47:56.238  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:47:56.238  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [0]PCM_NORMAL
12-06 11:47:56.238  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:47:56.238  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:47:56.238  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:47:56.238  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:47:56.238  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:47:56.238  3501  2209 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:47:56.238  3501  2209 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:47:57.334  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:47:57.334  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:47:57.334  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:47:57.341  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 11:47:57.510  3501  2209 D audio_hw_primary: adev_open: enter
12-06 11:47:57.510  3501  2209 I audio_hw_primary: adev exsits ,reuse
12-06 11:47:57.510  3501  2209 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:47:57.510  3501  2209 D audio_hw_primary: adev_open: exit, error
12-06 11:47:57.513  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:47:57.513  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:47:57.513  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:47:57.513  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:47:57.513  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:47:57.514  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:47:57.514  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:47:57.514  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:47:57.514  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:47:57.514  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:47:57.514  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:47:57.514  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154f00, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:47:57.514  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:47:57.514  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154f00: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:47:57.515  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:47:57.515  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:47:57.515  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:47:57.515  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:47:57.515  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:47:57.519  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:47:57.520  3501 11926 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:47:57.520  3501 11926 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:57.520  3501 11926 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:1, format:0x1, rate:48000
12-06 11:47:57.520  3501 11926 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:47:57.520  3501 11926 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1154f00 input port:[0]PCM_SYSTEM
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: padding_bytes 16384
12-06 11:47:57.520  3501 11926 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: padding_bytes 14336
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: padding_bytes 12288
12-06 11:47:57.520  3501 11926 I audio-subMixingFactory: padding_bytes 10240
12-06 11:47:57.528  3501 11926 I audio-subMixingFactory: padding_bytes 8192
12-06 11:47:57.536  3501 11926 I audio-subMixingFactory: padding_bytes 6144
12-06 11:47:57.544  3501 11926 I audio-subMixingFactory: padding_bytes 4096
12-06 11:47:57.561  3501 11926 I audio-subMixingFactory: padding_bytes 2048
12-06 11:47:58.343  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:47:58.409  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:47:58.409  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:47:58.409  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:47:59.345  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:00.346  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:01.347  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:02.348  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:03.349  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:48:03.377  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:48:03.377  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:03.377  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:03.377  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:612042752
12-06 11:48:03.377  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:48:03.377  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:48:03.377  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:48:03.392  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:48:03.400  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:48:03.409  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:48:03.424  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:48:04.350  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:05.351  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:06.352  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:06.527  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:48:06.527  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:48:06.527  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:48:07.353  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:08.355  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:48:09.356  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:48:09.768  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:48:09.768  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:09.768  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:09.768  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:612190208
12-06 11:48:09.768  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:48:09.768  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:48:09.768  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:48:09.777  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:48:09.784  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:48:09.792  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:48:09.809  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:48:10.231  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:48:10.231  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:48:10.232  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:48:10.232  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:48:10.233  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:48:10.233  3501  3593 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:48:10.233  3501 11926 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:48:10.235  3501  3593 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:48:10.250  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1154f00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:48:10.250  3501  3593 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:48:10.256  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:48:10.256  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:48:10.358  3501  3593 I audio_hw_primary: ms12_enable :0
12-06 11:48:10.367  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:48:10.367  3501  3593 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:48:10.367  3501  3593 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:48:10.367  3501  3593 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:48:10.367  3501  3593 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:48:10.369  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:48:10.369  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:10.369  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:10.369  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:48:10.369  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [0]PCM_NORMAL
12-06 11:48:10.370  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:48:10.370  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:48:10.370  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:10.370  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:10.370  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:10.370  3501 24515 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:48:10.370  3501 24515 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:48:12.778  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:48:12.778  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:48:12.778  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:48:12.778  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:48:19.401  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:48:19.401  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:48:19.401  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 11:48:19.505  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:48:19.505  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:48:19.505  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 11:48:19.509  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:48:19.509  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:48:19.509  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 11:48:20.401  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:20.401  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:20.401  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:20.404  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2739)
12-06 11:48:20.404  3501 24515 I audio_hw_primary: patch set found id 2739, patchset 0xf11ee400
12-06 11:48:20.404  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:48:20.404  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:20.404  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:20.404  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:48:20.439  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:20.440  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:20.440  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:20.445  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:20.445  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:20.445  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.445  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:20.445  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:20.445  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:20.445  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.445  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.446  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:48:20.446  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.446  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.446  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.446  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.446  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:20.446  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154f00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:20.446  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:20.446  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154f00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:20.449  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:20.455  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:48:20.467  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:20.467  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:20.467  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:20.467  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.467  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:20.467  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.467  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.467  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:48:20.467  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.467  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.467  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.467  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.467  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:20.467  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:20.484  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:20.489  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7e00
12-06 11:48:20.489  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.489  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:48:20.489  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:20.490  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7e00
12-06 11:48:20.490  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.490  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:20.490  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:48:20.491  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7e00
12-06 11:48:20.491  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.491  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:48:20.492  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:20.492  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7e00
12-06 11:48:20.492  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.492  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:20.493  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:20.493  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7e00
12-06 11:48:20.493  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.493  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:48:20.493  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:20.496  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.496  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.497  3501  3593 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 11:48:20.497  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:20.497  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.499  3501 24515 D audio_hw_primary: out_dump(0xf16e7e00, 21)
12-06 11:48:20.501  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.501  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.509  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:20.509  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:20.509  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:48:20.509  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:20.509  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.509  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:20.509  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:20.509  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:20.509  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.509  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:20.509  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.509  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.509  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:20.509  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.509  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.510  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.510  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:48:20.510  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.510  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:20.510  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.510  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.510  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.510  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.510  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.510  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.510  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.510  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:20.510  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:20.514  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:20.514  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:20.514  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:20.518  3501  3593 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 11:48:20.518  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:20.518  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.520  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:20.543  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:20.543  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151000
12-06 11:48:20.544  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:20.544  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.544  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.544  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.544  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.544  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.544  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.544  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.544  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.544  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:20.544  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:20.544  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:20.547  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:20.554  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.000000 right:0.000000 
12-06 11:48:20.560  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.560  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.561  3501  3593 D audio_hw_primary: out_dump(0xf1154f00, 24)
12-06 11:48:20.562  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.562  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.564  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:20.564  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:20.564  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:20.564  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:20.564  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:48:20.564  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:48:20.564  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.564  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.564  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.565  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.565  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.566  3501  3593 D audio_hw_primary: out_dump(0xf1153300, 19)
12-06 11:48:20.568  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.568  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.571  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:20.571  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:20.571  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.571  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:20.571  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:20.571  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.571  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:20.571  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.571  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.571  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:20.571  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.571  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.571  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.572  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.572  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.575  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:20.575  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:20.575  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:20.575  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:48:20.575  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.575  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:20.575  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:20.575  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:20.575  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.575  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.575  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.575  3501  3593 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151000
12-06 11:48:20.575  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.575  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.583  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:20.587  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:20.587  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:20.587  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:20.592  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:20.592  3501  3593 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:20.592  3501  3593 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:20.593  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:20.593  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:20.593  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.593  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:20.593  3501  3593 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:20.593  3501  3593 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:20.594  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.594  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.594  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.594  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.594  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.594  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.594  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.594  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:20.594  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:20.594  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:20.594  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:20.597  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:20.600  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 11:48:20.622  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:20.622  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:20.622  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:20.622  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.622  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:20.622  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.622  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.623  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:20.623  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.623  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.623  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.623  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.623  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:20.623  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155980: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:20.628  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:20.631  3501  2209 I audio_hw_primary: out_standby_direct(0xf1155980),out 0xf1155980
12-06 11:48:20.631  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:20.631  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.634  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1155980
12-06 11:48:20.634  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.635  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:20.635  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:20.636  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1155980
12-06 11:48:20.636  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.636  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:20.636  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:48:20.638  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1155980
12-06 11:48:20.638  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.638  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:48:20.638  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:20.639  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1155980
12-06 11:48:20.639  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.639  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:20.639  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:20.639  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1155980
12-06 11:48:20.639  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.639  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:48:20.640  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:20.641  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.641  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.642  3501  2209 D audio_hw_primary: out_dump(0xf1155980, 21)
12-06 11:48:20.643  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.643  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.650  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:20.650  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1155980)
12-06 11:48:20.650  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.650  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:20.650  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:20.650  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.650  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:20.650  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.650  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.650  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:20.650  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.650  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.650  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.650  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:20.650  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:20.650  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:20.651  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:20.651  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.651  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:20.651  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.651  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.651  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.651  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.651  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.651  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.651  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.651  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:20.651  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:20.663  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:20.664  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:20.664  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:20.664  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:20.669  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 11:48:20.670  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:20.670  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.691  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:20.691  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1155980
12-06 11:48:20.691  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:20.691  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.691  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.691  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.691  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:20.691  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.691  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.691  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.691  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.691  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:20.691  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1155980, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:20.691  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155980: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:20.694  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:20.701  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1155980), left:0.000000 right:0.000000 
12-06 11:48:20.707  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.707  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.709  3501  2209 D audio_hw_primary: out_dump(0xf1151000, 24)
12-06 11:48:20.710  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.710  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.713  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:20.713  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:20.713  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:20.713  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:20.713  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:48:20.713  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 11:48:20.713  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.713  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.713  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.714  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.714  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.717  3501  2209 D audio_hw_primary: out_dump(0xf1153300, 19)
12-06 11:48:20.718  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.718  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.720  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:20.720  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:20.720  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.720  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:20.720  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:20.720  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.720  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:20.720  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.720  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.720  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:20.720  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.720  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.720  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.721  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.721  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.724  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:20.724  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:20.724  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:20.724  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1155980)
12-06 11:48:20.724  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.724  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:20.724  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:20.724  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:20.724  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.724  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.724  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.724  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1155980
12-06 11:48:20.724  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.724  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.735  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:20.740  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:20.740  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:20.740  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:20.755  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:20.755  3501  3593 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:20.755  3501  3593 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:20.756  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:20.756  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:20.756  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.757  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:20.757  3501  3593 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:20.757  3501  3593 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:20.757  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.757  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.757  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.757  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.757  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.757  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.757  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.757  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:20.757  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1154f00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:20.757  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:20.757  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1154f00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:20.758  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:20.765  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:48:20.785  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:20.785  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:20.785  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:20.785  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.785  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:20.785  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.785  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.785  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.785  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.785  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.785  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.785  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.785  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:20.785  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:20.796  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:20.799  3501  3593 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1151e00
12-06 11:48:20.799  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.799  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:20.799  3501  3593 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:20.800  3501  3593 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1151e00
12-06 11:48:20.800  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.801  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:20.801  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:48:20.801  3501  3593 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1151e00
12-06 11:48:20.801  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.801  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:48:20.801  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:20.802  3501  3593 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:48:20.802  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:20.802  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.803  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1151e00
12-06 11:48:20.803  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.803  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:20.803  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:20.804  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1151e00
12-06 11:48:20.804  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:20.804  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:48:20.804  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:20.805  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.805  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.806  3501  3593 D audio_hw_primary: out_dump(0xf1151e00, 21)
12-06 11:48:20.807  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.807  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.814  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:20.814  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:48:20.814  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.814  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:20.815  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:20.815  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.815  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:20.815  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.815  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.815  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:20.815  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.815  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.815  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.815  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:20.815  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:20.815  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:20.815  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:20.815  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.815  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:20.815  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.815  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.815  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:20.816  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.816  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.816  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.816  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.816  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:20.816  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1155980: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:20.822  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:20.822  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:20.822  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:20.823  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:20.826  3501  2209 I audio_hw_primary: out_standby_direct(0xf1155980),out 0xf1155980
12-06 11:48:20.826  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:20.828  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.846  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:20.846  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153300
12-06 11:48:20.847  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:20.847  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:20.847  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:20.847  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:20.847  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:20.847  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:20.847  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:20.847  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:20.847  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:20.847  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:20.847  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:20.847  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:20.848  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:20.854  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153300), left:0.000000 right:0.000000 
12-06 11:48:20.869  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.869  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.871  3501  2209 D audio_hw_primary: out_dump(0xf1154f00, 24)
12-06 11:48:20.873  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.873  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.875  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:20.875  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:20.875  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:20.875  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:20.875  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1154f00)
12-06 11:48:20.875  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1154f00) usecase: [2]PCM_HWSYNC
12-06 11:48:20.875  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.875  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.875  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.876  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.876  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.878  3501  2209 D audio_hw_primary: out_dump(0xf1155980, 19)
12-06 11:48:20.879  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:20.879  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.880  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:20.880  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1155980)
12-06 11:48:20.880  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.881  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:20.881  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:20.881  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:20.881  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:20.881  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.881  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.881  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:20.881  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.881  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.881  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.881  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:20.881  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:20.885  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:20.885  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:20.885  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:20.885  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:20.885  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:20.885  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:20.885  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:20.885  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:20.885  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:20.885  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:20.885  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:20.885  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153300
12-06 11:48:20.885  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:48:20.885  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:20.885  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:20.895  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:21.158  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:48:21.158  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:21.158  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:21.158  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:48:21.158  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:21.158  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:21.158  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:21.159  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:21.159  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:21.159  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:21.159  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:21.159  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:21.159  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:21.159  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:21.159  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:21.160  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:21.165  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:48:21.179  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:48:21.179  3501  3593 I audio_hw_primary: (0xf1151e00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:48:21.179  3501  3593 I audio_hw_primary: init hal mixer when hwsync
12-06 11:48:21.231  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:21.231  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:48:21.231  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:21.231  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:48:21.231  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:48:21.231  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:48:21.234  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151e00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:48:21.234  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:48:21.361  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1151e00), left:0.000000 right:0.000000 
12-06 11:48:21.363  3501 12267 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:48:21.363  3501 12267 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:48:21.364  3501 12267 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:48:21.364  3501 12267 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:48:21.364  3501 12267 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:48:21.364  3501 12267 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1151e00
12-06 11:48:21.364  3501 12267 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:21.364  3501 12267 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:21.364  3501 12267 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:48:21.364  3501 12267 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:21.364  3501 12267 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:48:21.467  3501 12267 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:48:21.467  3501 12267 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:48:21.480  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 810, latency 7290, last position 0
12-06 11:48:21.480  3501  3807 I audio_hwsync_cbks: pts32 = 9 latency=7290
12-06 11:48:21.488  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1530, latency 7290, last position 0
12-06 11:48:21.488  3501  3807 I audio_hwsync_cbks: pts32 = 17 latency=7290
12-06 11:48:21.496  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2340, latency 7290, last position 0
12-06 11:48:21.496  3501  3807 I audio_hwsync_cbks: pts32 = 26 latency=7290
12-06 11:48:21.504  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3060, latency 7290, last position 0
12-06 11:48:21.504  3501  3807 I audio_hwsync_cbks: pts32 = 34 latency=7290
12-06 11:48:21.512  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3780, latency 7290, last position 704
12-06 11:48:21.512  3501  3807 I audio_hwsync_cbks: pts32 = 42 latency=7290
12-06 11:48:21.520  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4500, latency 7290, last position 704
12-06 11:48:21.520  3501  3807 I audio_hwsync_cbks: pts32 = 50 latency=7290
12-06 11:48:21.528  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5220, latency 7290, last position 704
12-06 11:48:21.528  3501  3807 I audio_hwsync_cbks: pts32 = 58 latency=7290
12-06 11:48:21.536  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5850, latency 7290, last position 1664
12-06 11:48:21.536  3501  3807 I audio_hwsync_cbks: pts32 = 65 latency=7290
12-06 11:48:21.544  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6570, latency 7290, last position 1664
12-06 11:48:21.544  3501  3807 I audio_hwsync_cbks: pts32 = 73 latency=7290
12-06 11:48:21.552  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7290, latency 7290, last position 2624
12-06 11:48:21.552  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x0
12-06 11:48:22.511  3501  3593 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:22.511  3501  3593 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:48:22.511  3501  3593 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:22.511  3501  3593 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0f68b48
12-06 11:48:22.511  3501  3593 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:48:22.511  3501  3593 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:48:22.519  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:48:22.519  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:22.519  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:22.519  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:612331520
12-06 11:48:22.519  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:48:22.519  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:48:22.519  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:48:22.529  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:48:22.537  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:48:22.545  3501 12267 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:48:22.545  3501 12267 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:48:22.545  3501 12267 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:48:22.545  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:48:22.561  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:48:22.841  3501  3593 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:48:22.841  3501  3593 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:48:22.841  3501  3593 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:48:22.841  3501  3593 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:48:22.846  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2740)
12-06 11:48:22.846  3501  2209 I audio_hw_primary: patch set found id 2740, patchset 0xefd24800
12-06 11:48:22.846  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:48:22.846  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:22.846  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:22.846  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:48:22.847  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:48:22.847  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:48:22.847  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:48:22.847  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:48:22.847  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:48:22.847  3501  2209 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:48:22.847  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:48:22.853  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:22.853  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:22.855  3501  2209 D audio_hw_primary: out_dump(0xf1151e00, 23)
12-06 11:48:22.887  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:48:22.887  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:22.887  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:48:23.056  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:23.056  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:23.058  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:23.058  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:23.058  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:23.058  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:23.058  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:48:23.059  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:48:23.068  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:48:23.068  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:48:23.068  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:23.068  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:23.068  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:23.151  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:48:23.151  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:48:23.151  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 11:48:23.177  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:23.177  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:48:23.177  3501  2209 I audio_hw_primary: patch found mix->dev id 2741, patchset 0xf11eac00
12-06 11:48:23.177  3501  2209 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:48:23.177  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:23.177  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:23.177  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:23.177  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:48:23.177  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:48:23.177  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:48:23.878  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:48:23.880  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=99424124547 write=99400000000 diff=24124547
12-06 11:48:24.181  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:24.181  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:24.181  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:24.183  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2742)
12-06 11:48:24.183  3501  2209 I audio_hw_primary: patch set found id 2742, patchset 0xefd24800
12-06 11:48:24.183  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:48:24.183  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:24.183  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:24.183  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:48:24.211  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:24.211  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:24.211  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:24.212  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:24.212  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:24.213  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:24.213  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:24.213  3501  3593 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:24.213  3501  3593 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:24.213  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:24.213  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:24.213  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:24.213  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:24.213  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:24.213  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:24.213  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:24.213  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:24.213  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:24.213  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:24.213  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:24.214  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:24.217  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:48:24.236  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:24.236  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:24.237  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:24.237  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:24.237  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:24.237  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:24.237  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:24.237  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:24.237  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:24.237  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:24.237  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:24.237  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:24.237  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:24.237  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:24.432  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:24.434  3501  3593 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152880
12-06 11:48:24.434  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:24.434  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:24.435  3501  3593 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:24.436  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152880
12-06 11:48:24.436  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:24.436  3501  3593 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:24.436  3501  3593 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:24.438  3501  3593 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 11:48:24.438  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:24.439  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:24.440  3501  3593 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152880
12-06 11:48:24.440  3501  3593 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:24.441  3501  3593 D audio_hw_profile: query hdmi channels...
12-06 11:48:24.441  3501  3593 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:24.442  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:24.443  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:24.443  3501  3593 D audio_hw_primary: out_dump(0xf1152880, 21)
12-06 11:48:24.444  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:24.445  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:25.080  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:25.080  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:48:25.080  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:25.080  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:25.080  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:25.080  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:25.080  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:25.080  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:48:25.080  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:25.080  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:25.080  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:25.080  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:25.080  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:25.080  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:25.080  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:25.080  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:25.080  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:25.080  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:25.080  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:25.080  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:25.080  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:25.081  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:25.081  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:25.081  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:25.081  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:25.081  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:25.081  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:25.081  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:25.083  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:25.083  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:25.083  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:25.088  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:25.092  3501  3593 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:48:25.093  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:25.093  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:25.122  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:25.122  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152880
12-06 11:48:25.123  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:25.123  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:25.123  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:25.123  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:25.123  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:25.123  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:25.123  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:25.123  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:25.123  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:25.123  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:25.123  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:25.123  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:25.125  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:25.139  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1152880), left:0.000000 right:0.000000 
12-06 11:48:25.148  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:25.149  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:25.152  3501  3593 D audio_hw_primary: out_dump(0xf1152500, 24)
12-06 11:48:25.156  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:25.156  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:25.158  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:25.158  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:25.158  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:25.158  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:25.158  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:48:25.158  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:48:25.158  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:25.158  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:25.158  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:25.160  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:25.160  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:25.162  3501  3593 D audio_hw_primary: out_dump(0xf1151e00, 19)
12-06 11:48:25.164  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:25.164  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:25.167  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:25.167  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:48:25.167  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:25.167  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:25.167  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:25.167  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:25.167  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:25.167  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:48:25.167  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:25.167  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:25.167  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:25.167  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:25.167  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:25.168  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:25.168  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:25.176  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:25.177  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:25.177  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:25.177  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:25.177  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:48:25.177  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:25.177  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:25.178  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:25.178  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:25.178  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:48:25.178  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:25.178  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:25.178  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152880
12-06 11:48:25.178  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:25.178  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:25.520  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:48:25.521  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:48:25.521  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:48:25.521  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:48:26.609  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:48:26.609  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:48:26.609  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 11:48:26.703  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:48:26.703  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:48:26.703  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 11:48:26.708  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:48:26.708  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:48:26.708  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 11:48:27.605  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:27.606  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:27.606  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:27.643  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:27.643  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:27.643  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:27.644  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:27.645  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:27.645  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:27.645  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:27.645  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:27.645  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:27.645  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:27.645  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:27.645  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:27.646  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:27.646  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:27.646  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:27.646  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:27.646  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:27.646  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:27.646  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:27.646  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:27.647  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:27.655  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:48:27.669  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:27.669  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:27.669  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:27.669  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:27.669  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:27.669  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:27.669  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:27.669  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:27.669  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:27.669  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:27.669  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:27.669  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:27.669  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:27.669  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:27.680  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:27.682  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153300
12-06 11:48:27.682  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:27.682  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:27.682  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:27.684  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153300
12-06 11:48:27.684  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:27.685  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:27.685  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:48:27.686  3501  2209 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 11:48:27.686  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:27.686  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:27.687  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153300
12-06 11:48:27.687  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:27.687  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:48:27.688  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:27.688  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153300
12-06 11:48:27.688  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:27.688  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:27.688  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:27.689  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153300
12-06 11:48:27.689  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:27.689  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:48:27.689  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:27.694  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:27.694  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.695  3501  2209 D audio_hw_primary: out_dump(0xf1153300, 21)
12-06 11:48:27.895  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:27.895  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.904  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:27.904  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:27.904  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:27.904  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:27.904  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:27.904  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:27.904  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:27.904  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:27.904  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:27.904  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:27.904  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:27.904  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:27.904  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:27.904  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:27.904  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:27.904  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:27.904  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:27.904  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:27.905  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:27.905  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:27.905  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:27.905  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:27.905  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:27.905  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:27.905  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:27.905  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:27.905  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:27.905  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:27.912  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:27.913  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:27.913  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:27.913  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:27.916  3501  3593 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:48:27.917  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:27.917  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:27.939  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:27.939  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 11:48:27.940  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:27.940  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:27.940  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:27.940  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:27.940  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:27.940  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:27.940  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:27.940  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:27.940  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:27.940  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:27.940  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:27.940  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:27.943  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:27.947  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.000000 right:0.000000 
12-06 11:48:27.953  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:27.953  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.955  3501  3593 D audio_hw_primary: out_dump(0xf1152880, 24)
12-06 11:48:27.956  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:27.956  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.959  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:27.959  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:27.959  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:27.959  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:27.959  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:48:27.959  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:48:27.959  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:27.959  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:27.959  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:27.960  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:27.961  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.962  3501  2209 D audio_hw_primary: out_dump(0xf1151e00, 19)
12-06 11:48:27.964  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:27.964  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.966  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:27.966  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:48:27.966  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:27.966  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:27.966  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:27.966  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:27.966  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:27.966  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:27.966  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:27.966  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:27.966  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:27.966  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:27.966  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:27.967  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:27.967  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:27.970  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:27.971  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:27.971  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:27.971  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:48:27.971  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:27.971  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:27.976  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:27.978  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:27.978  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:27.978  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:27.990  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:27.990  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:27.990  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:27.991  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:27.991  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:27.991  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:27.991  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:27.991  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:27.991  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:27.991  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:27.991  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:27.991  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:27.992  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:27.992  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:27.992  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:27.992  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:27.992  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:27.992  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:27.992  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:27.992  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:27.993  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:27.993  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:27.993  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:27.993  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:27.993  3501  3593 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152500
12-06 11:48:27.993  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:27.993  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:27.993  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:27.996  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:28.004  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:28.004  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:28.005  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:28.005  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.005  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:28.005  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.005  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.005  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:28.005  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.005  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.005  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.005  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.005  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:28.005  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:28.007  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 11:48:28.013  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:28.014  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8880
12-06 11:48:28.015  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.015  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:28.015  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:28.016  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8880
12-06 11:48:28.016  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.016  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:28.016  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:48:28.017  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8880
12-06 11:48:28.017  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.017  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:48:28.017  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:28.017  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 11:48:28.017  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:28.018  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.019  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8880
12-06 11:48:28.019  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.019  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:28.019  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:28.019  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8880
12-06 11:48:28.019  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.019  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:48:28.020  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:28.021  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.021  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.023  3501 30241 D audio_hw_primary: out_dump(0xf16e8880, 21)
12-06 11:48:28.024  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:28.024  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.030  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:28.030  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:48:28.030  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:48:28.030  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:28.030  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:28.030  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.030  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:28.030  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:28.030  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:48:28.030  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:28.030  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:28.030  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:28.030  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.030  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:28.030  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.030  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.030  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:28.030  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.030  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:28.031  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.031  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.031  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:28.031  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.031  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.031  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.031  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.031  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:28.031  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:28.033  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:28.033  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:28.033  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:28.037  3501  2209 I audio_hw_primary: out_standby_direct(0xf1151e00),out 0xf1151e00
12-06 11:48:28.037  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:28.038  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.040  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:28.052  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:28.052  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153300
12-06 11:48:28.053  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:28.053  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.053  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.053  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.053  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:28.053  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.053  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.053  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.053  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.053  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:28.053  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:28.053  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:28.056  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:28.060  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1153300), left:0.000000 right:0.000000 
12-06 11:48:28.074  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.074  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.075  3501  2209 D audio_hw_primary: out_dump(0xf16e8500, 24)
12-06 11:48:28.077  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:28.077  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.078  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:28.078  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:28.078  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:28.078  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:28.078  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 11:48:28.078  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 11:48:28.078  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.079  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.079  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.083  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.083  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.083  3501  3593 I audio_hw_primary: get hwsync id
12-06 11:48:28.085  3501  2209 D audio_hw_primary: out_dump(0xf1151e00, 19)
12-06 11:48:28.090  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:28.090  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.092  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:28.092  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:48:28.092  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:28.092  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:28.092  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:28.092  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.092  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:28.092  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:28.092  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:28.092  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:28.093  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.093  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.093  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.094  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.094  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.131  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:28.131  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:28.131  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:28.131  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:28.131  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:28.131  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:28.154  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:28.154  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:28.155  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:28.165  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:28.165  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:28.165  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:28.168  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:28.168  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:28.169  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.169  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:28.169  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:28.169  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:28.169  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.169  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.169  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:28.169  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.169  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.169  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.169  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.169  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:28.169  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:28.169  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:28.345  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:28.347  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=4466586752 write=4256000000 diff=210586752
12-06 11:48:28.347  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:28.347  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:28.347  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:28.347  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:28.347  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.347  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153300
12-06 11:48:28.347  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:28.349  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:28.351  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.351  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.354  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 11:48:28.387  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:28.387  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:28.387  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:28.387  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.387  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:28.387  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.387  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.388  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:48:28.388  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.389  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.389  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.389  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.389  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:28.389  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:28.399  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:28.405  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 11:48:28.405  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:28.406  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.409  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153300
12-06 11:48:28.409  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.409  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:28.410  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:28.410  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153300
12-06 11:48:28.410  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.411  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:28.411  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:48:28.412  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153300
12-06 11:48:28.412  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.412  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:48:28.413  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:28.413  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153300
12-06 11:48:28.413  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.414  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:28.414  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:28.414  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153300
12-06 11:48:28.414  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:28.414  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:48:28.415  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:28.417  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.417  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.418  3501 30241 D audio_hw_primary: out_dump(0xf1153300, 21)
12-06 11:48:28.618  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:28.618  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.625  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:28.625  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:28.625  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:48:28.625  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:28.625  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:28.626  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.626  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:28.626  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:28.626  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:28.626  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:48:28.626  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:28.626  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:28.626  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:28.626  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.626  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.626  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.626  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:28.626  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.626  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:28.626  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.626  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.626  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:28.626  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.626  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.626  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.626  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.626  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:28.626  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:28.634  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:28.635  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:28.635  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:28.635  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:28.637  3501  3593 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:48:28.637  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:28.639  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.652  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:28.652  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152880
12-06 11:48:28.653  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:28.653  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.653  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.653  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.653  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:28.653  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.653  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.653  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.653  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.653  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:28.653  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:28.653  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:28.655  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:28.659  3501  3593 I audio_hw_primary: out_set_volume(), stream(0xf1152880), left:0.000000 right:0.000000 
12-06 11:48:28.664  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.665  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.665  3501  3593 D audio_hw_primary: out_dump(0xf16e8880, 24)
12-06 11:48:28.666  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:28.666  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.667  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:28.667  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:28.667  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:28.667  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:28.667  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:48:28.667  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 11:48:28.667  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.667  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.667  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.669  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.669  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.670  3501  3593 D audio_hw_primary: out_dump(0xf1152500, 19)
12-06 11:48:28.671  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:28.671  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.672  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:28.672  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:48:28.672  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:28.672  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:28.672  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:28.672  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:28.672  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:28.672  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:28.672  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:28.672  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:28.672  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.672  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.672  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.673  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:28.673  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:28.682  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:28.684  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:28.684  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:28.684  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:28.684  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:48:28.684  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:48:28.684  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:48:28.684  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:28.684  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:28.684  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:28.684  3501  3593 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:48:28.684  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:28.684  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:28.684  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:28.684  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:28.684  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:48:28.684  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:28.684  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:28.685  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:28.685  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:28.685  3501  3593 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:28.685  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:28.685  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:28.685  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:48:28.685  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:48:28.685  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:28.685  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152880
12-06 11:48:28.685  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:28.685  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:28.685  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:28.687  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:28.691  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:48:28.705  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:48:28.705  3501 30241 I audio_hw_primary: (0xf1152500)set hw_sync_id 12345678,enable hw sync mode
12-06 11:48:28.705  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 11:48:28.726  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:28.726  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:48:28.726  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:28.726  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:48:28.726  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:48:28.726  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:48:28.732  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152500, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:48:28.732  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:48:28.967  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.000000 right:0.000000 
12-06 11:48:28.970  3501 12478 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:48:28.971  3501 12478 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:48:28.971  3501 12478 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:48:28.971  3501 12478 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:48:28.971  3501 12478 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:48:28.971  3501 12478 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152500
12-06 11:48:28.977  3501 12478 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:28.977  3501 12478 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:28.977  3501 12478 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:48:28.979  3501 12478 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:28.979  3501 12478 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:48:29.087  3501 12478 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:48:29.087  3501 12478 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:48:29.099  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 810, latency 7290, last position 0
12-06 11:48:29.099  3501  3807 I audio_hwsync_cbks: pts32 = 9 latency=7290
12-06 11:48:29.107  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1530, latency 7290, last position 0
12-06 11:48:29.107  3501  3807 I audio_hwsync_cbks: pts32 = 17 latency=7290
12-06 11:48:29.115  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2340, latency 7290, last position 0
12-06 11:48:29.115  3501  3807 I audio_hwsync_cbks: pts32 = 26 latency=7290
12-06 11:48:29.123  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3060, latency 7290, last position 0
12-06 11:48:29.123  3501  3807 I audio_hwsync_cbks: pts32 = 34 latency=7290
12-06 11:48:29.131  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3780, latency 7290, last position 768
12-06 11:48:29.131  3501  3807 I audio_hwsync_cbks: pts32 = 42 latency=7290
12-06 11:48:29.139  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4500, latency 7290, last position 768
12-06 11:48:29.139  3501  3807 I audio_hwsync_cbks: pts32 = 50 latency=7290
12-06 11:48:29.147  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5220, latency 7290, last position 768
12-06 11:48:29.147  3501  3807 I audio_hwsync_cbks: pts32 = 58 latency=7290
12-06 11:48:29.155  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5850, latency 7290, last position 1728
12-06 11:48:29.155  3501  3807 I audio_hwsync_cbks: pts32 = 65 latency=7290
12-06 11:48:29.163  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6570, latency 7290, last position 1728
12-06 11:48:29.163  3501  3807 I audio_hwsync_cbks: pts32 = 73 latency=7290
12-06 11:48:29.171  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7290, latency 7290, last position 2688
12-06 11:48:29.171  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x0
12-06 11:48:29.179  3501  3807 I audio_hwsync_cbks: pcr is reset by video
12-06 11:48:33.009  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(6)
12-06 11:48:33.009  3501  2209 D audio_hw_primary: check_input_parameters(sample_rate=16000, format=1, channel_count=1, devices = 80000004)
12-06 11:48:33.010  3501  2209 D audio_hw_primary: adev_open_input_stream: in->requested_rate = 16000, in->config.rate = 48000
12-06 11:48:33.010  3501  2209 D audio_hw_primary: adev_open_input_stream: exit
12-06 11:48:33.012  3501 30241 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 11:48:33.012  3501 30241 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 11:48:33.012  3501 30241 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 11:48:33.012  3501  2209 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 11:48:33.012  3501  2209 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 11:48:33.012  3501  2209 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 11:48:33.021  3501 30241 D audio_hw_primary: in_standby: enter: stream(0xf1130c80)
12-06 11:48:33.021  3501 30241 D audio_hw_primary: do_input_standby(0xf1130c80) in->standby = 1
12-06 11:48:33.021  3501 30241 D audio_hw_primary: in_standby: exit
12-06 11:48:33.040  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:33.040  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=2,aml_dev->patch_src=10
12-06 11:48:33.040  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:33.040  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 11:48:33.040  3501  2209 I audio_hw_primary: adev_create_audio_patch: device->mix patch: inport(INPORT_BUILTIN_MIC)
12-06 11:48:33.079  3501 12529 D AudioALSADeviceParser: auge sound card, pAdd=0xf165a140 fix alsaPORT:0 to :1
12-06 11:48:33.079  3501 12529 D audio_hw_primary: *start_input_stream, open alsa_card(0 0) alsa_device(1), in_device:0x4
12-06 11:48:33.132  3501 12529 D audio_hw_primary: pcm_open in: card(0), port(0)
12-06 11:48:33.132  3501 12529 D audio_hw_primary: add_in_stream_resampler: in->requested_rate = 16000, in->config.rate = 48000
12-06 11:48:33.132  3501 12529 D audio_hw_primary: start_input_stream: device(4) channels=1 rate=48000 requested_rate=16000 mode= 0
12-06 11:48:34.814  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:34.814  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=7
12-06 11:48:34.814  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:34.814  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 11:48:34.814  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:48:34.814  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:48:34.821  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:48:34.821  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:34.821  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:34.821  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:612468736
12-06 11:48:34.821  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:48:34.821  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:48:34.821  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:48:34.830  3501 12478 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:48:34.830  3501 12478 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:48:34.830  3501 12478 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:48:34.836  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:48:34.844  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:48:34.852  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:48:34.868  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:48:37.970  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:48:37.970  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:48:37.970  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:48:37.970  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:48:37.972  3501 12478 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:48:37.972  3501 12478 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:48:37.972  3501 12478 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:48:40.478  3501 30241 D audio_hw_primary: in_standby: enter: stream(0xf1130c80)
12-06 11:48:40.478  3501 30241 D audio_hw_primary: do_input_standby(0xf1130c80) in->standby = 0
12-06 11:48:40.487  3501 30241 D audio_hw_primary: in_standby: exit
12-06 11:48:40.496  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2744)
12-06 11:48:40.496  3501 30241 I audio_hw_primary: patch set found id 2744, patchset 0xefd24800
12-06 11:48:40.496  3501 30241 I audio_hw_primary: source 0 type=1 sink type =2 amk patch src=7
12-06 11:48:40.496  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:40.496  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:40.496  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:48:40.527  3501 30241 D audio_hw_primary: adev_close_input_stream: enter: dev(0xf1675240) stream(0xf1130c80)
12-06 11:48:40.527  3501 30241 D audio_hw_primary: in_standby: enter: stream(0xf1130c80)
12-06 11:48:40.527  3501 30241 D audio_hw_primary: do_input_standby(0xf1130c80) in->standby = 1
12-06 11:48:40.527  3501 30241 D audio_hw_primary: in_standby: exit
12-06 11:48:40.527  3501 30241 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 11:48:40.527  3501 30241 D audio_hw_primary: adev_close_input_stream: exit
12-06 11:48:40.677  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, audio_echo_decay=100)
12-06 11:48:40.677  3501 30241 I audio_hw_primary: adev_set_parameters(kv: audio_echo_decay=100)
12-06 11:48:40.677  3501 30241 D eagle_echo: [echo_set_parameters] floatDelayTime=0.160000, feedback_fac=38, live_fac=90
12-06 11:48:40.677  3501 30241 D eagle_echo: [echo_set_parameters] fNumFrames=7680.000000, sampleRate_=48000.000000, sampleCount=15360
12-06 11:48:40.677  3501 30241 D eagle_echo: [echo_set_parameters] bytePerSample=2, bytePerFrame=4
12-06 11:48:40.677  3501 30241 D eagle_echo: [echo_set_parameters] buf_capacity=30720
12-06 11:48:40.677  3501 30241 I audio_hw_primary: adev_set_parameters, ret=-2, value=100
12-06 11:48:40.677  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return Result::NOT_SUPPORTED (4) instead of other error code.
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:48:41.035  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:48:41.035  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:41.035  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:48:41.035  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:612616192
12-06 11:48:41.035  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:48:41.035  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:48:41.035  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:48:41.051  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:48:41.060  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:48:41.068  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:48:41.073  3501 12478 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:48:41.073  3501 12478 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:48:41.073  3501 12478 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:48:41.084  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:48:41.371  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152500, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:48:41.371  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:48:41.371  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152500, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:48:41.371  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:48:41.376  3501  3593 I audio_hw_primary: ++adev_release_audio_patch: handle(2743)
12-06 11:48:41.376  3501  3593 I audio_hw_primary: patch set found id 2743, patchset 0xf11e9000
12-06 11:48:41.376  3501  3593 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:48:41.376  3501  3593 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:41.376  3501  3593 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:41.376  3501  3593 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:48:41.376  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:48:41.376  3501  3593 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:48:41.376  3501  3593 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:48:41.376  3501  3593 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:48:41.376  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:48:41.376  3501  3593 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:48:41.377  3501  3593 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:48:41.380  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:41.380  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:41.381  3501  3593 D audio_hw_primary: out_dump(0xf1152500, 23)
12-06 11:48:41.384  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:41.384  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:41.390  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:41.390  3501  3593 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:41.390  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:41.390  3501  3593 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:41.390  3501  3593 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:48:41.390  3501  3593 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:48:41.390  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:48:41.390  3501  3593 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152500) usecase: [2]PCM_HWSYNC
12-06 11:48:41.391  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:41.391  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:41.391  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:41.406  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:48:41.406  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:48:41.407  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:48:41.705  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:48:41.705  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:48:41.705  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 11:48:41.739  3501  3593 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:48:41.739  3501  3593 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:48:41.739  3501  3593 I audio_hw_primary: patch found mix->dev id 2745, patchset 0xefd22c00
12-06 11:48:41.739  3501  3593 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:48:41.739  3501  3593 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:41.740  3501  3593 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:41.740  3501  3593 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:48:41.740  3501  3593 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xf0f68b48
12-06 11:48:41.740  3501  3593 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:48:41.740  3501  3593 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:48:42.744  3501  3593 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:48:42.744  3501  3593 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:48:42.744  3501  3593 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:48:42.764  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2746)
12-06 11:48:42.764  3501 30241 I audio_hw_primary: patch set found id 2746, patchset 0xf11e9000
12-06 11:48:42.764  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:48:42.764  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:48:42.764  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:48:42.764  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:48:42.776  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:48:42.776  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:48:42.776  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:48:42.778  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:48:42.779  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:48:42.779  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:42.779  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:48:42.779  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:48:42.779  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:48:42.779  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:42.779  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:42.779  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:42.779  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:42.779  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:42.779  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:42.780  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:42.780  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:42.780  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:48:42.780  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:48:42.780  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:48:42.789  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:48:42.801  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 11:48:42.832  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:48:42.832  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:42.833  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:42.833  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:42.833  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:48:42.833  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:42.833  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:42.833  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:42.835  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:42.835  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:42.835  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:42.835  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:42.835  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:48:42.835  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:48:42.862  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:48:42.874  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7700
12-06 11:48:42.874  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:42.874  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:48:42.875  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:48:42.875  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7700
12-06 11:48:42.876  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:42.876  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:48:42.876  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:48:42.877  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7700
12-06 11:48:42.877  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:48:42.877  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:48:42.877  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:48:42.883  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:42.883  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:42.884  3501  3593 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 11:48:42.884  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:42.884  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:42.885  3501  3593 D audio_hw_primary: out_dump(0xf16e7700, 21)
12-06 11:48:42.900  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:42.900  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:42.910  3501  3593 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:48:42.910  3501  3593 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:48:42.910  3501  3593 D audio_hw_primary: out_standby_new: enter
12-06 11:48:42.910  3501  3593 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:48:42.910  3501  3593 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:48:42.910  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:42.910  3501  3593 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:48:42.910  3501  3593 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:48:42.910  3501  3593 D audio_hw_primary: out_standby_new: exit
12-06 11:48:42.910  3501  3593 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:42.910  3501  3593 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:42.910  3501  3593 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:42.910  3501  3593 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:42.911  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:48:42.911  3501  3593 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:48:42.911  3501  3593 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:48:42.912  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:48:42.912  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:42.912  3501  3593 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:48:42.912  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:42.912  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:42.912  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:42.912  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:42.912  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:42.912  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:42.912  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:42.912  3501  3593 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:48:42.912  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:48:42.922  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:42.924  3501  3593 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:48:42.924  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:48:42.924  3501  3593 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:48:42.930  3501  3593 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 11:48:42.931  3501  3593 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:48:42.931  3501  3593 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:42.967  3501  3593 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:48:42.967  3501  3593 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 11:48:42.968  3501  3593 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:48:42.968  3501  3593 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:48:42.968  3501  3593 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:48:42.968  3501  3593 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:48:42.968  3501  3593 D audio_hw_profile: query hdmi format...
12-06 11:48:42.968  3501  3593 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:48:42.968  3501  3593 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:48:42.968  3501  3593 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:48:42.968  3501  3593 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:48:42.968  3501  3593 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:48:42.968  3501  3593 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:48:42.968  3501  3593 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:48:42.971  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:48:43.014  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.000000 right:0.000000 
12-06 11:48:43.033  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:43.033  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:43.045  3501 30241 D audio_hw_primary: out_dump(0xf1153300, 24)
12-06 11:48:43.049  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:43.050  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:43.051  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:48:43.051  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:43.051  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:43.051  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:48:43.051  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:48:43.051  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 11:48:43.052  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:43.052  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:43.052  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:43.054  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:43.054  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:43.055  3501 30241 D audio_hw_primary: out_dump(0xf16e7700, 19)
12-06 11:48:43.063  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:48:43.063  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:43.067  3501  3593 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:48:43.067  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:48:43.067  3501  3593 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:48:43.067  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:48:43.069  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:48:43.069  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:48:43.069  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:48:43.069  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:48:43.069  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:48:43.069  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:48:43.073  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:48:43.073  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:48:43.079  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:43.079  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:43.080  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:43.082  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:48:43.085  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:48:43.086  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:48:43.086  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:48:43.086  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:48:43.086  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:48:43.086  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:48:43.086  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:48:43.086  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:48:43.086  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:48:43.086  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:48:43.086  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:48:43.086  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152500
12-06 11:48:43.086  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:48:43.086  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:48:44.044  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:48:44.044  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:48:44.044  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:48:44.044  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:48:50.464  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:48:50.464  3501 30241 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:48:50.464  3501 30241 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:48:50.469  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:48:52.471  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:48:53.472  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:49:25.914  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:49:25.914  3501  2209 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:49:25.915  3501  2209 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(20)
12-06 11:49:25.915  3501  2209 W audio_hw_primary: Invalid case for AUDIO_SOURCE_VOICE_RECOGNITION_NUGU to open AUDIO_DEVICE_IN_BUILTIN_MIC
12-06 11:49:45.212  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:46.217  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:47.006  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:49:47.006  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:49:47.006  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:49:47.020  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:47.218  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:47.254  3501 24515 D audio_hw_primary: adev_open: enter
12-06 11:49:47.254  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 11:49:47.254  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=6
12-06 11:49:47.254  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 11:49:47.255  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:49:47.256  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:49:47.256  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:49:47.256  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:49:47.256  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:49:47.257  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:49:47.257  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:49:47.257  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:49:47.257  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:49:47.257  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:49:47.257  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:49:47.257  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:49:47.257  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:49:47.257  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:49:47.261  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:49:47.261  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:49:47.261  3501 24515 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:49:47.261  3501 24515 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=2
12-06 11:49:47.261  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:49:47.269  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:49:47.278  3501 13669 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:49:47.278  3501 13669 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:49:47.278  3501 13669 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:49:47.278  3501 13669 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:49:47.278  3501 13669 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e8500 input port:[0]PCM_SYSTEM
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: padding_bytes 16384
12-06 11:49:47.278  3501 13669 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: padding_bytes 14336
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: padding_bytes 12288
12-06 11:49:47.278  3501 13669 I audio-subMixingFactory: padding_bytes 10240
12-06 11:49:47.292  3501 13669 I audio-subMixingFactory: padding_bytes 8192
12-06 11:49:47.299  3501 13669 I audio-subMixingFactory: padding_bytes 6144
12-06 11:49:47.307  3501 13669 I audio-subMixingFactory: padding_bytes 4096
12-06 11:49:47.323  3501 13669 I audio-subMixingFactory: padding_bytes 2048
12-06 11:49:48.023  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:48.258  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:49.032  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:49.269  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:49:50.043  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:50.273  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:51.050  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:51.284  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:52.055  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:52.289  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:53.060  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:54.069  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:54.305  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:55.071  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:55.308  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:56.077  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:56.312  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:57.084  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:57.321  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:58.091  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:58.326  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:59.095  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:49:59.331  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:00.100  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:00.338  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:01.106  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:01.341  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:02.121  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:02.364  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:03.129  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:03.371  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:04.132  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:04.379  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:07.412  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:50:08.414  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:50:12.352  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:50:12.352  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:50:12.352  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:50:12.352  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:50:16.771  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:50:16.771  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:50:16.771  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:50:16.777  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:50:16.857  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:50:16.952  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=108605214302 write=108528000000 diff=77214302
12-06 11:50:16.985  3501 24515 D audio_hw_primary: adev_open: enter
12-06 11:50:16.985  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 11:50:16.985  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:50:16.985  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 11:50:16.985  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:50:16.986  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:50:16.986  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:50:16.986  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:50:16.986  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:50:16.986  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:50:16.986  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:50:16.986  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:50:16.986  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:50:16.986  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:50:16.986  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:50:16.986  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:50:16.986  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:50:16.986  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:50:16.987  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:50:16.987  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:50:16.987  3501 24515 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:50:16.987  3501 24515 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:50:16.987  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:50:16.990  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:50:16.992  3501 13906 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:50:16.992  3501 13906 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:16.992  3501 13906 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:50:16.992  3501 13906 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:50:16.992  3501 13906 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1152500 input port:[0]PCM_SYSTEM
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: padding_bytes 16384
12-06 11:50:16.992  3501 13906 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: padding_bytes 14336
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: padding_bytes 12288
12-06 11:50:16.992  3501 13906 I audio-subMixingFactory: padding_bytes 10240
12-06 11:50:17.003  3501 13906 I audio-subMixingFactory: padding_bytes 8192
12-06 11:50:17.012  3501 13906 I audio-subMixingFactory: padding_bytes 6144
12-06 11:50:17.024  3501 13906 I audio-subMixingFactory: padding_bytes 4096
12-06 11:50:17.035  3501 13906 I audio-subMixingFactory: padding_bytes 2048
12-06 11:50:17.777  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 11:50:18.779  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:50:19.780  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:50:20.628  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:50:20.628  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:20.628  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:50:20.628  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:613275648
12-06 11:50:20.628  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:50:20.628  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:50:20.628  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:50:20.640  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:50:20.650  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:50:20.650  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:50:20.672  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:50:20.781  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:50:21.784  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:50:22.785  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:50:23.777  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:50:23.777  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:50:23.777  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:50:23.786  3501 30241 I audio_hw_primary: ms12_enable :0
12-06 11:50:48.541  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:50:48.541  3501 10201 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:50:48.541  3501 10201 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:50:48.547  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:48.741  3501 10201 D audio_hw_primary: adev_open: enter
12-06 11:50:48.741  3501 10201 I audio_hw_primary: adev exsits ,reuse
12-06 11:50:48.741  3501 10201 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:50:48.741  3501 10201 D audio_hw_primary: adev_open: exit, error
12-06 11:50:48.742  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:50:48.742  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:50:48.742  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:50:48.742  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:50:48.742  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:50:48.742  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:50:48.742  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:50:48.742  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:50:48.742  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:50:48.742  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:50:48.742  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:50:48.742  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:50:48.742  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:50:48.742  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:50:48.743  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:50:48.743  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:50:48.743  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:50:48.743  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:50:48.743  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:50:48.748  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:50:48.750  3501 14304 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:50:48.750  3501 14304 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:48.750  3501 14304 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:50:48.750  3501 14304 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:50:48.750  3501 14304 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1152880 input port:[0]PCM_SYSTEM
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: padding_bytes 16384
12-06 11:50:48.750  3501 14304 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: padding_bytes 14336
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: padding_bytes 12288
12-06 11:50:48.750  3501 14304 I audio-subMixingFactory: padding_bytes 10240
12-06 11:50:48.768  3501 14304 I audio-subMixingFactory: padding_bytes 8192
12-06 11:50:48.778  3501 14304 I audio-subMixingFactory: padding_bytes 6144
12-06 11:50:48.778  3501 14304 I audio-subMixingFactory: padding_bytes 4096
12-06 11:50:48.800  3501 14304 I audio-subMixingFactory: padding_bytes 2048
12-06 11:50:49.549  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:50.552  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:50:50.560  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:50:50.560  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:50.560  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:50:50.560  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:613564416
12-06 11:50:50.560  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:50:50.560  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:50:50.560  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:50:50.571  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:50:50.581  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:50:50.591  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:50:50.603  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:50:50.991  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:50:50.992  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:50:50.994  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:50:50.994  3501 10201 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:50:50.994  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:50:51.207  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:50:51.207  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:50:51.207  3501 10201 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:50:51.207  3501 10201 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:50:51.207  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:50:51.212  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:50:51.212  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:50:51.212  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:50:51.212  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:50:51.212  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [0]PCM_NORMAL
12-06 11:50:51.212  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:50:51.212  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:50:51.212  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:50:51.212  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:50:51.212  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:50:51.212  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:50:51.212  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:50:51.715  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:50:51.715  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:50:51.715  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:50:51.715  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:51:03.759  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:51:03.759  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:03.759  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:03.759  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:613615616
12-06 11:51:03.759  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:51:03.759  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:51:03.759  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:51:03.775  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:51:03.786  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:51:03.786  3501 14472 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:51:03.786  3501 14472 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:51:03.786  3501 14472 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:51:03.787  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:51:03.807  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:51:04.122  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:51:04.122  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:51:04.124  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:51:04.124  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:51:04.127  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:51:04.127  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:51:04.127  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:51:04.127  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:51:04.127  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:51:04.128  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:51:04.128  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:51:04.133  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2752)
12-06 11:51:04.134  3501 24515 I audio_hw_primary: patch set found id 2752, patchset 0xf11e9000
12-06 11:51:04.134  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:51:04.134  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:51:04.134  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:51:04.134  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:51:04.134  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:51:04.134  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:51:04.134  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:51:04.135  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:51:04.135  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:51:04.141  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:04.141  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:04.143  3501 24515 D audio_hw_primary: out_dump(0xf1152880, 23)
12-06 11:51:04.150  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:04.150  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:04.155  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:04.155  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:04.155  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:04.155  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:04.155  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:51:04.156  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:51:04.156  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:51:04.156  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:51:04.156  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:04.156  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:04.156  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:04.183  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:51:04.183  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:04.183  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:51:06.762  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:51:06.762  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:51:06.762  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:51:06.762  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:51:11.357  3501 24515 I audio_hw_primary: get hwsync id
12-06 11:51:11.880  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:51:11.880  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:11.880  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:11.880  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:51:11.880  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:11.880  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:11.881  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:51:11.881  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:11.881  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:51:11.881  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:11.881  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:11.881  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:11.881  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:11.881  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:11.882  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:11.886  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:11.906  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:51:11.927  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:51:11.927  3501 10201 I audio_hw_primary: (0xf1152880)set hw_sync_id 12345678,enable hw sync mode
12-06 11:51:11.927  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:51:11.938  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:51:11.938  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:51:11.938  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:51:11.938  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:51:11.938  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:51:11.938  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:51:11.948  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152880, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:51:11.948  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:51:12.271  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152880), left:0.828896 right:0.828896 
12-06 11:51:12.274  3501 14694 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:51:12.274  3501 14694 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:51:12.274  3501 14694 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:51:12.274  3501 14694 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:51:12.274  3501 14694 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:51:12.274  3501 14694 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152880
12-06 11:51:12.274  3501 14694 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:12.274  3501 14694 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:12.274  3501 14694 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:51:12.274  3501 14694 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:12.274  3501 14694 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:51:12.275  3501 14694 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:51:12.275  3501 14694 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:51:12.280  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 10530, last position 0
12-06 11:51:12.280  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=10530
12-06 11:51:12.288  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 10530, last position 0
12-06 11:51:12.288  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=10530
12-06 11:51:12.296  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 10530, last position 0
12-06 11:51:12.296  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=10530
12-06 11:51:12.304  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 10530, last position 0
12-06 11:51:12.304  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=10530
12-06 11:51:12.312  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 10530, last position 0
12-06 11:51:12.312  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=10530
12-06 11:51:12.320  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 10530, last position 0
12-06 11:51:12.320  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=10530
12-06 11:51:12.330  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 10440, last position 0
12-06 11:51:12.330  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=10440
12-06 11:51:12.336  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 10530, last position 0
12-06 11:51:12.336  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=10530
12-06 11:51:12.344  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 10530, last position 64
12-06 11:51:12.344  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=10530
12-06 11:51:12.352  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 10530, last position 64
12-06 11:51:12.352  3501  3807 I audio_hwsync_cbks: pts32 = 96 latency=10530
12-06 11:51:12.360  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9270, latency 10530, last position 1024
12-06 11:51:12.360  3501  3807 I audio_hwsync_cbks: pts32 = 103 latency=10530
12-06 11:51:12.368  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9990, latency 10530, last position 1024
12-06 11:51:12.368  3501  3807 I audio_hwsync_cbks: pts32 = 111 latency=10530
12-06 11:51:12.376  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 10710, latency 10530, last position 1024
12-06 11:51:12.376  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0xb4
12-06 11:51:32.293  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:51:32.293  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:51:32.293  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 11:51:32.394  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:51:32.394  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:51:32.394  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 11:51:32.403  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:51:32.403  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:51:32.403  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 11:51:33.312  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:51:33.312  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:51:33.312  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:51:33.314  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2751)
12-06 11:51:33.314  3501 10201 I audio_hw_primary: patch set found id 2751, patchset 0xefd21000
12-06 11:51:33.314  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:51:33.314  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:51:33.314  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:51:33.314  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:51:33.328  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:51:33.328  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:51:33.328  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:51:33.329  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:51:33.330  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:33.330  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.330  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:51:33.330  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:51:33.330  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:51:33.330  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.330  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.330  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:51:33.331  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.331  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.331  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.331  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.331  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.331  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:33.331  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:33.331  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:33.332  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:51:33.336  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:51:33.361  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:51:33.361  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.361  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.361  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.361  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:51:33.361  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.362  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.362  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:51:33.362  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.362  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.362  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.362  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.362  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:51:33.362  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:51:33.374  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:51:33.378  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7a80),out 0xf16e7a80
12-06 11:51:33.378  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.378  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.379  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7a80
12-06 11:51:33.379  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.380  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:51:33.380  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:51:33.380  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7a80
12-06 11:51:33.380  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.380  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.380  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:51:33.381  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7a80
12-06 11:51:33.381  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.381  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.381  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.383  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7a80
12-06 11:51:33.383  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.383  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.383  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:51:33.384  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7a80
12-06 11:51:33.384  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.384  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.384  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.385  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.385  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.387  3501 24515 D audio_hw_primary: out_dump(0xf16e7a80, 21)
12-06 11:51:33.388  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.388  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.393  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:51:33.393  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:51:33.393  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.393  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:51:33.393  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:51:33.393  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.393  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:51:33.393  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.393  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.393  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.393  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.393  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.393  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.393  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:51:33.393  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:51:33.393  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.393  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.393  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.393  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:51:33.393  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.393  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.394  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.394  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.394  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.394  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.394  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.394  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:51:33.394  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:51:33.395  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:51:33.395  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:51:33.395  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:51:33.404  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:33.407  3501  2209 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:51:33.407  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.409  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.421  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:51:33.422  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 11:51:33.422  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:51:33.422  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.422  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.422  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.422  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.423  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.423  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.423  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.423  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.423  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.423  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:51:33.423  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:51:33.426  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:33.431  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.710396 right:0.710396 
12-06 11:51:33.437  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.437  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.441  3501  2209 D audio_hw_primary: out_dump(0xf1152880, 24)
12-06 11:51:33.443  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.443  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.447  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:33.447  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.447  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.447  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:33.447  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:51:33.447  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 11:51:33.447  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.447  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.447  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.448  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.448  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.449  3501  2209 D audio_hw_primary: out_dump(0xf1152500, 19)
12-06 11:51:33.450  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.450  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.451  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:51:33.451  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:51:33.451  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.451  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:51:33.451  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:51:33.451  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.451  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:51:33.451  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.451  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.451  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.451  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.451  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.451  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.453  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.453  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.460  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:33.462  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:51:33.462  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.462  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.462  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:51:33.462  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.462  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:51:33.462  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:51:33.462  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:51:33.462  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.462  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.462  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.462  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 11:51:33.463  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.463  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.470  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:51:33.471  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:51:33.471  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:51:33.480  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:51:33.480  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:51:33.480  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:51:33.481  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:51:33.482  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:33.482  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.482  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:51:33.482  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:51:33.482  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:51:33.482  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.482  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.482  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.482  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.482  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.482  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.482  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.482  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.482  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:33.483  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:33.483  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:33.485  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:51:33.491  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:51:33.508  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:51:33.508  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.508  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.508  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.508  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:51:33.508  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.508  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.508  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.508  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.508  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.508  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.508  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.508  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:51:33.508  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:51:33.517  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:51:33.518  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153300
12-06 11:51:33.518  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.518  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.519  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:51:33.524  3501 30241 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 11:51:33.524  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.524  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.525  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153300
12-06 11:51:33.525  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.525  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.525  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:51:33.526  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153300
12-06 11:51:33.526  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.527  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.527  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.527  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153300
12-06 11:51:33.527  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.527  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.527  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:51:33.528  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153300
12-06 11:51:33.528  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.528  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.529  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.531  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.531  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.532  3501 30241 D audio_hw_primary: out_dump(0xf1153300, 21)
12-06 11:51:33.533  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.533  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.541  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:51:33.541  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:51:33.541  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.541  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:51:33.541  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:51:33.541  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.541  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:51:33.541  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.541  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.541  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.541  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.541  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.541  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.541  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:51:33.541  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:51:33.541  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.541  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.541  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.542  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:51:33.542  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.542  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.542  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.542  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.542  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.542  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.542  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.542  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:51:33.542  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:51:33.544  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:51:33.544  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:51:33.544  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:51:33.547  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 11:51:33.548  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.548  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.560  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:33.571  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:51:33.571  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 11:51:33.571  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:51:33.571  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.571  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.571  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.571  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.571  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.571  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.571  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.571  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.571  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.571  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:51:33.571  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:51:33.573  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:33.579  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.710396 right:0.710396 
12-06 11:51:33.584  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.584  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.585  3501  2209 D audio_hw_primary: out_dump(0xf16e7700, 24)
12-06 11:51:33.587  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.587  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.589  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:33.589  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.589  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.589  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:33.589  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:51:33.589  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 11:51:33.589  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.589  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.589  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.590  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.590  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.592  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 11:51:33.594  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.594  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.596  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:51:33.596  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:51:33.596  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.596  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:51:33.596  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:51:33.597  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.597  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:51:33.597  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.597  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.597  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.597  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.597  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.597  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.604  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:33.606  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.606  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.608  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:51:33.608  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.608  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.608  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:51:33.608  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.608  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:51:33.609  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:51:33.609  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:51:33.609  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.609  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.609  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.609  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152500
12-06 11:51:33.609  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.609  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.614  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:51:33.614  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:51:33.614  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:51:33.621  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:51:33.621  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:51:33.621  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:51:33.623  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:51:33.624  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:33.624  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.624  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:51:33.624  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:51:33.624  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:51:33.624  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.624  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.624  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.624  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.624  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.624  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.624  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.624  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.624  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:33.624  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:33.624  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:33.627  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:51:33.631  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 11:51:33.651  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:51:33.651  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.651  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.651  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.651  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:51:33.651  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.651  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.651  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.651  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.651  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.651  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.651  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.651  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:51:33.651  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:51:33.661  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:51:33.662  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8180
12-06 11:51:33.662  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.663  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:33.663  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:51:33.664  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8180
12-06 11:51:33.664  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.664  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.664  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:51:33.666  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8180),out 0xf16e8180
12-06 11:51:33.666  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.666  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.667  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8180
12-06 11:51:33.667  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.667  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.667  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.668  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8180
12-06 11:51:33.668  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.668  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.669  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:51:33.669  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8180
12-06 11:51:33.669  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.670  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.670  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.671  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.671  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.672  3501 30241 D audio_hw_primary: out_dump(0xf16e8180, 21)
12-06 11:51:33.673  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.673  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.680  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:51:33.680  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 11:51:33.680  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.680  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:51:33.680  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:51:33.680  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.680  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:51:33.680  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.680  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.680  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.680  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.680  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.680  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.681  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:51:33.681  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:51:33.681  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.681  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.681  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.681  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:51:33.682  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.683  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.684  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:51:33.684  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.684  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.684  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.684  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.684  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:51:33.684  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:51:33.692  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:33.696  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:51:33.696  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:51:33.696  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:51:33.701  3501 10201 I audio_hw_primary: out_standby_direct(0xf1151000),out 0xf1151000
12-06 11:51:33.701  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.701  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.704  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:51:33.705  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152c00
12-06 11:51:33.705  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:51:33.705  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.705  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.705  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.705  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:51:33.705  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.705  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.705  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.705  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.705  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.705  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:51:33.705  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:51:33.706  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:33.709  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.710396 right:0.710396 
12-06 11:51:33.714  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.714  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.715  3501 10201 D audio_hw_primary: out_dump(0xf1153300, 24)
12-06 11:51:33.716  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.716  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.717  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:33.717  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.717  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.717  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:33.717  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 11:51:33.717  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 11:51:33.717  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.717  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.717  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.719  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.719  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.720  3501 10201 D audio_hw_primary: out_dump(0xf1151000, 19)
12-06 11:51:33.721  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.721  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.723  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:51:33.723  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:51:33.723  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.723  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:51:33.723  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:51:33.723  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.723  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:51:33.723  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.723  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.723  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.723  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.723  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.723  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.724  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.724  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.726  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:51:33.726  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.726  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.726  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:51:33.726  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.726  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:51:33.732  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:33.735  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:51:33.735  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:51:33.735  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.735  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.735  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.735  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152c00
12-06 11:51:33.735  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.735  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.735  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:51:33.735  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:51:33.735  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:51:33.742  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:51:33.742  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:51:33.742  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:51:33.745  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:51:33.745  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:33.745  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.745  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:51:33.745  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:51:33.745  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:51:33.745  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.745  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.745  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.745  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.745  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.745  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.745  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.745  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.745  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:33.745  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:33.745  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:33.748  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:51:33.751  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:51:33.764  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:51:33.764  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.765  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.765  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.765  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:51:33.765  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.765  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.765  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.765  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.765  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.765  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.765  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.765  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:51:33.765  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:51:33.773  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:51:33.777  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152500
12-06 11:51:33.777  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.778  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.778  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:51:33.781  3501  2209 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:51:33.782  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.782  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.783  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152500
12-06 11:51:33.783  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.783  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.783  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:51:33.784  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152500
12-06 11:51:33.784  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.784  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.784  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.784  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152500
12-06 11:51:33.784  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.784  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:33.785  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:51:33.785  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152500
12-06 11:51:33.785  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:33.786  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 11:51:33.786  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:33.791  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.791  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.797  3501  2209 D audio_hw_primary: out_dump(0xf1152500, 21)
12-06 11:51:33.799  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.799  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.800  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:51:33.811  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:51:33.811  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:51:33.811  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.811  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:51:33.811  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:51:33.811  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.811  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:51:33.811  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:33.811  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:33.811  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:33.812  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.812  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.812  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.812  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:51:33.812  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:51:33.812  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:33.812  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:33.812  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.812  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:51:33.812  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.812  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.812  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.813  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.813  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.813  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.813  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.813  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:51:33.813  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:51:33.816  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:51:33.816  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:51:33.816  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:51:33.834  3501  2209 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 11:51:33.834  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:33.834  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:33.844  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:51:33.844  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 11:51:33.845  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:51:33.846  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:33.846  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:33.846  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:33.847  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:33.847  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:33.847  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:33.847  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:33.847  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:33.847  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:33.847  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:51:33.847  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:51:33.848  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:33.915  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.710396 right:0.710396 
12-06 11:51:33.921  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.921  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.923  3501  2209 D audio_hw_primary: out_dump(0xf1152c00, 24)
12-06 11:51:33.924  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.925  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.930  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:33.930  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.930  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.930  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:33.930  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:51:33.930  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:51:33.930  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:33.930  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:33.930  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:33.932  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.932  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.936  3501 10201 D audio_hw_primary: out_dump(0xf1152500, 19)
12-06 11:51:33.937  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:33.937  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.939  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:51:33.939  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 11:51:33.939  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:51:33.939  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:51:33.940  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:33.940  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:33.943  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:51:33.943  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:33.943  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:33.943  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:51:33.943  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 11:51:34.030  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:34.033  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=16580282466 write=16400000000 diff=180282466
12-06 11:51:34.033  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:51:34.033  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:34.033  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:51:34.033  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:34.033  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:51:34.033  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:34.033  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:34.033  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:34.033  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:34.033  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:34.033  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:51:34.036  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:51:34.036  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:51:34.036  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:51:34.036  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 11:51:34.036  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:34.036  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 11:51:34.036  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:34.036  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:34.105  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:51:34.105  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:34.105  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:34.105  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:51:34.105  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:34.105  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:34.105  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:34.106  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:34.106  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:51:34.106  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:34.106  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:34.106  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:34.106  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:34.106  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:34.106  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:34.107  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:34.110  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:51:34.135  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:51:34.135  3501 10201 I audio_hw_primary: (0xf16e7e00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:51:34.135  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:51:34.141  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:51:34.141  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:51:34.141  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:51:34.141  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:51:34.141  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:51:34.141  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:51:34.153  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7e00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:51:34.153  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:51:34.367  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.828896 right:0.828896 
12-06 11:51:34.369  3501 15013 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:51:34.369  3501 15013 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:51:34.370  3501 15013 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:51:34.370  3501 15013 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:51:34.370  3501 15013 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:51:34.370  3501 15013 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7e00
12-06 11:51:34.371  3501 15013 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:34.371  3501 15013 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:34.371  3501 15013 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:51:34.371  3501 15013 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:34.371  3501 15013 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:51:34.474  3501 15013 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:51:34.475  3501 15013 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:51:34.489  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2520, latency 7650, last position 0
12-06 11:51:34.489  3501  3807 I audio_hwsync_cbks: pts32 = 28 latency=7650
12-06 11:51:34.497  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3240, latency 7650, last position 0
12-06 11:51:34.497  3501  3807 I audio_hwsync_cbks: pts32 = 36 latency=7650
12-06 11:51:34.505  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3960, latency 7650, last position 0
12-06 11:51:34.505  3501  3807 I audio_hwsync_cbks: pts32 = 44 latency=7650
12-06 11:51:34.513  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4680, latency 7650, last position 0
12-06 11:51:34.513  3501  3807 I audio_hwsync_cbks: pts32 = 52 latency=7650
12-06 11:51:34.521  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5400, latency 7650, last position 448
12-06 11:51:34.521  3501  3807 I audio_hwsync_cbks: pts32 = 60 latency=7650
12-06 11:51:34.529  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6210, latency 7650, last position 448
12-06 11:51:34.529  3501  3807 I audio_hwsync_cbks: pts32 = 69 latency=7650
12-06 11:51:34.537  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6930, latency 7650, last position 1408
12-06 11:51:34.537  3501  3807 I audio_hwsync_cbks: pts32 = 77 latency=7650
12-06 11:51:34.545  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7560, latency 7650, last position 1408
12-06 11:51:34.545  3501  3807 I audio_hwsync_cbks: pts32 = 84 latency=7650
12-06 11:51:34.553  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8280, latency 7650, last position 1408
12-06 11:51:34.553  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 11:51:35.367  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:51:35.367  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:51:35.367  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:51:35.367  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:51:35.367  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:51:35.367  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:51:35.381  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:51:35.381  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:35.381  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:35.381  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:613754880
12-06 11:51:35.381  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:51:35.381  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:51:35.381  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:51:35.384  3501 15013 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:51:35.384  3501 15013 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:51:35.384  3501 15013 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:51:35.394  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:51:35.402  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:51:35.410  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:51:35.426  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:51:35.678  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:51:35.678  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:51:35.681  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:51:35.681  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:51:35.681  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:51:35.681  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:51:35.681  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:51:35.681  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:51:35.682  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:51:35.683  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:51:35.683  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:51:35.683  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:51:35.683  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:51:35.689  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2754)
12-06 11:51:35.689  3501  2209 I audio_hw_primary: patch set found id 2754, patchset 0xefd21000
12-06 11:51:35.689  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:51:35.689  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:51:35.689  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:51:35.689  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:51:35.692  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:35.692  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:35.693  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 23)
12-06 11:51:35.695  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:35.695  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:35.699  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:35.699  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:35.699  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:35.699  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:35.699  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:51:35.699  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:51:35.699  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:51:35.699  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:51:35.699  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:35.699  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:35.699  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:35.723  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:51:35.723  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:35.723  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:51:36.582  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:51:36.584  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=2551059127 write=2528000000 diff=23059127
12-06 11:51:37.051  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:51:37.051  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:51:37.051  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:51:37.053  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2756)
12-06 11:51:37.053  3501 30241 I audio_hw_primary: patch set found id 2756, patchset 0xefd21000
12-06 11:51:37.053  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:51:37.053  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:51:37.053  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:51:37.053  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:51:37.081  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:51:37.081  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:51:37.081  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:51:37.082  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:51:37.083  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:37.083  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:37.083  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:51:37.083  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:51:37.083  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:51:37.083  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:37.083  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:37.083  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:37.084  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:37.084  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:51:37.084  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:37.084  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:37.084  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:37.084  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:51:37.084  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:51:37.084  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:51:37.085  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:51:37.087  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:51:37.101  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:51:37.101  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:37.101  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:51:37.101  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:37.101  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:51:37.101  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:37.101  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:37.101  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:37.101  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:37.101  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:51:37.101  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:37.101  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:37.101  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:51:37.101  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:51:37.109  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:51:37.113  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152c00
12-06 11:51:37.113  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:37.113  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:51:37.113  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:51:37.114  3501 30241 I audio_hw_primary: out_standby_direct(0xf1152c00),out 0xf1152c00
12-06 11:51:37.115  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:37.115  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:37.116  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152c00
12-06 11:51:37.116  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:37.117  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:51:37.117  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:51:37.118  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152c00
12-06 11:51:37.119  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:51:37.119  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:51:37.119  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:51:37.120  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:37.121  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.122  3501 30241 D audio_hw_primary: out_dump(0xf1152c00, 21)
12-06 11:51:37.123  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:37.123  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.128  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:51:37.128  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:51:37.128  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:51:37.128  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:51:37.128  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:37.128  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:51:37.128  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:37.128  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:37.129  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:51:37.129  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:51:37.129  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:51:37.129  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:51:37.129  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:51:37.129  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:37.129  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:51:37.129  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:51:37.129  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:51:37.129  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:37.129  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:37.129  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:37.129  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:37.129  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:37.129  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:37.129  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:51:37.129  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:37.129  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:37.129  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:51:37.129  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:51:37.131  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:51:37.131  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:51:37.132  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:51:37.134  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 11:51:37.134  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:51:37.134  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:37.147  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:37.158  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:51:37.158  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152880
12-06 11:51:37.158  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:51:37.158  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:37.158  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:37.158  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:37.158  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:37.158  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:37.159  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:51:37.159  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:37.159  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:37.159  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:37.159  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:51:37.159  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:51:37.160  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:37.168  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1152880), left:0.710396 right:0.710396 
12-06 11:51:37.172  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:37.172  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.173  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 24)
12-06 11:51:37.175  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:37.175  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.176  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:51:37.176  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:37.176  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:37.176  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:51:37.176  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:51:37.176  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 11:51:37.176  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:37.176  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:37.176  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:37.179  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:37.179  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.180  3501 10201 D audio_hw_primary: out_dump(0xf16e7700, 19)
12-06 11:51:37.181  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:51:37.181  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.183  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:51:37.183  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 11:51:37.184  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:51:37.184  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:51:37.184  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:51:37.184  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:51:37.184  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:51:37.184  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:51:37.184  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:51:37.184  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:51:37.184  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:37.184  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:37.184  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:37.184  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:51:37.185  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:51:37.189  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:51:37.189  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:37.189  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:37.189  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 11:51:37.189  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:51:37.189  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:51:37.192  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:51:37.195  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:51:37.195  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:51:37.195  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:51:37.195  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:51:37.195  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:37.195  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152880
12-06 11:51:37.195  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:37.195  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:38.384  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:51:38.385  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:51:38.385  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:51:38.385  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:51:44.228  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:51:44.228  3501 10201 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:51:44.228  3501 10201 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:51:44.236  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:44.481  3501 10201 D audio_hw_primary: adev_open: enter
12-06 11:51:44.481  3501 10201 I audio_hw_primary: adev exsits ,reuse
12-06 11:51:44.481  3501 10201 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:51:44.481  3501 10201 D audio_hw_primary: adev_open: exit, error
12-06 11:51:44.482  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:51:44.483  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:51:44.483  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:51:44.483  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:51:44.483  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:51:44.483  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:51:44.483  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:51:44.483  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:51:44.483  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:51:44.483  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:51:44.483  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:51:44.483  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:51:44.483  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:51:44.483  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:51:44.484  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:51:44.484  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:51:44.484  3501  2209 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:51:44.484  3501  2209 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:51:44.484  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:51:44.487  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:51:44.489  3501 15239 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:51:44.490  3501 15239 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:51:44.490  3501 15239 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:51:44.490  3501 15239 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:44.490  3501 15239 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:51:44.490  3501 15239 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:44.490  3501 15239 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:44.491  3501 15239 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:51:44.491  3501 15239 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:44.491  3501 15239 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7e00 input port:[0]PCM_SYSTEM
12-06 11:51:44.491  3501 15239 I audio-subMixingFactory: padding_bytes 16384
12-06 11:51:44.491  3501 15239 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:44.491  3501 15239 I audio-subMixingFactory: padding_bytes 14336
12-06 11:51:44.491  3501 15239 I audio-subMixingFactory: padding_bytes 12288
12-06 11:51:44.491  3501 15239 I audio-subMixingFactory: padding_bytes 10240
12-06 11:51:44.505  3501 15239 I audio-subMixingFactory: padding_bytes 8192
12-06 11:51:44.512  3501 15239 I audio-subMixingFactory: padding_bytes 6144
12-06 11:51:44.520  3501 15239 I audio-subMixingFactory: padding_bytes 4096
12-06 11:51:44.536  3501 15239 I audio-subMixingFactory: padding_bytes 2048
12-06 11:51:45.239  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:46.245  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:47.248  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:47.873  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:51:47.873  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:51:47.873  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:51:47.873  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:51:47.873  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:51:47.873  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:51:47.887  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:51:47.887  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:51:47.887  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:51:47.887  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:47.887  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:51:47.887  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:47.887  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:47.887  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:613894144
12-06 11:51:47.887  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:47.888  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:51:47.888  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:51:47.888  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:47.888  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:51:47.888  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:51:47.888  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:51:47.896  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:51:47.905  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:51:47.913  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:51:47.929  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:51:48.248  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:49.249  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:50.252  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:51.031  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:51:51.031  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:51:51.031  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:51:51.252  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:51.727  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:51:51.727  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:51:51.727  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:51:51.727  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:51.727  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:51:51.727  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:51.727  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:51.727  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:614041600
12-06 11:51:51.728  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:51.728  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:51:51.728  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:51:51.728  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:51.728  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:51:51.728  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:51:51.728  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:51:51.737  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:51:51.744  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:51:51.753  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:51:51.769  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:51:52.254  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:53.255  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:54.256  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:55.258  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:56.259  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:51:56.460  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:51:56.460  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:51:56.476  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:51:56.476  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:51:56.477  3501 15239 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:56.478  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:51:56.478  3501 10201 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:51:56.478  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:51:56.482  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:51:56.482  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:51:56.488  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:51:56.488  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:51:56.579  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:51:56.579  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:51:56.579  3501 10201 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:51:56.579  3501 10201 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:51:56.579  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:51:56.587  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:51:56.587  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:51:56.587  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:51:56.587  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:51:56.587  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [0]PCM_NORMAL
12-06 11:51:56.587  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:51:56.587  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:51:56.587  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:51:56.587  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:51:56.587  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:51:56.587  3501 10201 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:51:56.587  3501 10201 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:51:57.185  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:51:57.185  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:51:57.185  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:51:57.185  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:51:59.263  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:51:59.263  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:59.263  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:51:59.263  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:614299648
12-06 11:51:59.263  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:51:59.263  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:51:59.263  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:51:59.272  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:51:59.280  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:51:59.289  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:51:59.305  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:52:02.406  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:52:02.406  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:52:02.406  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:52:02.406  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:52:06.571  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:52:06.571  3501 10201 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:52:06.571  3501 10201 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:52:06.583  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:52:06.807  3501 10201 D audio_hw_primary: adev_open: enter
12-06 11:52:06.807  3501 10201 I audio_hw_primary: adev exsits ,reuse
12-06 11:52:06.807  3501 10201 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:52:06.807  3501 10201 D audio_hw_primary: adev_open: exit, error
12-06 11:52:06.808  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:52:06.809  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:52:06.809  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:52:06.809  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:52:06.809  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:52:06.809  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:52:06.809  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:52:06.809  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:52:06.809  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:52:06.809  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:52:06.809  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:52:06.809  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:52:06.809  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:52:06.810  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:52:06.811  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:52:06.811  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:52:06.811  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:52:06.811  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:52:06.811  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:52:06.819  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:52:06.840  3501 15544 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:52:06.840  3501 15544 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:52:06.840  3501 15544 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:52:06.840  3501 15544 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:52:06.840  3501 15544 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:52:06.840  3501 15544 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:52:06.840  3501 15544 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:52:06.840  3501 15544 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:52:06.840  3501 15544 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:52:06.840  3501 15544 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1152c00 input port:[0]PCM_SYSTEM
12-06 11:52:06.841  3501 15544 I audio-subMixingFactory: padding_bytes 16384
12-06 11:52:06.841  3501 15544 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:52:06.841  3501 15544 I audio-subMixingFactory: padding_bytes 14336
12-06 11:52:06.841  3501 15544 I audio-subMixingFactory: padding_bytes 12288
12-06 11:52:06.841  3501 15544 I audio-subMixingFactory: padding_bytes 10240
12-06 11:52:06.856  3501 15544 I audio-subMixingFactory: padding_bytes 8192
12-06 11:52:06.864  3501 15544 I audio-subMixingFactory: padding_bytes 6144
12-06 11:52:06.872  3501 15544 I audio-subMixingFactory: padding_bytes 4096
12-06 11:52:06.888  3501 15544 I audio-subMixingFactory: padding_bytes 2048
12-06 11:52:07.584  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:52:08.586  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:52:08.644  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:52:08.644  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:52:08.644  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:52:08.644  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:614447104
12-06 11:52:08.644  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:52:08.644  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:52:08.644  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:52:08.657  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:52:08.665  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:52:08.673  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:52:08.688  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:52:09.058  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:52:09.058  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:52:09.060  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:52:09.060  3501 10201 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:52:09.060  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:52:09.064  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:52:09.064  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:52:09.064  3501 15544 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:52:09.105  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:52:09.105  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:52:09.112  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:52:09.112  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:52:09.113  3501 15544 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:52:09.456  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:52:09.456  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:52:09.456  3501 10201 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:52:09.456  3501 10201 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:52:09.456  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:52:09.457  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:52:09.458  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:52:09.458  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:52:09.458  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:52:09.458  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [0]PCM_NORMAL
12-06 11:52:09.458  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:52:09.458  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:52:09.458  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:52:09.458  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:52:09.458  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:52:09.458  3501 10201 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:52:09.458  3501 10201 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:52:12.670  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:52:12.670  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:52:12.670  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 11:52:12.771  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:52:12.771  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:52:12.771  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 11:52:12.777  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:52:12.777  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:52:12.777  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 11:52:13.669  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:52:13.669  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:52:13.670  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:52:13.672  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2757)
12-06 11:52:13.672  3501 30241 I audio_hw_primary: patch set found id 2757, patchset 0xf11b0800
12-06 11:52:13.672  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:52:13.672  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:52:13.672  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:52:13.672  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:52:13.700  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:52:13.700  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:52:13.700  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:52:13.701  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:52:13.701  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:52:13.701  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:52:13.701  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:52:13.701  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:52:13.701  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:52:13.701  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:52:13.701  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:52:13.701  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:52:13.701  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:52:13.702  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:52:13.702  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:52:13.702  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:52:13.702  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:52:13.702  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:52:13.702  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:52:13.702  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:52:13.704  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:52:13.711  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 11:52:13.736  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:52:13.736  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:52:13.737  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:52:13.737  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:52:13.737  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:52:13.737  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:52:13.737  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:52:13.737  3501  2209 D audio_hw_profile: query hdmi format...
12-06 11:52:13.737  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:52:13.737  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:52:13.737  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:52:13.737  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:52:13.737  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:52:13.737  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152f80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:52:13.748  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:52:13.753  3501 30241 I audio_hw_primary: out_standby_direct(0xf1152f80),out 0xf1152f80
12-06 11:52:13.753  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:52:13.753  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:52:13.753  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152f80
12-06 11:52:13.753  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:52:13.754  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:52:13.754  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:52:13.754  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152f80
12-06 11:52:13.754  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:52:13.754  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:52:13.755  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:52:13.755  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152f80
12-06 11:52:13.755  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:52:13.755  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:52:13.755  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:52:13.756  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152f80
12-06 11:52:13.756  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:52:13.756  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:52:13.756  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:52:13.756  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152f80
12-06 11:52:13.756  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:52:13.756  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:52:13.756  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:52:13.759  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:52:13.759  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.760  3501 30241 D audio_hw_primary: out_dump(0xf1152f80, 21)
12-06 11:52:13.761  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:52:13.762  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.767  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:52:13.767  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152f80)
12-06 11:52:13.767  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:52:13.767  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:52:13.767  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:52:13.767  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:52:13.767  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:52:13.767  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:52:13.767  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:52:13.767  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:52:13.767  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:52:13.767  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:52:13.767  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:52:13.767  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:52:13.767  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:52:13.767  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:52:13.767  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:52:13.767  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:52:13.767  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:52:13.767  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:52:13.767  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:52:13.767  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:52:13.768  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:52:13.768  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:52:13.768  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:52:13.768  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:52:13.768  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:52:13.768  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:52:13.769  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:52:13.769  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:52:13.769  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:52:13.776  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:52:13.780  3501 10201 I audio_hw_primary: out_standby_direct(0xf1152c00),out 0xf1152c00
12-06 11:52:13.780  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:52:13.780  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:52:13.801  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:52:13.801  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 11:52:13.802  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:52:13.802  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:52:13.802  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:52:13.802  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:52:13.802  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:52:13.802  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:52:13.802  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:52:13.802  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:52:13.802  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:52:13.802  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:52:13.802  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:52:13.803  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:52:13.804  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:52:13.806  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.710396 right:0.710396 
12-06 11:52:13.813  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:52:13.813  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.814  3501 10201 D audio_hw_primary: out_dump(0xf16e8880, 24)
12-06 11:52:13.815  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:52:13.815  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.818  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:52:13.818  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:52:13.818  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:52:13.818  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:52:13.818  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 11:52:13.818  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 11:52:13.818  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:52:13.818  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:52:13.818  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:52:13.819  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:52:13.819  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.820  3501 10201 D audio_hw_primary: out_dump(0xf1152c00, 19)
12-06 11:52:13.823  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:52:13.823  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.824  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:52:13.824  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:52:13.825  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:52:13.825  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:52:13.825  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:52:13.825  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:52:13.826  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:52:13.826  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:52:13.826  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:52:13.826  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:52:13.826  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:52:13.826  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:52:13.826  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:52:13.826  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:52:13.826  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:52:13.828  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:52:13.828  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:52:13.828  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:52:13.828  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 11:52:14.887  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 identical 119 lines
12-06 11:52:14.889  3501 15751 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 16 lines
12-06 11:52:19.347  3501  6534 I chatty  : uid=1041(audioserver) writer expire 22 lines
12-06 11:52:20.009  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 91 lines
12-06 11:52:31.544  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 47 lines
12-06 11:52:36.695  3501 16171 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:52:40.335  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 75 lines
12-06 11:52:40.350  3501 16211 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 21 lines
12-06 11:52:41.608  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 13 lines
12-06 11:52:41.635  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 11 lines
12-06 11:52:43.943  3501 16272 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:52:52.741  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 65 lines
12-06 11:52:53.396  3501 16318 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:52:59.135  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 22 lines
12-06 11:52:59.810  3501  6534 I chatty  : uid=1041(audioserver) writer expire 23 lines
12-06 11:53:23.111  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 77 lines
12-06 11:53:23.122  3501 16628 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 3 lines
12-06 11:53:24.576  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 13 lines
12-06 11:53:28.576  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 26 lines
12-06 11:53:32.605  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 68 lines
12-06 11:53:32.957  3501 16969 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:53:36.331  3501 17007 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 20 lines
12-06 11:53:39.671  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 28 lines
12-06 11:53:40.893  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 29 lines
12-06 11:53:40.928  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 10 lines
12-06 11:53:41.354  3501 17075 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:53:59.854  3501  6534 I chatty  : uid=1041(audioserver) writer expire 19 lines
12-06 11:54:00.408  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 10 lines
12-06 11:54:00.410  3501 17459 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:54:11.835  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 185 lines
12-06 11:54:17.063  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 279 lines
12-06 11:54:18.172  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 212 lines
12-06 11:54:18.579  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 30 lines
12-06 11:54:18.583  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 20 lines
12-06 11:54:19.216  3501 17842 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 13 lines
12-06 11:54:28.349  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 330 lines
12-06 11:54:34.003  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 336 lines
12-06 11:54:34.079  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 28 lines
12-06 11:54:34.522  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 13 lines
12-06 11:54:35.162  3501 18145 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 13 lines
12-06 11:55:13.661  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 12 lines
12-06 11:55:25.135  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 31 lines
12-06 11:55:25.138  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 10 lines
12-06 11:55:25.148  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 19 lines
12-06 11:55:25.159  3501 18763 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 22 lines
12-06 11:55:26.264  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 10 lines
12-06 11:55:27.169  3501  6534 I chatty  : uid=1041(audioserver) writer expire 19 lines
12-06 11:55:38.476  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 45 lines
12-06 11:55:38.538  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 29 lines
12-06 11:55:38.790  3501 18979 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 13 lines
12-06 11:55:39.501  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 58 lines
12-06 11:55:46.321  3501 19051 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 1 line
12-06 11:55:55.834  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 30 lines
12-06 11:55:55.837  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 29 lines
12-06 11:55:56.245  3501 19268 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 13 lines
12-06 11:55:56.264  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 27 lines
12-06 11:56:07.992  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 281 lines
12-06 11:56:09.033  3501  2209 I chatty  : uid=1041(audioserver) HwBinder:3501_8 expire 52 lines
12-06 11:56:09.128  3501 10201 I chatty  : uid=1041(audioserver) HwBinder:3501_5 expire 615 lines
12-06 11:56:09.136  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 72 lines
12-06 11:56:09.269  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 563 lines
12-06 11:56:11.331  3501  6534 I chatty  : uid=1041(audioserver) writer expire 41 lines
12-06 11:56:11.353  3501 19507 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 3 lines
12-06 11:56:15.691  3501 19735 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 13 lines
12-06 11:56:16.970  3501 19808 I chatty  : uid=1041(audioserver) audio@2.0-servi expire 19 lines
12-06 11:56:18.074  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 19 lines
12-06 11:56:36.121  3501 24515 I chatty  : uid=1041(audioserver) HwBinder:3501_7 expire 104 lines
12-06 11:56:38.510  3501 30241 I chatty  : uid=1041(audioserver) HwBinder:3501_6 expire 94 lines
12-06 11:56:38.592  3501  3807 I chatty  : uid=1041(audioserver) amlAudioMixer16 expire 2 lines
12-06 11:56:38.775  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:38.781  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 11:56:38.814  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:38.814  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:38.814  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:38.814  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:38.814  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:38.814  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:38.814  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:38.814  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:38.814  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:38.814  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:38.814  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:38.814  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:38.814  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:38.814  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:38.823  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:38.831  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8180
12-06 11:56:38.831  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:38.831  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:38.832  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:38.832  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8180
12-06 11:56:38.832  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:38.833  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:38.833  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:56:38.833  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8180
12-06 11:56:38.833  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:38.833  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:38.833  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:38.836  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8180),out 0xf16e8180
12-06 11:56:38.836  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:38.836  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:38.836  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8180
12-06 11:56:38.836  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:38.836  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:38.837  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:38.838  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8180
12-06 11:56:38.838  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:38.838  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:38.838  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:38.840  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:38.840  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.841  3501 24515 D audio_hw_primary: out_dump(0xf16e8180, 21)
12-06 11:56:38.844  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:38.844  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.855  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:38.855  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:38.855  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:38.855  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:38.855  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 11:56:38.855  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:56:38.855  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:38.855  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:38.855  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:38.855  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:38.855  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:38.855  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:56:38.855  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:38.855  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:38.855  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:38.855  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:38.856  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:56:38.856  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:38.856  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:38.856  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:38.856  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:38.856  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:38.856  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:38.856  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:38.856  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:38.856  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:38.856  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:38.856  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:38.860  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:56:38.860  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:56:38.860  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:56:38.864  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:38.868  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e8f80),out 0xf16e8f80
12-06 11:56:38.868  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:38.868  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:38.904  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:56:38.904  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7a80
12-06 11:56:38.904  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:56:38.904  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:38.904  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:38.904  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:38.904  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:38.905  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:38.905  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:38.905  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:38.905  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:38.905  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:38.905  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:56:38.905  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:56:38.909  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:56:38.921  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7a80), left:0.710396 right:0.710396 
12-06 11:56:38.927  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:38.927  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.929  3501 24515 D audio_hw_primary: out_dump(0xf1151000, 24)
12-06 11:56:38.932  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:38.932  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.934  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:56:38.934  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:38.934  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:38.934  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:56:38.934  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 11:56:38.934  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 11:56:38.934  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:38.934  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:38.934  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:38.935  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:38.935  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.936  3501 24515 D audio_hw_primary: out_dump(0xf16e8f80, 19)
12-06 11:56:38.938  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:38.938  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.939  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:56:38.939  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 11:56:38.939  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:56:38.939  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:56:38.939  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:56:38.939  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:38.939  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:56:38.939  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:38.939  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:56:38.939  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:38.939  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:38.939  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:38.939  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:38.940  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:38.940  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:38.943  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:56:38.943  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:38.943  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:38.943  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:56:38.943  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:38.943  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:56:38.943  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:56:38.943  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:56:38.943  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:38.943  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:38.943  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:38.943  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7a80
12-06 11:56:38.943  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:38.943  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:38.952  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:38.960  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:56:38.960  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:56:38.960  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:56:38.973  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:56:38.973  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:56:38.973  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:56:38.973  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:56:38.973  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:38.974  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:38.974  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:56:38.974  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:56:38.974  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:56:38.974  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:38.974  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:38.974  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:38.974  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:38.974  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:38.974  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:38.974  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:38.974  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:38.974  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8f80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:56:38.974  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:56:38.974  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:56:38.982  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:38.993  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 11:56:39.016  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:56:39.026  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:39.026  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:39.026  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:39.026  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:39.026  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:39.026  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:39.026  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:39.027  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:39.027  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:39.027  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:39.027  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:39.027  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:39.027  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:39.027  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:39.054  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:39.059  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7a80),out 0xf16e7a80
12-06 11:56:39.060  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:39.060  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:39.062  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7a80
12-06 11:56:39.063  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.072  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:39.072  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:39.073  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7a80
12-06 11:56:39.073  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.073  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:39.073  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:56:39.074  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7a80
12-06 11:56:39.074  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.075  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:56:39.075  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:39.080  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7a80
12-06 11:56:39.080  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.081  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:39.081  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:39.082  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7a80
12-06 11:56:39.082  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.083  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:56:39.083  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:39.086  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:39.086  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.088  3501 24515 D audio_hw_primary: out_dump(0xf16e7a80, 21)
12-06 11:56:39.100  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:39.100  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.131  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:39.131  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:56:39.131  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:56:39.131  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:39.131  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:39.131  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:39.131  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:39.131  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:39.131  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:56:39.131  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:39.131  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:39.131  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:39.131  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:39.131  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:39.131  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:39.131  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:39.132  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:39.132  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:39.132  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:39.132  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:39.132  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:39.132  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:39.132  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:39.132  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:39.132  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:39.132  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:39.132  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:39.132  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:39.133  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:56:39.133  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:56:39.133  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:56:39.136  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:39.149  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:56:39.149  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9d80
12-06 11:56:39.150  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:56:39.150  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:39.150  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:39.150  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:39.150  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:39.151  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:39.151  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:39.151  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:39.151  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:39.151  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:39.151  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9d80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:56:39.151  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:56:39.152  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:56:39.154  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 11:56:39.154  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:39.154  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:39.173  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e9d80), left:0.710396 right:0.710396 
12-06 11:56:39.179  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:39.179  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.181  3501 30241 D audio_hw_primary: out_dump(0xf16e8f80, 24)
12-06 11:56:39.190  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:39.190  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.195  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:56:39.195  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:39.195  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:39.195  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:56:39.195  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 11:56:39.195  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 11:56:39.195  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:39.195  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:39.195  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:39.200  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:39.200  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.201  3501 30241 D audio_hw_primary: out_dump(0xf16e9680, 19)
12-06 11:56:39.204  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:39.204  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.206  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:56:39.206  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 11:56:39.206  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:39.206  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:56:39.206  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:56:39.206  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:39.206  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:56:39.206  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:39.206  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:39.206  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:39.206  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:39.206  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:39.206  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:39.207  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:39.207  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.208  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:39.223  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:56:39.223  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:39.223  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:39.223  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 11:56:39.223  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:56:39.223  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:56:39.223  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:56:39.223  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:56:39.223  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:39.223  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:56:39.223  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:39.223  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e9d80
12-06 11:56:39.223  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:39.223  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:39.226  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:56:39.226  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:56:39.226  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:56:39.226  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 11:56:39.226  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:56:39.226  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:56:39.240  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:56:39.240  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:56:39.240  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:56:39.240  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:56:39.240  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:56:39.240  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:39.240  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:56:39.240  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:617140224
12-06 11:56:39.240  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:39.241  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:56:39.241  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:56:39.241  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:56:39.241  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:56:39.241  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:56:39.241  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:56:39.251  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:56:39.251  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:56:39.251  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:56:39.257  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:56:39.265  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:56:39.273  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:56:39.290  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:56:39.340  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:56:39.340  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:56:39.340  3501 24515 I audio_hw_primary: patch found mix->dev id 2777, patchset 0xefd21000
12-06 11:56:39.340  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 11:56:39.340  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:56:39.340  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:56:39.340  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:56:39.340  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 11:56:39.340  3501 24515 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_HDMI to OUTPORT_SPEAKER
12-06 11:56:39.340  3501 24515 E audio_hw_primary: aml_audio_output_routing: active_outport = 2 unsupport
12-06 11:56:39.340  3501 24515 D audio_route: Apply path: speaker
12-06 11:56:39.340  3501 24515 E audio_route: unable to find path 'spdif'
12-06 11:56:39.340  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(0)
12-06 11:56:39.342  3501  6534 D audio-subMixingFactory: [mixer_aux_buffer_write_sm:1153] stream:0xf16e7000, switch from device:0x2 to device:0x400
12-06 11:56:39.342  3501  6534 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:56:39.342  3501  6534 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:56:39.342  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:56:39.342  3501  6534 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:56:39.343  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:56:39.343  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:56:39.343  3501  6534 I audio-subMixingFactory: WD1 threshold=20
12-06 11:56:39.347  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 11:56:39.347  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 11:56:39.347  3501  6534 I audio-subMixingFactory: WD1 threshold=19
12-06 11:56:39.347  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:56:39.347  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:56:39.347  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:56:39.347  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:56:39.347  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:56:39.347  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:39.347  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:56:39.347  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:617144320
12-06 11:56:39.347  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:39.348  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:56:39.348  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:56:39.348  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:56:39.348  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:56:39.348  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:56:39.348  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:56:39.355  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:56:39.355  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:56:39.355  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:56:39.356  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:56:39.357  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:39.357  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:39.357  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:56:39.357  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:56:39.357  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:56:39.357  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:39.357  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:39.357  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:39.357  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:39.357  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:39.357  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:39.357  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:39.357  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:39.358  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:56:39.358  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:56:39.358  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:56:39.360  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:39.361  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:56:39.366  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9680) usecase: [2]PCM_HWSYNC
12-06 11:56:39.369  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:56:39.376  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:39.376  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:39.376  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:39.376  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:39.376  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:39.376  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:39.376  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:39.376  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:56:39.376  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:39.377  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:39.377  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:39.377  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:39.377  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:39.377  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:39.377  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:39.387  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:39.391  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8f80
12-06 11:56:39.391  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.392  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:39.392  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:39.393  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:56:39.396  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8f80),out 0xf16e8f80
12-06 11:56:39.396  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:39.396  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:39.406  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8f80
12-06 11:56:39.406  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.407  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:39.407  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:56:39.409  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8f80
12-06 11:56:39.409  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.409  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:39.409  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:39.410  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8f80
12-06 11:56:39.410  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.410  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:39.410  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:39.411  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8f80
12-06 11:56:39.411  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:39.411  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:39.411  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:39.413  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 11:56:39.413  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.414  3501 30241 D audio_hw_primary: out_dump(0xf16e8f80, 21)
12-06 11:56:39.417  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 11:56:39.417  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:39.426  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:39.426  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:39.426  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 11:56:39.426  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:39.426  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:56:39.426  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:39.426  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:39.426  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:39.426  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:39.426  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:39.426  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 11:56:39.426  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:56:39.426  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:39.426  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:39.426  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:39.426  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:39.426  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:56:39.426  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:39.427  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:39.427  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:39.427  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:39.427  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:39.427  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:39.427  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:39.427  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:39.427  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:39.427  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:39.427  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:40.537  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:56:40.537  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:56:40.537  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:56:40.537  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:56:41.115  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:56:41.115  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:56:41.115  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:56:41.118  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2781)
12-06 11:56:41.118  3501 24515 I audio_hw_primary: patch set found id 2781, patchset 0xefd21000
12-06 11:56:41.118  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:56:41.118  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:56:41.118  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:56:41.118  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:56:41.144  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:56:41.144  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:56:41.144  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:56:41.145  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:56:41.145  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:41.145  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:41.145  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:56:41.145  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:56:41.145  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:56:41.146  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:41.146  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:41.146  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:41.146  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:41.146  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:56:41.146  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:41.146  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:41.146  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:41.146  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8f80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:56:41.146  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:56:41.146  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:56:41.148  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:41.152  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 11:56:41.183  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:41.183  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:41.183  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:41.183  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:41.183  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:41.183  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:41.183  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:41.184  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:41.184  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:41.184  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:56:41.184  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:41.184  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:41.184  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:41.184  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:41.190  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:41.192  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7a80
12-06 11:56:41.192  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:41.193  3501 24515 D audio_hw_profile: query hdmi format...
12-06 11:56:41.193  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:41.193  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7a80
12-06 11:56:41.193  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:41.193  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:41.193  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:41.194  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7a80
12-06 11:56:41.194  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:41.194  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 11:56:41.194  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:41.196  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:41.196  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:41.196  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7a80),out 0xf16e7a80
12-06 11:56:41.196  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:41.196  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:41.200  3501 24515 D audio_hw_primary: out_dump(0xf16e7a80, 21)
12-06 11:56:41.201  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:41.201  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:41.210  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:41.210  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:41.210  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 11:56:41.210  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:41.210  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 11:56:41.210  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:41.210  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:41.210  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:41.210  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:41.210  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:41.210  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:41.210  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 11:56:41.210  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:41.210  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:41.210  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:41.210  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:41.210  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:56:41.210  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:41.210  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:41.210  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:41.210  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:41.211  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:41.211  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:41.211  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:56:41.211  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:41.211  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:41.211  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:41.211  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:41.212  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:56:41.212  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:56:41.212  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:56:41.224  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:41.228  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 11:56:41.228  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:41.228  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:41.260  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:56:41.260  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9680
12-06 11:56:41.261  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:56:41.261  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:41.261  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:41.261  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:41.261  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:41.262  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:41.262  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:56:41.262  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:41.262  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:41.262  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:41.262  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:56:42.880  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:56:42.880  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:56:42.880  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 11:56:42.984  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 11:56:42.984  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 11:56:42.984  3501 10201 I audio_hw_primary: HDMI format: 0
12-06 11:56:42.991  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 11:56:42.991  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 11:56:42.991  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 11:56:43.891  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:56:43.891  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:56:43.891  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:56:43.916  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:56:43.916  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:56:43.916  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:56:43.917  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:56:43.918  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:43.918  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:43.918  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:56:43.919  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:56:43.919  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:56:43.919  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:43.919  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:43.919  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:43.919  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:43.919  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:43.919  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:43.919  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:43.919  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:43.919  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:56:43.919  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:56:43.919  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:56:43.920  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:43.923  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9680) usecase: [2]PCM_HWSYNC
12-06 11:56:43.941  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:43.941  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:43.941  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:43.941  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:43.941  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:43.941  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:43.941  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:43.941  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:43.943  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:43.943  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:43.943  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:43.943  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:43.943  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:43.943  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:43.953  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:43.955  3501 10201 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8f80
12-06 11:56:43.955  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:43.955  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:43.955  3501 10201 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:43.957  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8f80
12-06 11:56:43.957  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:43.957  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:43.958  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:56:43.959  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8f80
12-06 11:56:43.959  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:43.959  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:56:43.959  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:43.960  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8f80
12-06 11:56:43.960  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:43.960  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:43.960  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:43.961  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8f80
12-06 11:56:43.961  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:43.962  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 11:56:43.962  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:43.964  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:43.964  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:43.965  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e8f80),out 0xf16e8f80
12-06 11:56:43.965  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:43.965  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:43.969  3501 10201 D audio_hw_primary: out_dump(0xf16e8f80, 21)
12-06 11:56:43.972  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:43.972  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:43.979  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:43.979  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 11:56:43.979  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:56:43.979  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:43.979  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:43.979  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:43.979  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:43.979  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:43.979  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:43.979  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:43.979  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:43.979  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:56:43.979  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:43.979  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:43.979  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:43.979  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:43.980  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 11:56:43.980  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:43.980  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:43.980  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:43.980  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:43.987  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:43.987  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:43.987  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:43.987  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:43.987  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:43.987  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:43.987  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:43.988  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:56:43.988  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:56:43.988  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:56:43.992  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:43.999  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 11:56:43.999  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:43.999  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.020  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:56:44.020  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7380
12-06 11:56:44.021  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:56:44.021  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.021  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.021  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.021  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.021  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.021  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.021  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.021  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.021  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:44.021  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:56:44.021  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:56:44.023  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:56:44.027  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7380), left:0.710396 right:0.710396 
12-06 11:56:44.032  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.032  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.034  3501 30241 D audio_hw_primary: out_dump(0xf16e9680, 24)
12-06 11:56:44.036  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:44.036  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.037  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:56:44.037  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:44.037  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:44.037  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:56:44.037  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 11:56:44.037  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9680) usecase: [2]PCM_HWSYNC
12-06 11:56:44.037  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.037  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.037  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.040  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.041  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.042  3501 30241 D audio_hw_primary: out_dump(0xf16e9d80, 19)
12-06 11:56:44.043  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:44.043  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.044  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:56:44.044  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 11:56:44.044  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:44.044  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:56:44.044  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:56:44.044  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.044  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:56:44.044  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:44.044  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:44.044  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:44.044  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.044  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.044  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.045  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.045  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.047  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:56:44.047  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:44.047  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:44.047  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 11:56:44.047  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:44.047  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:56:44.047  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:56:44.047  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:56:44.047  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:44.048  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:44.048  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.048  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7380
12-06 11:56:44.048  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.048  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.056  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:44.063  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:56:44.063  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:56:44.063  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:56:44.073  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:56:44.073  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:56:44.073  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:56:44.075  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:56:44.075  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:44.075  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.075  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:56:44.075  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:56:44.075  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:56:44.075  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.075  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.075  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.075  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.075  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.075  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.075  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.075  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:44.076  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:56:44.076  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:56:44.076  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:56:44.078  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:44.083  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 11:56:44.101  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:44.101  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:44.101  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:44.101  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.101  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:44.101  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.101  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.101  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.102  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.102  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.102  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.102  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.102  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:44.102  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:44.109  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:44.115  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9d80
12-06 11:56:44.115  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.115  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.116  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:44.117  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 11:56:44.117  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:44.117  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.117  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e9d80
12-06 11:56:44.118  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.119  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:44.119  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:56:44.119  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e9d80
12-06 11:56:44.119  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.119  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:44.120  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:44.120  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9d80
12-06 11:56:44.120  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.120  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:44.121  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:44.121  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9d80
12-06 11:56:44.121  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.121  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:44.121  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:44.123  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.123  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.124  3501 30241 D audio_hw_primary: out_dump(0xf16e9d80, 21)
12-06 11:56:44.126  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:44.126  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.135  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:44.135  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 11:56:44.135  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:44.135  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:44.135  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:44.135  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.135  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:44.135  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:44.135  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:44.135  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:44.136  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.136  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.136  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.136  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:44.136  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:44.136  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:44.136  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:44.136  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.136  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:44.136  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.136  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.136  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:44.136  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.137  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.137  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.137  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.137  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:44.137  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:44.138  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:56:44.139  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:56:44.139  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:56:44.144  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:44.147  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e8f80),out 0xf16e8f80
12-06 11:56:44.147  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:44.148  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.172  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:56:44.172  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8180
12-06 11:56:44.173  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:56:44.173  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.173  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.173  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.173  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:44.173  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.173  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.173  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.173  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.173  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:44.173  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:56:44.173  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:56:44.174  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:56:44.183  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e8180), left:0.710396 right:0.710396 
12-06 11:56:44.191  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.191  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.193  3501 30241 D audio_hw_primary: out_dump(0xf16e7380, 24)
12-06 11:56:44.195  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:44.195  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.196  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:56:44.196  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:44.196  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:44.196  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:56:44.196  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 11:56:44.196  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 11:56:44.196  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.196  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.196  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.197  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.197  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.198  3501 10201 D audio_hw_primary: out_dump(0xf16e8f80, 19)
12-06 11:56:44.204  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:44.204  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.210  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 11:56:44.210  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 11:56:44.210  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 11:56:44.210  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 11:56:44.210  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 11:56:44.210  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.210  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 11:56:44.210  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:44.210  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 11:56:44.210  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:44.210  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.210  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.210  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.211  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.211  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.213  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 11:56:44.213  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:56:44.213  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:56:44.213  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 11:56:44.213  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:44.213  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 11:56:44.213  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 11:56:44.213  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 11:56:44.213  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:44.213  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:44.213  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.213  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8180
12-06 11:56:44.213  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.213  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.224  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:44.228  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 11:56:44.228  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 11:56:44.228  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 11:56:44.235  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 11:56:44.235  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 11:56:44.235  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 11:56:44.237  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 11:56:44.237  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:44.237  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.237  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 11:56:44.237  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 11:56:44.237  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 11:56:44.237  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.237  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.237  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.237  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.237  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.237  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.237  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.237  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:44.237  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:56:44.237  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:56:44.238  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:56:44.240  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 11:56:44.245  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8180) usecase: [2]PCM_HWSYNC
12-06 11:56:44.274  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 11:56:44.274  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:44.274  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:44.274  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.274  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 11:56:44.274  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.274  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.274  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.274  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.274  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.274  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.274  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.274  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 11:56:44.274  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 11:56:44.281  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 11:56:44.283  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7380
12-06 11:56:44.283  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.283  3501 30241 D audio_hw_profile: query hdmi format...
12-06 11:56:44.283  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 11:56:44.284  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7380
12-06 11:56:44.284  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.284  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:44.284  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 11:56:44.285  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7380
12-06 11:56:44.285  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.285  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:44.285  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:44.286  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7380
12-06 11:56:44.286  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.286  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 11:56:44.286  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 11:56:44.287  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 11:56:44.287  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:44.287  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.287  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7380
12-06 11:56:44.287  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 11:56:44.288  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 11:56:44.288  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 11:56:44.289  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:56:44.289  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.291  3501 30241 D audio_hw_primary: out_dump(0xf16e7380, 21)
12-06 11:56:44.294  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:56:44.294  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:56:44.302  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 11:56:44.302  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 11:56:44.302  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 11:56:44.302  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 11:56:44.302  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 11:56:44.302  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.302  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 11:56:44.302  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 11:56:44.302  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 11:56:44.302  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 11:56:44.302  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 11:56:44.302  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:56:44.302  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 11:56:44.302  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:56:44.302  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 11:56:44.302  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:56:44.302  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 11:56:44.303  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.303  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 11:56:44.303  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.303  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.303  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:44.303  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.303  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.303  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.303  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.303  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 11:56:44.303  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 11:56:44.304  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 11:56:44.304  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 11:56:44.304  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 11:56:44.312  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 11:56:44.312  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e8f80),out 0xf16e8f80
12-06 11:56:44.314  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 11:56:44.316  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 11:56:44.347  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 11:56:44.347  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 11:56:44.347  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 11:56:44.347  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:44.347  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:44.348  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:44.348  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:44.348  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:44.348  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 11:56:44.348  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:44.348  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:44.348  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:44.348  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 11:56:44.348  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 11:56:44.349  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:56:44.357  3501 10201 I audio_hw_primary: get hwsync id
12-06 11:56:44.365  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.710396 right:0.710396 
12-06 11:56:45.100  3501 20442 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:56:45.100  3501 20442 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:56:45.109  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1350, latency 7290, last position 0
12-06 11:56:45.109  3501  3807 I audio_hwsync_cbks: pts32 = 15 latency=7290
12-06 11:56:45.117  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2070, latency 7290, last position 0
12-06 11:56:45.117  3501  3807 I audio_hwsync_cbks: pts32 = 23 latency=7290
12-06 11:56:45.125  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2790, latency 7290, last position 0
12-06 11:56:45.125  3501  3807 I audio_hwsync_cbks: pts32 = 31 latency=7290
12-06 11:56:45.133  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 11:56:45.133  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 11:56:45.141  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 11:56:45.141  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 11:56:45.149  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 896
12-06 11:56:45.149  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 11:56:45.157  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 896
12-06 11:56:45.157  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 11:56:45.165  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 1920
12-06 11:56:45.165  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 11:56:45.173  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7110, latency 7290, last position 1920
12-06 11:56:45.173  3501  3807 I audio_hwsync_cbks: pts32 = 79 latency=7290
12-06 11:56:45.181  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7830, latency 7290, last position 1920
12-06 11:56:45.181  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 11:56:45.990  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:56:45.990  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:56:45.990  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:56:45.990  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:56:45.990  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:56:45.990  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:56:45.999  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:56:45.999  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:45.999  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:56:45.999  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:617197568
12-06 11:56:45.999  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:56:45.999  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:56:45.999  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:56:46.011  3501 20442 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:56:46.011  3501 20442 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:56:46.011  3501 20442 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:56:46.013  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:56:46.021  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:56:46.029  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:56:46.046  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:56:47.949  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:56:47.949  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:56:47.950  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:56:48.100  3501 24515 D audio_hw_primary: adev_open: enter
12-06 11:56:48.100  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 11:56:48.100  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 11:56:48.100  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 11:56:48.101  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 11:56:48.101  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:56:48.101  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:56:48.101  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:56:48.101  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:56:48.102  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:56:48.102  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:56:48.102  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:56:48.102  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:56:48.102  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:56:48.102  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:56:48.102  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 11:56:48.102  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 11:56:48.102  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 11:56:48.103  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 11:56:48.103  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 11:56:48.103  3501 30241 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 11:56:48.103  3501 30241 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 11:56:48.103  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:56:48.146  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:56:48.149  3501 20591 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:56:48.149  3501 20591 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:48.149  3501 20591 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:1, format:0x1, rate:48000
12-06 11:56:48.149  3501 20591 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 11:56:48.149  3501 20591 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e8180 input port:[0]PCM_SYSTEM
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: padding_bytes 16384
12-06 11:56:48.149  3501 20591 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: padding_bytes 14336
12-06 11:56:48.149  3501 20591 I audio-subMixingFactory: padding_bytes 12288
12-06 11:56:48.150  3501 20591 I audio-subMixingFactory: padding_bytes 10240
12-06 11:56:48.161  3501 20591 I audio-subMixingFactory: padding_bytes 8192
12-06 11:56:48.169  3501 20591 I audio-subMixingFactory: padding_bytes 6144
12-06 11:56:48.178  3501 20591 I audio-subMixingFactory: padding_bytes 4096
12-06 11:56:48.194  3501 20591 I audio-subMixingFactory: padding_bytes 2048
12-06 11:56:49.011  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:56:49.011  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:56:49.011  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:57:34.521  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=33904707766 write=33896000000 diff=8707766
12-06 11:57:44.157  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 11:57:44.158  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 11:57:44.158  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 11:57:49.552  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:57:49.552  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:57:49.552  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:57:49.552  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:57:49.552  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:57:49.552  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:57:49.552  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:57:49.553  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:617859072
12-06 11:57:49.553  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:57:49.553  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:57:49.553  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:57:49.553  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:57:49.553  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:57:49.553  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:57:49.553  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:57:49.570  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:57:49.578  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:57:49.585  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:57:49.602  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:57:54.495  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:57:54.495  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:57:54.495  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:57:55.664  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:57:55.664  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:57:55.664  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:57:55.664  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:618092544
12-06 11:57:55.664  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:57:55.664  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:57:55.664  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:57:55.674  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:57:55.681  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:57:55.690  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:57:55.706  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:57:56.120  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:57:56.120  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:57:56.121  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:57:56.121  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:57:56.121  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:57:56.134  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:57:56.134  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:57:56.134  3501 21374 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:57:56.136  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:57:56.136  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:57:56.137  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:57:56.137  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:57:56.201  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:57:56.201  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:57:56.201  3501 24515 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:57:56.201  3501 24515 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:57:56.201  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:57:56.204  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:57:56.205  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:57:56.205  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:57:56.205  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:57:56.205  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [0]PCM_NORMAL
12-06 11:57:56.205  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:57:56.205  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:57:56.205  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:57:56.205  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:57:56.205  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:57:56.205  3501 24515 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:57:56.205  3501 24515 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:57:58.666  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:57:58.666  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:57:58.666  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:57:58.666  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:58:21.081  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:58:21.081  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:58:21.082  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:58:21.082  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:21.082  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:58:21.082  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:618233856
12-06 11:58:21.082  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:58:21.082  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:58:21.082  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:58:21.097  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:58:21.105  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:58:21.109  3501 21755 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:58:21.109  3501 21755 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:58:21.109  3501 21755 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:58:21.113  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:58:21.129  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:58:21.402  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151e00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:58:21.402  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:58:21.405  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:58:21.405  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:58:21.405  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:58:21.405  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:58:21.405  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:58:21.405  3501  2209 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:58:21.411  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2788)
12-06 11:58:21.411  3501  2209 I audio_hw_primary: patch set found id 2788, patchset 0xefd24800
12-06 11:58:21.411  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:58:21.411  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:58:21.411  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:58:21.411  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:58:21.413  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:58:21.413  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:58:21.413  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:58:21.413  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:58:21.413  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:58:21.416  3501  2209 D audio_hw_primary: out_dump(0xf1151e00, 23)
12-06 11:58:21.419  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:58:21.419  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:58:21.421  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:58:21.421  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:58:21.421  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:58:21.421  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:58:21.421  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:58:21.421  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:58:21.421  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151e00)
12-06 11:58:21.421  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151e00) usecase: [2]PCM_HWSYNC
12-06 11:58:21.421  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:58:21.421  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:58:21.421  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:58:30.933  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:58:33.456  3501  2209 I audio_hw_primary: get hwsync id
12-06 11:58:34.195  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.828896 right:0.828896 
12-06 11:58:34.197  3501 22205 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:58:34.197  3501 22205 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:58:34.197  3501 22205 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:58:34.197  3501 22205 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:58:34.197  3501 22205 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:58:34.197  3501 22205 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152c00
12-06 11:58:34.197  3501 22205 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:34.197  3501 22205 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:58:34.197  3501 22205 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:58:34.197  3501 22205 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:34.197  3501 22205 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:58:34.300  3501 22205 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 11:58:34.300  3501 22205 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:58:34.313  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1080, latency 8100, last position 0
12-06 11:58:34.313  3501  3807 I audio_hwsync_cbks: pts32 = 12 latency=8100
12-06 11:58:34.321  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1800, latency 8100, last position 0
12-06 11:58:34.321  3501  3807 I audio_hwsync_cbks: pts32 = 20 latency=8100
12-06 11:58:34.329  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2430, latency 8100, last position 0
12-06 11:58:34.329  3501  3807 I audio_hwsync_cbks: pts32 = 27 latency=8100
12-06 11:58:34.337  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3150, latency 8100, last position 0
12-06 11:58:34.337  3501  3807 I audio_hwsync_cbks: pts32 = 35 latency=8100
12-06 11:58:34.345  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3870, latency 8100, last position 256
12-06 11:58:34.345  3501  3807 I audio_hwsync_cbks: pts32 = 43 latency=8100
12-06 11:58:34.353  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4590, latency 8100, last position 256
12-06 11:58:34.353  3501  3807 I audio_hwsync_cbks: pts32 = 51 latency=8100
12-06 11:58:34.361  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5310, latency 8100, last position 256
12-06 11:58:34.361  3501  3807 I audio_hwsync_cbks: pts32 = 59 latency=8100
12-06 11:58:34.369  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6120, latency 8100, last position 1280
12-06 11:58:34.369  3501  3807 I audio_hwsync_cbks: pts32 = 68 latency=8100
12-06 11:58:34.377  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6840, latency 8100, last position 1280
12-06 11:58:34.377  3501  3807 I audio_hwsync_cbks: pts32 = 76 latency=8100
12-06 11:58:34.385  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7560, latency 8100, last position 2240
12-06 11:58:34.385  3501  3807 I audio_hwsync_cbks: pts32 = 84 latency=8100
12-06 11:58:34.393  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8190, latency 8100, last position 2240
12-06 11:58:34.393  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x5a
12-06 11:58:37.718  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:58:37.718  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:58:37.718  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:58:37.718  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:58:37.721  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 11:58:37.721  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 11:58:37.721  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:58:37.721  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:58:37.721  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 11:58:37.721  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:58:37.721  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 11:58:37.722  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2792)
12-06 11:58:37.722  3501 30241 I audio_hw_primary: patch set found id 2792, patchset 0xf11aec00
12-06 11:58:37.722  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:58:37.722  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:58:37.722  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:58:37.722  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:58:37.728  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:58:37.728  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:58:37.728  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:58:37.728  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:58:37.728  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:58:37.738  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:58:37.738  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:58:37.740  3501 10201 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 11:58:37.744  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:58:37.744  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:58:37.746  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:58:37.746  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:58:37.746  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:58:37.746  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:58:37.746  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:58:37.746  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:58:37.746  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:58:37.746  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:58:37.746  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:58:37.746  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:58:37.746  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:58:41.315  3501 30241 I audio_hw_primary: get hwsync id
12-06 11:58:41.327  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:58:41.327  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:58:41.327  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:58:41.327  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:58:41.327  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:58:41.327  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:58:41.336  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:58:41.336  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 11:58:41.336  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 11:58:41.336  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:58:41.336  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:58:41.336  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:41.336  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:58:41.336  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:618424320
12-06 11:58:41.336  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:41.336  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:58:41.336  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:58:41.337  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:58:41.337  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:58:41.337  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:58:41.337  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:58:41.346  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:58:41.354  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:58:41.362  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:58:41.377  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:58:41.830  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 11:58:41.830  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 11:58:41.830  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 11:58:41.830  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 11:58:41.830  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 11:58:41.831  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 11:58:41.831  3501 10201 D audio_hw_profile: query hdmi format...
12-06 11:58:41.831  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 11:58:41.831  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 11:58:41.831  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 11:58:41.831  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 11:58:41.831  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 11:58:41.831  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 11:58:41.831  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 11:58:41.831  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 11:58:41.832  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 11:58:41.840  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:58:41.883  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 11:58:41.883  3501 10201 I audio_hw_primary: (0xf1152c00)set hw_sync_id 12345678,enable hw sync mode
12-06 11:58:41.883  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 11:58:41.891  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 11:58:41.891  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 11:58:41.891  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 11:58:41.891  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 11:58:41.891  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 11:58:41.891  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 11:58:41.905  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:58:41.905  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 11:58:42.227  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.828896 right:0.828896 
12-06 11:58:42.228  3501 22310 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:58:42.229  3501 22310 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:58:42.229  3501 22310 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x1, add out usecase:[2]PCM_HWSYNC
12-06 11:58:42.229  3501 22310 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:58:42.229  3501 22310 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:58:42.229  3501 22310 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152c00
12-06 11:58:42.229  3501 22310 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:42.229  3501 22310 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:58:42.229  3501 22310 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:58:42.229  3501 22310 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:58:42.229  3501 22310 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:58:42.229  3501 22310 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:58:42.230  3501 22310 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:58:42.241  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8100, last position 0
12-06 11:58:42.241  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8100
12-06 11:58:42.249  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8100, last position 0
12-06 11:58:42.249  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8100
12-06 11:58:42.257  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8100, last position 0
12-06 11:58:42.257  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8100
12-06 11:58:42.265  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8100, last position 0
12-06 11:58:42.265  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8100
12-06 11:58:42.270  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:58:42.270  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:58:42.270  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 11:58:42.273  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8100, last position 384
12-06 11:58:42.273  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8100
12-06 11:58:42.281  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8100, last position 384
12-06 11:58:42.281  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8100
12-06 11:58:42.289  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8100, last position 384
12-06 11:58:42.289  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8100
12-06 11:58:42.297  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8100, last position 1408
12-06 11:58:42.297  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8100
12-06 11:58:42.305  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8100, last position 1408
12-06 11:58:42.305  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8100
12-06 11:58:42.313  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8100, last position 2368
12-06 11:58:42.313  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 11:58:44.488  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:58:44.488  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:58:44.488  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:58:44.488  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:58:44.490  3501 22310 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 11:58:44.490  3501 22310 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:58:44.490  3501 22310 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:58:45.426  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 11:58:45.427  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:58:45.427  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 11:58:45.427  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:58:45.430  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2794)
12-06 11:58:45.430  3501 24515 I audio_hw_primary: patch set found id 2794, patchset 0xefd24800
12-06 11:58:45.430  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 11:58:45.430  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 11:58:45.430  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 11:58:45.430  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 11:58:45.431  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:58:45.431  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 11:58:45.431  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 11:58:45.431  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:58:45.431  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 11:58:45.431  3501 24515 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 11:58:45.431  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 11:58:45.435  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 11:58:45.435  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:58:45.436  3501 24515 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 11:58:45.440  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 11:58:45.440  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 11:58:45.444  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 11:58:45.444  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:58:45.444  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:58:45.444  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 11:58:45.445  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 11:58:45.445  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 11:58:45.459  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:58:45.459  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:58:45.459  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:58:45.459  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:58:45.459  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:58:46.183  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:58:46.185  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=71664616660 write=71640000000 diff=24616660
12-06 11:58:55.235  3501 24515 I audio_hw_primary: get hwsync id
12-06 11:58:59.139  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 11:58:59.139  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 11:58:59.139  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:58:59.139  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:58:59.139  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:58:59.527  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 11:58:59.529  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=13343597839 write=13320000000 diff=23597839
12-06 11:59:01.974  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:59:01.975  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:59:01.975  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:59:01.975  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:59:29.394  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.828896 right:0.828896 
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 11:59:29.397  3501 22872 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152c00
12-06 11:59:29.397  3501 22872 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:59:29.397  3501 22872 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:59:29.397  3501 22872 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 11:59:29.397  3501 22872 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 11:59:29.397  3501 22872 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 11:59:29.398  3501 22872 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 11:59:29.409  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8370, last position 0
12-06 11:59:29.409  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8370
12-06 11:59:29.417  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8370, last position 0
12-06 11:59:29.417  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8370
12-06 11:59:29.425  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8370, last position 0
12-06 11:59:29.425  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8370
12-06 11:59:29.433  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8370, last position 0
12-06 11:59:29.433  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8370
12-06 11:59:29.441  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8370, last position 256
12-06 11:59:29.441  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8370
12-06 11:59:29.449  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8370, last position 256
12-06 11:59:29.449  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8370
12-06 11:59:29.457  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8370, last position 256
12-06 11:59:29.457  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8370
12-06 11:59:29.465  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8370, last position 1280
12-06 11:59:29.465  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8370
12-06 11:59:29.473  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8370, last position 1280
12-06 11:59:29.473  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8370
12-06 11:59:29.481  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8370, last position 2240
12-06 11:59:29.481  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 11:59:50.394  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=50864818899 write=50856000000 diff=8818899
12-06 11:59:53.254  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:59:53.254  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:59:53.254  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 11:59:54.473  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 11:59:54.473  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:59:54.473  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 11:59:54.473  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:619210752
12-06 11:59:54.473  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 11:59:54.473  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 11:59:54.473  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 11:59:54.483  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 11:59:54.490  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 11:59:54.498  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 11:59:54.515  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 11:59:54.885  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 11:59:54.885  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 11:59:54.888  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:59:54.888  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 11:59:54.888  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 11:59:54.890  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 11:59:54.890  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 11:59:54.891  3501 23097 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 11:59:54.891  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 11:59:54.891  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 11:59:54.898  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 11:59:54.898  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 11:59:55.264  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 11:59:55.264  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 11:59:55.264  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 11:59:55.264  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 11:59:55.264  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 11:59:55.265  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 11:59:55.265  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 11:59:55.265  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 11:59:55.265  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 11:59:55.265  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [0]PCM_NORMAL
12-06 11:59:55.265  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 11:59:55.265  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 11:59:55.265  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 11:59:55.265  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 11:59:55.265  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 11:59:55.265  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 11:59:55.265  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 11:59:57.475  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 11:59:57.475  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 11:59:57.475  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 11:59:57.475  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:00:57.564  3501 10201 I audio_hw_primary: get hwsync id
12-06 12:00:58.004  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:00:58.004  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:00:58.004  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:00:58.004  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:00:58.004  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:00:58.004  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:00:58.004  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:00:58.005  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:00:58.005  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:00:58.005  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:00:58.005  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:00:58.005  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:00:58.005  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:00:58.005  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:00:58.005  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:00:58.007  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:00:58.020  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:00:58.045  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:00:58.045  3501 10201 I audio_hw_primary: (0xf1153680)set hw_sync_id 12345678,enable hw sync mode
12-06 12:00:58.045  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 12:00:58.058  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:00:58.058  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:00:58.058  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:00:58.058  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 12:00:58.058  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:00:58.058  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:00:58.061  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:00:58.061  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:00:58.361  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.000000 right:0.000000 
12-06 12:00:58.368  3501 24060 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:00:58.368  3501 24060 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:00:58.368  3501 24060 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:00:58.368  3501 24060 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:00:58.368  3501 24060 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:00:58.368  3501 24060 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153680
12-06 12:00:58.368  3501 24060 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:00:58.368  3501 24060 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:00:58.368  3501 24060 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:00:58.368  3501 24060 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:00:58.368  3501 24060 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:00:58.369  3501 24060 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:00:58.369  3501 24060 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:00:58.377  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8280, last position 0
12-06 12:00:58.378  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8280
12-06 12:00:58.385  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8280, last position 0
12-06 12:00:58.386  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8280
12-06 12:00:58.393  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8280, last position 0
12-06 12:00:58.394  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8280
12-06 12:00:58.401  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8280, last position 0
12-06 12:00:58.402  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8280
12-06 12:00:58.409  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8280, last position 0
12-06 12:00:58.410  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8280
12-06 12:00:58.417  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8280, last position 448
12-06 12:00:58.417  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8280
12-06 12:00:58.425  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8280, last position 448
12-06 12:00:58.425  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8280
12-06 12:00:58.434  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8280, last position 1408
12-06 12:00:58.434  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8280
12-06 12:00:58.441  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8280, last position 1408
12-06 12:00:58.441  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8280
12-06 12:00:58.449  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8280, last position 1408
12-06 12:00:58.449  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x168
12-06 12:01:01.268  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:01:01.268  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:01:01.273  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:01:01.274  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:01:01.274  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:01:01.274  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:01:01.274  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:01:01.274  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:01:01.275  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:01:01.276  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:01.276  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:01:01.277  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:01:01.277  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:01:01.282  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2798)
12-06 12:01:01.282  3501 10201 I audio_hw_primary: patch set found id 2798, patchset 0xf11e9000
12-06 12:01:01.282  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:01:01.283  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:01:01.283  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:01:01.283  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:01:01.285  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:01.285  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:01.287  3501 10201 D audio_hw_primary: out_dump(0xf1153680, 23)
12-06 12:01:01.292  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:01.292  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:01.296  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:01.296  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:01.296  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:01.296  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:01.296  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:01:01.296  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:01:01.296  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 12:01:01.296  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:01.296  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:01.296  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:01.296  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:16.055  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:01:16.055  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:01:16.055  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:01:16.059  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 12:01:16.311  3501 24515 D audio_hw_primary: adev_open: enter
12-06 12:01:16.311  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 12:01:16.311  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 12:01:16.311  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 12:01:16.311  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 12:01:16.312  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:16.312  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:16.312  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:16.312  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:16.312  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:16.312  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:16.312  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:01:16.312  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:16.312  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:16.312  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:16.313  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 12:01:16.313  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 12:01:16.313  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 12:01:16.313  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 12:01:16.313  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 12:01:16.313  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 12:01:16.313  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 12:01:16.313  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 12:01:16.319  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:01:16.325  3501 24295 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:01:16.325  3501 24295 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:16.325  3501 24295 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:01:16.325  3501 24295 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 12:01:16.325  3501 24295 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf1153680 input port:[0]PCM_SYSTEM
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: padding_bytes 16384
12-06 12:01:16.325  3501 24295 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: padding_bytes 14336
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: padding_bytes 12288
12-06 12:01:16.325  3501 24295 I audio-subMixingFactory: padding_bytes 10240
12-06 12:01:16.339  3501 24295 I audio-subMixingFactory: padding_bytes 8192
12-06 12:01:16.347  3501 24295 I audio-subMixingFactory: padding_bytes 6144
12-06 12:01:16.355  3501 24295 I audio-subMixingFactory: padding_bytes 4096
12-06 12:01:16.371  3501 24295 I audio-subMixingFactory: padding_bytes 2048
12-06 12:01:17.060  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 12:01:18.061  3501 10201 I audio_hw_primary: ms12_enable :0
12-06 12:01:18.226  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:01:18.226  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:01:18.227  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:18.227  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:01:18.227  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:619692032
12-06 12:01:18.227  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:01:18.227  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:01:18.227  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:01:18.243  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:01:18.251  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:01:18.259  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:01:18.276  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:01:18.579  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 12:01:18.579  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:01:18.580  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 12:01:18.580  3501 10201 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 12:01:18.580  3501 10201 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 12:01:18.586  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:01:18.586  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:01:18.586  3501 24295 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:01:18.611  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 12:01:18.611  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:01:18.618  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 12:01:18.618  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 12:01:18.951  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 12:01:18.951  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 12:01:18.951  3501 10201 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 12:01:18.951  3501 10201 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 12:01:18.951  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 12:01:18.953  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 12:01:18.953  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:18.953  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:18.953  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 12:01:18.953  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [0]PCM_NORMAL
12-06 12:01:18.953  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 12:01:18.953  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:01:18.953  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:18.953  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:18.953  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:18.953  3501 10201 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 12:01:18.953  3501 10201 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 12:01:19.377  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:01:19.377  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:01:19.377  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:01:19.377  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:01:36.993  3501 10201 I audio_hw_primary: get hwsync id
12-06 12:01:37.471  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:01:37.471  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:37.471  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:37.472  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:01:37.472  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:37.472  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:37.472  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:37.472  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:37.472  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:01:37.472  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:37.472  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:37.472  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:37.472  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:01:37.472  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:01:37.472  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:01:37.476  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:37.483  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:37.509  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:01:37.509  3501 10201 I audio_hw_primary: (0xf1153680)set hw_sync_id 12345678,enable hw sync mode
12-06 12:01:37.509  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 12:01:37.522  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:01:37.522  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:01:37.522  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:01:37.522  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 12:01:37.522  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:01:37.522  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:01:37.542  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1153680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:01:37.542  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:01:37.863  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1153680), left:0.000000 right:0.000000 
12-06 12:01:37.868  3501 24587 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:01:37.868  3501 24587 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:01:37.868  3501 24587 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:01:37.868  3501 24587 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:01:37.868  3501 24587 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:01:37.868  3501 24587 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1153680
12-06 12:01:37.874  3501 24587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:37.874  3501 24587 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:01:37.874  3501 24587 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:01:37.874  3501 24587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:37.874  3501 24587 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:01:37.874  3501 24587 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:01:37.874  3501 24587 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:01:37.890  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8280, last position 0
12-06 12:01:37.890  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8280
12-06 12:01:37.897  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8280, last position 0
12-06 12:01:37.898  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8280
12-06 12:01:37.906  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8280, last position 0
12-06 12:01:37.906  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8280
12-06 12:01:37.913  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8280, last position 0
12-06 12:01:37.914  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8280
12-06 12:01:37.921  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8280, last position 128
12-06 12:01:37.921  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8280
12-06 12:01:37.929  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8280, last position 128
12-06 12:01:37.930  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8280
12-06 12:01:37.937  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8280, last position 1088
12-06 12:01:37.938  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8280
12-06 12:01:37.946  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8280, last position 1088
12-06 12:01:37.946  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8280
12-06 12:01:37.953  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8280, last position 1088
12-06 12:01:37.954  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8280
12-06 12:01:37.961  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8280, last position 2048
12-06 12:01:37.961  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x168
12-06 12:01:39.290  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1153680, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:01:39.290  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:01:39.296  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:39.296  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:01:39.296  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:01:39.297  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:01:39.297  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 12:01:39.297  3501 10201 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:01:39.302  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2799)
12-06 12:01:39.302  3501 24515 I audio_hw_primary: patch set found id 2799, patchset 0xf11e9000
12-06 12:01:39.302  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:01:39.302  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:01:39.302  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:01:39.302  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:01:39.304  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:39.304  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:39.305  3501 24515 D audio_hw_primary: out_dump(0xf1153680, 23)
12-06 12:01:39.307  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:39.307  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:39.309  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:39.309  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:39.309  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:39.309  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:39.309  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:01:39.309  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:01:39.320  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 12:01:39.320  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:39.320  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:39.320  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:39.320  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:39.880  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:01:39.880  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:01:39.880  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 12:01:39.984  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:01:39.984  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:01:39.984  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 12:01:39.994  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:01:39.994  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:01:39.994  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 12:01:40.888  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:01:40.888  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:01:40.888  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:01:40.895  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2793)
12-06 12:01:40.895  3501 30241 I audio_hw_primary: patch set found id 2793, patchset 0xefd26400
12-06 12:01:40.895  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:01:40.895  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:01:40.895  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:01:40.895  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:01:40.916  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:01:40.916  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:01:40.916  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:01:40.918  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:01:40.918  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:40.918  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:40.919  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:01:40.919  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:01:40.919  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:01:40.919  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:40.919  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:40.919  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:40.919  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:40.919  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:40.919  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:40.919  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:40.919  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:40.920  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:01:40.920  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:01:40.920  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:01:40.925  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:01:40.928  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:40.950  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:01:40.950  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:40.950  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:40.950  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:40.950  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:01:40.950  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:40.950  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:40.950  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:40.950  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:40.950  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:40.950  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:40.950  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:40.950  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:01:40.950  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:01:40.958  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:01:40.962  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152880
12-06 12:01:40.962  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:40.962  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:40.962  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:01:40.965  3501 30241 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 12:01:40.965  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:40.965  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:40.966  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152880
12-06 12:01:40.966  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:40.966  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:40.966  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:01:40.967  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152880
12-06 12:01:40.968  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:40.968  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:01:40.968  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:40.969  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152880
12-06 12:01:40.969  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:40.969  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:40.969  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:01:40.969  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152880
12-06 12:01:40.969  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:40.969  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:01:40.970  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:40.975  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:40.975  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:40.977  3501 30241 D audio_hw_primary: out_dump(0xf1152880, 21)
12-06 12:01:40.978  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:40.978  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:40.984  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:01:40.984  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 12:01:40.984  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:40.984  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:01:40.984  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:01:40.984  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:40.984  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:01:40.984  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:40.984  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:40.984  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:01:40.984  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:40.984  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:01:40.984  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:40.984  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:40.984  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:40.984  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:40.984  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:40.984  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:40.984  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:01:40.984  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:40.984  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:40.984  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:01:40.985  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:40.985  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:40.985  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:40.985  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:40.985  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:01:40.985  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:01:40.989  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:01:40.989  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:01:40.989  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:01:40.993  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:40.996  3501 24515 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 12:01:40.996  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:40.997  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.016  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:01:41.016  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152c00
12-06 12:01:41.016  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:01:41.016  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.016  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.016  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.017  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:01:41.017  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.017  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.017  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.017  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.017  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:41.017  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:01:41.017  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:01:41.021  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:41.025  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1152c00), left:0.000000 right:0.000000 
12-06 12:01:41.030  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.030  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.032  3501 24515 D audio_hw_primary: out_dump(0xf1153680, 24)
12-06 12:01:41.035  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.035  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.037  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:41.037  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:41.037  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:41.037  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:41.037  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153680)
12-06 12:01:41.037  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153680) usecase: [2]PCM_HWSYNC
12-06 12:01:41.037  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.037  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.037  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.038  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.038  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.040  3501 30241 D audio_hw_primary: out_dump(0xf1153300, 19)
12-06 12:01:41.042  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.042  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.045  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:01:41.045  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 12:01:41.045  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.045  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:01:41.045  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:01:41.045  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.045  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:01:41.045  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.045  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.045  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:41.045  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.045  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.045  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.048  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.048  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.051  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:01:41.051  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:41.051  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:41.051  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:01:41.051  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.051  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:01:41.057  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:41.060  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:01:41.061  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:01:41.061  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.061  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.061  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.061  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152c00
12-06 12:01:41.061  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.061  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.072  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:01:41.072  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:01:41.072  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:01:41.080  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:01:41.081  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:01:41.081  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:01:41.082  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:01:41.082  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:41.082  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.082  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:01:41.082  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:01:41.082  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:01:41.082  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.082  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.082  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.082  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.082  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.082  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.082  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.082  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:41.082  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:01:41.082  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:01:41.082  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:01:41.084  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:01:41.092  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:01:41.104  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:01:41.104  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:41.104  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:41.104  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.104  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:01:41.104  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.104  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.104  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.104  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.104  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.104  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.104  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.104  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:01:41.104  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:01:41.114  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:01:41.115  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153300
12-06 12:01:41.115  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.115  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.115  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:01:41.116  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153300
12-06 12:01:41.116  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.116  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:41.116  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:01:41.117  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153300
12-06 12:01:41.117  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.117  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:01:41.117  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:41.117  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153300
12-06 12:01:41.117  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.118  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:41.118  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:01:41.120  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153300
12-06 12:01:41.120  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.120  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:01:41.121  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:41.122  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.122  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.122  3501 24515 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 12:01:41.122  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:41.122  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.124  3501 24515 D audio_hw_primary: out_dump(0xf1153300, 21)
12-06 12:01:41.128  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.128  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.136  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:01:41.136  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 12:01:41.136  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.136  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:01:41.136  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:01:41.136  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.136  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:01:41.136  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.136  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.136  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:41.136  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.136  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:01:41.136  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.136  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.136  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:01:41.136  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:41.136  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:41.136  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.136  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:01:41.136  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.136  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.137  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.137  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.138  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.138  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.138  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.138  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:01:41.138  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:01:41.144  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:01:41.144  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:01:41.144  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:01:41.145  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:41.154  3501 30241 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 12:01:41.155  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:41.155  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.171  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:01:41.171  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152f80
12-06 12:01:41.171  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:01:41.171  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.171  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.171  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.171  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.171  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.172  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.172  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.172  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.172  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:41.172  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152f80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:01:41.172  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152f80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:01:41.176  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:41.184  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf1152f80), left:0.000000 right:0.000000 
12-06 12:01:41.189  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.189  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.191  3501 30241 D audio_hw_primary: out_dump(0xf1152c00, 24)
12-06 12:01:41.192  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.192  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.194  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:41.194  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:41.194  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:41.194  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:41.194  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:01:41.194  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:01:41.194  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.194  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.194  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.196  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.196  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.197  3501 30241 D audio_hw_primary: out_dump(0xf1152880, 19)
12-06 12:01:41.199  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.199  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.201  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:01:41.201  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 12:01:41.201  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.201  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:01:41.201  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:01:41.201  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.201  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:01:41.201  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.201  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.201  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:41.201  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.201  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.201  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.203  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.203  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.209  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:41.212  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:01:41.212  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:41.212  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:41.212  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152f80)
12-06 12:01:41.212  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.212  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:01:41.212  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:01:41.212  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:01:41.212  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.212  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.212  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.212  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152f80
12-06 12:01:41.212  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.212  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.221  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:01:41.221  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:01:41.221  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:01:41.228  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:01:41.228  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:01:41.228  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:01:41.229  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:01:41.229  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:41.229  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.229  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:01:41.229  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:01:41.229  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:01:41.229  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.229  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.229  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.230  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.230  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.230  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.230  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.230  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:41.230  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152f80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:01:41.230  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:01:41.230  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152f80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:01:41.233  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:01:41.240  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152f80) usecase: [2]PCM_HWSYNC
12-06 12:01:41.256  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:01:41.256  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:41.256  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:41.256  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.256  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:01:41.256  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.256  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.256  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.257  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.257  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.257  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.257  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.257  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:01:41.257  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:01:41.264  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:01:41.265  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152880
12-06 12:01:41.265  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.266  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.266  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:01:41.268  3501 30241 I audio_hw_primary: out_standby_direct(0xf1152880),out 0xf1152880
12-06 12:01:41.268  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:41.268  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.269  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152880
12-06 12:01:41.269  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.269  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:41.269  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:01:41.269  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152880
12-06 12:01:41.269  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.269  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:01:41.269  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:41.270  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152880
12-06 12:01:41.270  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.270  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:41.270  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:01:41.271  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152880
12-06 12:01:41.271  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:41.271  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:01:41.271  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:41.272  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.272  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.273  3501 30241 D audio_hw_primary: out_dump(0xf1152880, 21)
12-06 12:01:41.275  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.275  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.281  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:01:41.281  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 12:01:41.281  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.281  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:01:41.281  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:01:41.281  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.281  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:01:41.281  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.281  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.281  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:41.281  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.281  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.281  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.281  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:01:41.281  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:01:41.281  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:41.281  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:41.281  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.281  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:01:41.281  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.281  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.281  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:41.282  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.282  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.282  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.282  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.282  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:01:41.282  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:01:41.284  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:01:41.284  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:01:41.284  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:01:41.288  3501 10201 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 12:01:41.288  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:41.288  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.289  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:41.305  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:01:41.305  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1152500
12-06 12:01:41.306  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:01:41.306  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.306  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.306  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.306  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:41.306  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.306  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.306  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.306  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.306  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:41.306  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:01:41.306  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:01:41.308  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:41.313  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152500), left:0.000000 right:0.000000 
12-06 12:01:41.317  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.317  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.319  3501 10201 D audio_hw_primary: out_dump(0xf1152f80, 24)
12-06 12:01:41.320  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.320  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.320  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:41.320  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:41.320  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:41.320  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:41.320  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152f80)
12-06 12:01:41.320  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152f80) usecase: [2]PCM_HWSYNC
12-06 12:01:41.320  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.320  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.320  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.321  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.321  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.323  3501 10201 D audio_hw_primary: out_dump(0xf1153a00, 19)
12-06 12:01:41.324  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:41.324  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.325  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:01:41.325  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 12:01:41.325  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.325  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:01:41.325  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:01:41.326  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:41.326  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:01:41.326  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.326  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.326  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:41.326  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.326  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.326  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.327  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:41.327  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:41.329  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:01:41.329  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:41.329  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:41.329  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 12:01:41.329  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:01:41.329  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:01:41.329  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:01:41.329  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:01:41.329  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:01:41.329  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:01:41.329  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:41.329  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1152500
12-06 12:01:41.329  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:41.329  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:41.337  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:41.376  3501 30241 I audio_hw_primary: get hwsync id
12-06 12:01:41.762  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:01:41.762  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:41.762  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:41.762  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:01:41.762  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:41.762  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:41.763  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:41.763  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:41.763  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:01:41.763  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:41.763  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:41.763  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:41.763  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:01:41.763  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:01:41.763  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:01:41.764  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:41.768  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 12:01:41.797  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:01:41.797  3501 10201 I audio_hw_primary: (0xf1152880)set hw_sync_id 12345678,enable hw sync mode
12-06 12:01:41.797  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 12:01:41.810  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:01:41.810  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:01:41.811  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:01:41.811  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 12:01:41.811  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:01:41.811  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:01:41.818  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152880, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:01:41.818  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:01:42.031  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1152880), left:0.000000 right:0.000000 
12-06 12:01:42.034  3501 24702 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:01:42.034  3501 24702 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:01:42.034  3501 24702 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:01:42.034  3501 24702 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:01:42.034  3501 24702 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:01:42.034  3501 24702 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1152880
12-06 12:01:42.034  3501 24702 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:42.034  3501 24702 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:01:42.034  3501 24702 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:01:42.034  3501 24702 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:42.034  3501 24702 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:01:42.136  3501 24702 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:01:42.136  3501 24702 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:01:42.145  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1530, latency 7290, last position 0
12-06 12:01:42.146  3501  3807 I audio_hwsync_cbks: pts32 = 17 latency=7290
12-06 12:01:42.153  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2250, latency 7290, last position 0
12-06 12:01:42.154  3501  3807 I audio_hwsync_cbks: pts32 = 25 latency=7290
12-06 12:01:42.161  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3060, latency 7290, last position 0
12-06 12:01:42.162  3501  3807 I audio_hwsync_cbks: pts32 = 34 latency=7290
12-06 12:01:42.169  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3780, latency 7290, last position 0
12-06 12:01:42.170  3501  3807 I audio_hwsync_cbks: pts32 = 42 latency=7290
12-06 12:01:42.177  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4500, latency 7290, last position 0
12-06 12:01:42.178  3501  3807 I audio_hwsync_cbks: pts32 = 50 latency=7290
12-06 12:01:42.185  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5220, latency 7290, last position 896
12-06 12:01:42.185  3501  3807 I audio_hwsync_cbks: pts32 = 58 latency=7290
12-06 12:01:42.193  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5940, latency 7290, last position 896
12-06 12:01:42.193  3501  3807 I audio_hwsync_cbks: pts32 = 66 latency=7290
12-06 12:01:42.201  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6570, latency 7290, last position 1856
12-06 12:01:42.201  3501  3807 I audio_hwsync_cbks: pts32 = 73 latency=7290
12-06 12:01:42.209  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7290, latency 7290, last position 1856
12-06 12:01:42.209  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x0
12-06 12:01:42.217  3501  3807 I audio_hwsync_cbks: pcr is reset by video
12-06 12:01:44.463  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:01:44.463  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:01:44.463  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:01:44.463  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:01:44.463  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:01:44.463  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:01:44.474  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:01:44.474  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:44.474  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:01:44.474  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:619743232
12-06 12:01:44.474  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:01:44.474  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:01:44.474  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:01:44.483  3501 24702 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:01:44.483  3501 24702 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:01:44.483  3501 24702 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:01:44.491  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:01:44.499  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:01:44.507  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:01:44.523  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:01:44.779  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152880, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:01:44.779  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:01:44.779  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152880, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:01:44.779  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:01:44.784  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2800)
12-06 12:01:44.784  3501 10201 I audio_hw_primary: patch set found id 2800, patchset 0xf11b0800
12-06 12:01:44.784  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:01:44.784  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:01:44.784  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:01:44.784  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:01:44.785  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 12:01:44.785  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:01:44.785  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:01:44.785  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:01:44.785  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 12:01:44.785  3501 10201 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:01:44.785  3501 10201 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:01:44.791  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:44.791  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:44.793  3501 10201 D audio_hw_primary: out_dump(0xf1152880, 23)
12-06 12:01:44.806  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:01:44.807  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:01:44.807  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:01:44.808  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:44.808  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:44.812  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:44.812  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:44.812  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:44.812  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:44.812  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:01:44.812  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:01:44.812  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 12:01:44.812  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 12:01:44.813  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:44.813  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:44.813  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:45.146  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:01:45.147  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:01:45.147  3501 10201 I audio_hw_primary: HDMI format: 0
12-06 12:01:45.165  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:01:45.165  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:01:45.165  3501 10201 I audio_hw_primary: patch found mix->dev id 2801, patchset 0xefd26400
12-06 12:01:45.165  3501 10201 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:01:45.165  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:01:45.165  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:01:45.165  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:01:45.165  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 12:01:45.165  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:01:45.165  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:01:46.173  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:01:46.173  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:01:46.173  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:01:46.176  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2802)
12-06 12:01:46.176  3501 30241 I audio_hw_primary: patch set found id 2802, patchset 0xf11b0800
12-06 12:01:46.176  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:01:46.176  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:01:46.176  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:01:46.176  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:01:46.201  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:01:46.201  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:01:46.201  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:01:46.203  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:01:46.204  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:01:46.206  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:46.206  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:01:46.206  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:01:46.206  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:01:46.206  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:46.206  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:46.207  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:46.207  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:46.207  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:01:46.207  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:46.207  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:46.207  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:46.207  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:01:46.207  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:01:46.207  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:01:46.209  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:01:46.213  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 12:01:46.228  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:01:46.228  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:46.229  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:46.229  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:46.229  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:01:46.229  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:46.229  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:46.229  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:46.229  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:46.229  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:01:46.229  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:46.229  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:46.229  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:01:46.229  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:01:46.239  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:01:46.245  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152c00
12-06 12:01:46.245  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:46.245  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:01:46.245  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:01:46.246  3501 30241 I audio_hw_primary: out_standby_direct(0xf1152c00),out 0xf1152c00
12-06 12:01:46.246  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:46.246  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:46.246  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152c00
12-06 12:01:46.247  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:46.247  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:01:46.247  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:01:46.247  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152c00
12-06 12:01:46.247  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:01:46.248  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:01:46.248  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:01:46.249  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:46.249  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.250  3501 30241 D audio_hw_primary: out_dump(0xf1152c00, 21)
12-06 12:01:46.251  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:46.251  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.258  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:01:46.258  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:01:46.258  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:01:46.258  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:01:46.258  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:01:46.258  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:46.258  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:01:46.258  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:01:46.258  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:01:46.258  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:46.258  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:46.258  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:46.258  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:46.258  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:01:46.259  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:01:46.259  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:01:46.260  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:01:46.260  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:46.260  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:01:46.260  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:46.260  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:46.260  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:46.260  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:46.261  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:01:46.261  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:46.261  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:46.261  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:01:46.261  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:01:46.262  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:01:46.262  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:01:46.262  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:01:46.264  3501 10201 I audio_hw_primary: out_standby_direct(0xf1152500),out 0xf1152500
12-06 12:01:46.264  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:01:46.264  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:46.276  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:46.296  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:01:46.296  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153a00
12-06 12:01:46.296  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:01:46.297  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:01:46.297  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:01:46.297  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:01:46.297  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:01:46.297  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:01:46.297  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:01:46.297  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:01:46.297  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:01:46.297  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:01:46.297  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153a00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:01:46.297  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:01:46.298  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:01:46.307  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1153a00), left:0.000000 right:0.000000 
12-06 12:01:46.314  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:46.314  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.316  3501 10201 D audio_hw_primary: out_dump(0xf1152880, 24)
12-06 12:01:46.317  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:46.317  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.318  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:01:46.318  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:46.318  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:46.318  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:01:46.318  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152880)
12-06 12:01:46.318  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152880) usecase: [2]PCM_HWSYNC
12-06 12:01:46.318  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:46.318  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:46.318  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:46.320  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:46.320  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.321  3501 10201 D audio_hw_primary: out_dump(0xf1152500, 19)
12-06 12:01:46.324  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:01:46.324  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.326  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:01:46.326  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152500)
12-06 12:01:46.326  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:01:46.326  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:01:46.326  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:01:46.326  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:01:46.326  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:01:46.326  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:01:46.327  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:01:46.327  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:01:46.327  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:46.327  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:46.327  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:46.328  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:01:46.328  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:01:46.337  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:01:46.337  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:01:46.337  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:01:46.337  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:01:46.337  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 12:01:46.337  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:01:46.337  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:01:46.339  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:01:46.339  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:01:46.339  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:01:46.339  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:01:46.339  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:01:46.339  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153a00
12-06 12:01:46.339  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:01:46.339  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:01:47.471  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:01:47.472  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:01:47.472  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:01:47.472  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:02:28.090  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:02:28.090  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:02:28.090  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:02:28.090  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:02:28.464  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:02:28.464  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:02:28.464  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:02:28.464  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:02:28.464  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:02:28.464  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:02:28.472  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:02:28.473  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:02:28.473  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:02:28.473  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:02:28.473  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:620023808
12-06 12:02:28.473  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:02:28.473  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:02:28.473  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:02:28.483  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:02:28.491  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:02:28.499  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:02:28.514  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:02:31.616  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:02:31.616  3501 10201 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:02:31.616  3501 10201 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:02:31.616  3501 10201 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:02:32.696  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:02:32.696  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:02:32.696  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 12:02:32.793  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:02:32.793  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:02:32.793  3501 10201 I audio_hw_primary: HDMI format: 0
12-06 12:02:32.800  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:02:32.800  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:02:32.800  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 12:02:33.692  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:02:33.692  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:02:33.692  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:02:33.694  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2807)
12-06 12:02:33.695  3501 30241 I audio_hw_primary: patch set found id 2807, patchset 0xf11eac00
12-06 12:02:33.695  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:02:33.695  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:02:33.695  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:02:33.695  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:02:33.723  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:02:33.723  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:02:33.723  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:02:33.725  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:02:33.726  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:02:33.726  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:02:33.726  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:02:33.726  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:02:33.726  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:02:33.726  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:02:33.726  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:02:33.726  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:02:33.726  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:02:33.726  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:02:33.726  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:02:33.726  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:02:33.726  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:02:33.726  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:02:33.727  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:02:33.727  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:02:33.731  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:02:33.739  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:02:33.761  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:02:33.761  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:02:33.761  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:02:33.761  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:02:33.761  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:02:33.761  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:02:33.761  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:02:33.761  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:02:33.761  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:02:33.761  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:02:33.761  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:02:33.761  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:02:33.761  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:02:33.761  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153a00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:02:33.772  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:02:33.773  3501 10201 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153a00
12-06 12:02:33.773  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:02:33.774  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:02:33.774  3501 10201 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:02:33.776  3501 10201 I audio_hw_primary: out_standby_direct(0xf1153a00),out 0xf1153a00
12-06 12:02:33.776  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:02:33.776  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:02:33.777  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153a00
12-06 12:02:33.777  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:02:33.777  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 12:02:33.777  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:02:33.778  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153a00
12-06 12:02:33.778  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:02:33.778  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 12:02:33.778  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:02:33.780  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153a00
12-06 12:02:33.780  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:02:33.780  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 12:02:33.780  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:02:33.783  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153a00
12-06 12:02:33.783  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:02:33.783  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:02:33.783  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:02:33.785  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:02:33.785  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.790  3501 10201 D audio_hw_primary: out_dump(0xf1153a00, 21)
12-06 12:02:33.793  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:02:33.793  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.804  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:02:33.804  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153a00)
12-06 12:02:33.804  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:02:33.804  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:02:33.804  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:02:33.804  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:02:33.804  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:02:33.804  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:02:33.804  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:02:33.804  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:02:33.804  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:02:33.804  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:02:33.804  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:02:33.806  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:02:33.806  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:02:33.806  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:02:33.806  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:02:33.806  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:02:33.806  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:02:33.806  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:02:33.806  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:02:33.807  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:02:33.807  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:02:33.807  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:02:33.807  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:02:33.807  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:02:33.807  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:02:33.807  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:02:33.817  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:02:33.819  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:02:33.819  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:02:33.819  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:02:33.829  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:02:33.829  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7700
12-06 12:02:33.830  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:02:33.830  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:02:33.830  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:02:33.830  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:02:33.830  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:02:33.830  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:02:33.830  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:02:33.830  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:02:33.830  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:02:33.830  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:02:33.830  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:02:33.830  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:02:33.832  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:02:33.834  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:02:33.834  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:02:33.838  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:02:33.840  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.000000 right:0.000000 
12-06 12:02:33.851  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:02:33.851  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.853  3501 30241 D audio_hw_primary: out_dump(0xf1152c00, 24)
12-06 12:02:33.855  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:02:33.855  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.858  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:02:33.858  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:02:33.858  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:02:33.858  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:02:33.858  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:02:33.858  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:02:33.858  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:02:33.858  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:02:33.858  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:02:33.865  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:02:33.865  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.868  3501 30241 D audio_hw_primary: out_dump(0xf16e7380, 19)
12-06 12:02:33.869  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:02:33.869  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.871  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:02:33.871  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:02:33.871  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:02:33.871  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:02:33.871  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:02:33.871  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:02:33.871  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:02:33.871  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:02:33.871  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:02:33.871  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:02:33.871  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:02:33.871  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:02:33.871  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:02:33.871  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:02:33.872  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:02:33.881  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:02:33.884  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:02:33.884  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:02:33.884  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:02:33.884  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:02:33.884  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:02:33.884  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:02:33.884  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:02:33.884  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:02:33.884  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:02:33.884  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:02:33.884  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:02:33.884  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7700
12-06 12:02:33.884  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:02:33.884  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:02:33.898  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:02:33.898  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:02:33.898  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:02:33.913  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:02:33.913  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:02:33.913  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:02:33.913  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:02:33.914  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:02:33.914  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:02:33.914  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:02:33.914  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:02:33.914  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:02:33.914  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:02:33.914  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:02:45.192  3501  2209 I audio_hw_primary: ms12_enable :0
12-06 12:03:28.152  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:03:28.152  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:03:28.152  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:03:28.152  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:03:29.315  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:03:29.315  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:03:29.315  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 12:03:29.416  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:03:29.416  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:03:29.416  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:03:29.420  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:03:29.420  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:03:29.420  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 12:03:30.315  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:03:30.315  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:03:30.315  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:03:30.316  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2814)
12-06 12:03:30.316  3501 24515 I audio_hw_primary: patch set found id 2814, patchset 0xee03a400
12-06 12:03:30.316  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:03:30.316  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:03:30.316  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:03:30.316  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:03:30.343  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:03:30.343  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:03:30.343  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:03:30.344  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:03:30.344  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:03:30.344  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:03:30.344  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:03:30.344  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:03:30.344  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:03:30.345  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:03:30.345  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:03:30.345  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:03:30.345  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:03:30.345  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:03:30.345  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:03:30.345  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:03:30.345  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:03:30.345  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:03:30.345  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:03:30.345  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:03:30.346  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:03:30.351  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 12:03:30.375  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:03:30.375  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:03:30.375  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:03:30.375  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:03:30.375  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:03:30.375  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:03:30.375  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:03:30.375  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:03:30.376  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:03:30.376  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:03:30.376  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:03:30.376  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:03:30.376  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:03:30.376  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:03:30.394  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:03:30.396  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1153300
12-06 12:03:30.396  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:03:30.396  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:03:30.396  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:03:30.397  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1153300
12-06 12:03:30.397  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:03:30.397  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:03:30.397  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:03:30.397  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1153300
12-06 12:03:30.397  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:03:30.397  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:03:30.397  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:03:30.398  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1153300
12-06 12:03:30.398  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:03:30.398  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:03:30.398  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:03:30.402  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1153300
12-06 12:03:30.403  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:03:30.403  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:03:30.403  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:03:30.404  3501 24515 I audio_hw_primary: out_standby_direct(0xf1153300),out 0xf1153300
12-06 12:03:30.404  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:03:30.404  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:03:30.405  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:03:30.405  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.406  3501 24515 D audio_hw_primary: out_dump(0xf1153300, 21)
12-06 12:03:30.410  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:03:30.410  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.418  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:03:30.418  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 12:03:30.418  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:03:30.418  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:03:30.418  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:03:30.418  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:03:30.418  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:03:30.418  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:03:30.418  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:03:30.418  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:03:30.418  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:03:30.418  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:03:30.419  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:03:30.419  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:03:30.419  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:03:30.419  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:03:30.419  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:03:30.419  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:03:30.418  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:03:30.419  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:03:30.419  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:03:30.419  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:03:30.419  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:03:30.419  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:03:30.419  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:03:30.419  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:03:30.419  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:03:30.419  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:03:30.420  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:03:30.420  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:03:30.420  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:03:30.423  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:03:30.423  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:03:30.423  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:03:30.435  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:03:30.446  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:03:30.446  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf1153300
12-06 12:03:30.446  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:03:30.446  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:03:30.446  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:03:30.446  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:03:30.447  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:03:30.447  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:03:30.447  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:03:30.447  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:03:30.447  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:03:30.447  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:03:30.447  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:03:30.447  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:03:30.447  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:03:30.456  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1153300), left:0.710396 right:0.710396 
12-06 12:03:30.461  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:03:30.461  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.462  3501 24515 D audio_hw_primary: out_dump(0xf1153d80, 24)
12-06 12:03:30.467  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:03:30.467  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.469  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:03:30.469  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:03:30.469  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:03:30.469  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:03:30.469  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153d80)
12-06 12:03:30.469  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153d80) usecase: [2]PCM_HWSYNC
12-06 12:03:30.469  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:03:30.469  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:03:30.469  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:03:30.470  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:03:30.470  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.471  3501 10201 D audio_hw_primary: out_dump(0xf16e7380, 19)
12-06 12:03:30.472  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:03:30.473  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.476  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:03:30.476  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:03:30.476  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:03:30.476  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:03:30.476  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:03:30.476  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:03:30.476  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:03:30.476  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:03:30.476  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:03:30.476  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:03:30.476  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:03:30.476  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:03:30.476  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:03:30.477  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:03:30.477  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:03:30.479  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:03:30.479  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:03:30.479  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:03:30.479  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1153300)
12-06 12:03:30.479  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:03:30.479  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:03:30.479  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:03:30.479  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:03:30.479  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:03:30.479  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:03:30.479  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:03:30.479  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1153300
12-06 12:03:30.479  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:03:30.479  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:03:30.489  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:03:30.493  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:03:30.493  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:03:30.493  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:03:30.503  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:03:30.503  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:03:30.503  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:03:30.504  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:03:30.504  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:03:30.504  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:03:30.504  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:03:30.504  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:03:30.504  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:03:30.504  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:03:30.504  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:03:30.504  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:03:30.505  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:03:30.505  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:03:30.505  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:03:30.505  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:03:30.505  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:03:30.505  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1153300, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:03:30.505  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:03:30.505  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1153300: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:03:30.508  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:03:30.512  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1153300) usecase: [2]PCM_HWSYNC
12-06 12:03:30.546  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:03:30.546  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:03:30.546  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:03:30.546  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:03:30.546  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:03:30.546  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:03:30.546  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:03:30.546  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:03:30.546  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:03:30.546  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:03:30.546  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:03:30.546  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:03:30.546  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:03:30.546  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:03:40.262  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:03:40.263  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:03:40.263  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:03:40.263  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:03:40.263  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:03:40.263  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:03:40.269  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:03:40.269  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:03:40.269  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:03:40.269  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:621164544
12-06 12:03:40.269  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:03:40.269  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:03:40.269  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:03:40.283  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:03:40.291  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:03:40.299  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:03:43.399  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 12:03:43.417  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:03:43.417  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 12:03:43.417  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:03:44.400  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 12:03:45.402  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 12:03:52.112  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:03:52.112  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:03:52.112  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:03:52.112  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:04:18.222  3501  3807 I audio_hwsync_cbks: pcr is reset by video
12-06 12:04:18.223  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:04:18.223  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:04:18.223  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1152c00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:04:18.223  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:04:18.228  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2822)
12-06 12:04:18.228  3501 10201 I audio_hw_primary: patch set found id 2822, patchset 0xee038800
12-06 12:04:18.228  3501 10201 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:04:18.228  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:04:18.228  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:04:18.228  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:04:18.229  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:04:18.229  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:04:18.229  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:04:18.229  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:04:18.229  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 12:04:18.229  3501 24515 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:04:18.229  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:04:18.234  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:18.234  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:18.236  3501 24515 D audio_hw_primary: out_dump(0xf1152c00, 23)
12-06 12:04:18.437  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:18.438  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:18.442  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:04:18.442  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:18.442  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:18.442  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:04:18.442  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:04:18.443  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:04:18.443  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:04:18.443  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:04:18.443  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:18.443  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:18.443  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:18.865  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:04:18.865  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:04:18.865  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 12:04:18.961  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:04:18.961  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:04:18.961  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:04:18.967  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:04:18.967  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:04:18.967  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 12:04:19.861  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:04:19.861  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:04:19.861  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:04:19.889  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:04:19.889  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:04:19.889  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:04:19.892  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:04:19.892  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:04:19.892  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:19.893  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:04:19.893  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:04:19.893  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:04:19.893  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:19.893  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:19.893  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:19.894  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:19.894  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:19.894  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:19.894  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:19.894  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:19.894  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1152c00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:04:19.894  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:04:19.894  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:04:19.897  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:04:19.900  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:04:19.916  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:04:19.916  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:19.917  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:04:19.917  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:19.917  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:04:19.917  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:19.917  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:19.917  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:19.917  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:19.917  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:19.917  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:19.917  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:19.917  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:04:19.917  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:04:19.926  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:04:19.932  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7a80
12-06 12:04:19.932  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:19.932  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:19.932  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:04:19.933  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7a80),out 0xf16e7a80
12-06 12:04:19.933  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:19.933  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:19.933  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7a80
12-06 12:04:19.933  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:19.933  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:19.934  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:04:19.935  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7a80
12-06 12:04:19.935  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:19.935  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:04:19.935  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:19.938  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7a80
12-06 12:04:19.938  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:19.938  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:19.938  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:04:19.940  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7a80
12-06 12:04:19.940  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:19.940  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 12:04:19.943  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:19.944  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:19.944  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:19.945  3501 10201 D audio_hw_primary: out_dump(0xf16e7a80, 21)
12-06 12:04:20.146  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.146  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.153  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:04:20.153  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 12:04:20.153  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:04:20.153  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.153  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:04:20.153  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:04:20.153  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:04:20.153  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.153  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.153  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:04:20.153  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.153  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.153  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.153  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.153  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.153  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.153  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:04:20.153  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.154  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:04:20.154  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.154  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.154  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:20.154  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.154  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.154  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.154  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.154  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:04:20.154  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:04:20.155  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:04:20.155  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:04:20.155  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:04:20.157  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e8f80),out 0xf16e8f80
12-06 12:04:20.157  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.157  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.170  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.175  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:04:20.175  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9680
12-06 12:04:20.175  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:04:20.175  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.175  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.175  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.175  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:20.175  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.175  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.175  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.175  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.175  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.175  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:04:20.176  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:04:20.177  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:20.183  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e9680), left:0.710396 right:0.710396 
12-06 12:04:20.189  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.189  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.190  3501 24515 D audio_hw_primary: out_dump(0xf1152c00, 24)
12-06 12:04:20.192  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.192  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.193  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:04:20.193  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.193  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.193  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:04:20.193  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:04:20.193  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1152c00) usecase: [2]PCM_HWSYNC
12-06 12:04:20.193  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.193  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.193  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.195  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.195  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.196  3501 24515 D audio_hw_primary: out_dump(0xf16e8f80, 19)
12-06 12:04:20.197  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.198  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.200  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:04:20.200  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 12:04:20.200  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.200  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:04:20.200  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:04:20.200  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.200  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:04:20.200  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.200  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.200  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.200  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.200  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.200  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.201  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.201  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.203  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:04:20.203  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.203  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.203  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:04:20.203  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.203  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:04:20.203  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:04:20.203  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:04:20.203  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.203  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.203  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.203  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e9680
12-06 12:04:20.203  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.203  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.211  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:04:20.211  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:04:20.211  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:04:20.213  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.220  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:04:20.220  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:04:20.220  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:04:20.221  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:04:20.221  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:04:20.221  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.221  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:04:20.221  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:04:20.221  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:04:20.221  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.221  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.221  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:20.222  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.222  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.222  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.222  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.222  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.222  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8f80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:04:20.222  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:04:20.222  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:04:20.224  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:04:20.229  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 12:04:20.246  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:04:20.246  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.247  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:04:20.247  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.247  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:04:20.247  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.247  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.247  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:20.247  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.247  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.247  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.247  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.247  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:04:20.247  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1152c00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:04:20.255  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:04:20.258  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1152c00
12-06 12:04:20.258  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.258  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:04:20.259  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:04:20.264  3501 24515 I audio_hw_primary: out_standby_direct(0xf1152c00),out 0xf1152c00
12-06 12:04:20.264  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.264  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.265  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1152c00
12-06 12:04:20.265  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.266  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.266  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:04:20.266  3501 24515 I audio_hw_primary: get hwsync id
12-06 12:04:20.268  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1152c00
12-06 12:04:20.268  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.269  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.269  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.271  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1152c00
12-06 12:04:20.271  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.271  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.271  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:04:20.272  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1152c00
12-06 12:04:20.272  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.272  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.272  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.275  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.275  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.276  3501 24515 D audio_hw_primary: out_dump(0xf1152c00, 21)
12-06 12:04:20.279  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.279  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.293  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:04:20.293  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:04:20.293  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.293  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:04:20.293  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1152c00)
12-06 12:04:20.293  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.293  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:04:20.293  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:04:20.293  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.293  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:04:20.293  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.293  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.293  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.293  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.293  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.293  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.294  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:04:20.294  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.294  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:04:20.294  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.294  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.294  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.295  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:04:20.295  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.295  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.295  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.295  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.295  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:04:20.295  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:04:20.303  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:04:20.303  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:04:20.303  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:04:20.313  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 12:04:20.313  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.313  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.331  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:04:20.331  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7a80
12-06 12:04:20.331  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:04:20.331  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.331  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.331  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.332  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:20.332  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.332  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.332  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.332  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.332  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.332  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:04:20.332  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:04:20.334  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:20.343  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7a80), left:0.710396 right:0.710396 
12-06 12:04:20.353  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.353  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.354  3501 30241 D audio_hw_primary: out_dump(0xf16e8f80, 24)
12-06 12:04:20.358  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.358  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.360  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:04:20.360  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.360  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.360  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:04:20.360  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 12:04:20.360  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 12:04:20.360  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.360  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.360  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.361  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.361  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.363  3501 30241 D audio_hw_primary: out_dump(0xf16e9680, 19)
12-06 12:04:20.367  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.367  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.368  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:04:20.368  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:04:20.368  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.368  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:04:20.368  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:04:20.368  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.369  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:04:20.369  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.369  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.369  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.369  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.369  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.369  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.369  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.369  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.374  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.375  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:04:20.375  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.375  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.375  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 12:04:20.375  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.375  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:04:20.376  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:04:20.376  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:04:20.376  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.376  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.376  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.376  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7a80
12-06 12:04:20.377  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.377  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.384  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:04:20.384  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:04:20.385  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:04:20.395  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:04:20.395  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:04:20.395  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:04:20.396  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:04:20.396  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:04:20.396  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.396  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:04:20.396  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:04:20.396  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:04:20.396  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.396  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.396  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:20.396  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.396  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.396  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.396  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.396  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.396  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7a80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:04:20.396  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:04:20.396  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7a80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:04:20.398  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:04:20.404  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 12:04:20.425  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:04:20.425  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.425  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:04:20.425  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.425  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:04:20.425  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.425  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.426  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:20.426  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.426  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.426  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.426  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.426  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:04:20.426  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:04:20.483  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:04:20.485  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9680
12-06 12:04:20.485  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.485  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:20.485  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:04:20.490  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 12:04:20.490  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.490  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.494  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e9680
12-06 12:04:20.494  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.495  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.495  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:04:20.495  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e9680
12-06 12:04:20.495  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.496  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.496  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.496  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9680
12-06 12:04:20.496  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.497  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.497  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:04:20.499  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9680
12-06 12:04:20.499  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.499  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.499  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.503  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.503  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.505  3501 30241 D audio_hw_primary: out_dump(0xf16e9680, 21)
12-06 12:04:20.511  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.511  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.584  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:04:20.584  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:04:20.584  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:04:20.584  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.584  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:04:20.584  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:04:20.584  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.584  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:04:20.584  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.584  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:04:20.584  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.584  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.584  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.584  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.584  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.584  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.584  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:04:20.584  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.584  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:04:20.584  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.584  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.585  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:04:20.585  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.585  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.585  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.585  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.585  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:04:20.585  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:04:20.586  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:04:20.586  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:04:20.586  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:04:20.597  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.600  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:04:20.600  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.602  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.613  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:04:20.613  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7700
12-06 12:04:20.614  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:04:20.615  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.615  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.615  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.615  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:04:20.616  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.616  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.616  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.616  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.616  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.616  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:04:20.616  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:04:20.619  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:20.633  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.710396 right:0.710396 
12-06 12:04:20.650  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.650  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.653  3501 10201 D audio_hw_primary: out_dump(0xf16e7a80, 24)
12-06 12:04:20.662  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.662  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.665  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:04:20.665  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.665  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.665  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:04:20.665  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7a80)
12-06 12:04:20.665  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7a80) usecase: [2]PCM_HWSYNC
12-06 12:04:20.665  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.665  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.665  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.668  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.668  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.671  3501 10201 D audio_hw_primary: out_dump(0xf16e7380, 19)
12-06 12:04:20.677  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.677  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.679  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:04:20.679  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:04:20.679  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.679  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:04:20.679  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:04:20.679  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.679  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:04:20.679  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.679  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.679  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.679  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.679  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.679  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.680  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.680  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.683  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:04:20.683  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.683  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.683  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:04:20.683  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.683  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:04:20.683  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:04:20.683  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:04:20.683  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.683  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.683  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.683  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7700
12-06 12:04:20.683  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.683  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.693  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.696  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:04:20.696  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:04:20.696  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.696  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:04:20.696  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.696  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.696  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:04:20.697  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.697  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.697  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.697  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.697  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.697  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:04:20.697  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:04:20.697  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:04:20.698  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:20.706  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:04:20.728  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:04:20.728  3501 10201 I audio_hw_primary: (0xf16e7700)set hw_sync_id 12345678,enable hw sync mode
12-06 12:04:20.728  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 12:04:20.729  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:04:20.729  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:04:20.729  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:04:20.736  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:04:20.736  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:04:20.737  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:04:20.737  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:04:20.737  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.738  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:04:20.738  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.738  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:04:20.738  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.738  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.739  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:04:20.739  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.739  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.739  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.739  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.739  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:04:20.739  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:04:20.748  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:04:20.750  3501 10201 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7380
12-06 12:04:20.750  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.751  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:04:20.751  3501 10201 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:04:20.753  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:04:20.753  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.753  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.754  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7380
12-06 12:04:20.754  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.755  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.755  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:04:20.755  3501 10201 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7380
12-06 12:04:20.755  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.756  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.756  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.756  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7380
12-06 12:04:20.756  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.756  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.756  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:04:20.757  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7380
12-06 12:04:20.757  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.757  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.757  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.759  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.759  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.760  3501 10201 D audio_hw_primary: out_dump(0xf16e7380, 21)
12-06 12:04:20.763  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.763  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.770  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:04:20.770  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:04:20.770  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.770  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:04:20.770  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:04:20.770  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.770  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:04:20.770  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.770  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.770  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.770  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.770  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.770  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:04:20.770  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.770  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:04:20.770  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.771  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:04:20.771  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.771  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:04:20.771  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.771  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.771  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:20.771  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.771  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.771  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.771  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.771  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:04:20.771  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:04:20.773  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:04:20.773  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:04:20.773  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:04:20.780  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:04:20.780  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8f80
12-06 12:04:20.780  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:04:20.780  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.780  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.780  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.780  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:20.781  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.781  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.781  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.781  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.781  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.781  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8f80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:04:20.781  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:04:20.781  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.783  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 12:04:20.784  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:20.784  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.786  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.790  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e8f80), left:0.710396 right:0.710396 
12-06 12:04:20.794  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.794  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.795  3501  2209 D audio_hw_primary: out_dump(0xf16e9680, 24)
12-06 12:04:20.796  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:20.796  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.797  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:04:20.797  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:04:20.797  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.797  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:04:20.797  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:04:20.797  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.797  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:04:20.797  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.797  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.797  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.797  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.797  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.797  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.798  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.799  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:20.799  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.801  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:04:20.801  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:20.801  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:20.801  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 12:04:20.801  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.801  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:04:20.801  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:04:20.801  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:04:20.801  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.801  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.801  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.801  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8f80
12-06 12:04:20.801  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.801  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.805  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:04:20.805  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:04:20.805  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:04:20.805  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:04:20.805  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:04:20.805  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:04:20.815  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:04:20.815  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:04:20.817  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:04:20.817  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:04:20.817  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:04:20.912  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:04:20.912  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:04:20.912  3501 30241 I audio_hw_primary: patch found mix->dev id 2823, patchset 0xee049800
12-06 12:04:20.912  3501 30241 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:04:20.912  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:04:20.912  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:04:20.912  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:04:20.912  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:04:20.912  3501 30241 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_HDMI to OUTPORT_SPEAKER
12-06 12:04:20.912  3501 30241 E audio_hw_primary: aml_audio_output_routing: active_outport = 2 unsupport
12-06 12:04:20.912  3501 30241 D audio_route: Apply path: speaker
12-06 12:04:20.912  3501 30241 E audio_route: unable to find path 'spdif'
12-06 12:04:20.912  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(0)
12-06 12:04:20.929  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:04:20.929  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:04:20.929  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:04:20.931  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:04:20.931  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.931  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:04:20.931  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.931  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:04:20.931  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.931  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.932  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:04:20.932  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.932  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.932  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.932  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.932  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:04:20.932  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:04:20.944  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:04:20.946  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9680
12-06 12:04:20.947  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.947  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:04:20.947  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:04:20.948  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e9680
12-06 12:04:20.948  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.948  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.948  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:04:20.948  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e9680
12-06 12:04:20.948  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.949  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.949  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.949  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9680
12-06 12:04:20.949  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.950  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:04:20.950  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:04:20.950  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9680
12-06 12:04:20.950  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:04:20.950  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:04:20.951  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:04:20.952  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 12:04:20.952  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.952  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 12:04:20.952  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.952  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.954  3501 30241 D audio_hw_primary: out_dump(0xf16e9680, 21)
12-06 12:04:20.955  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 12:04:20.955  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.964  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:04:20.964  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:04:20.964  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:04:20.964  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:04:20.965  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:04:20.965  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:04:20.965  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:04:20.965  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:04:20.965  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.965  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:04:20.965  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:20.965  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:04:20.965  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:20.965  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:20.965  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:20.965  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:20.965  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:04:20.965  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.965  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:04:20.965  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.965  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.965  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:04:20.965  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.965  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.965  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.965  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.965  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:04:20.965  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:04:20.972  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:04:20.972  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:04:20.972  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:04:20.973  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:20.976  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:04:20.976  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8180
12-06 12:04:20.976  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:04:20.976  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:20.976  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:20.976  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:20.977  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:04:20.977  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:20.977  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:20.977  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:20.977  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:20.977  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:20.977  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:04:20.977  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:04:20.978  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:20.981  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e8180), left:0.710396 right:0.710396 
12-06 12:04:20.985  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:04:20.985  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:04:20.985  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:20.988  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 12:04:20.989  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:20.994  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 24)
12-06 12:04:20.996  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 12:04:20.996  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:21.000  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:04:21.000  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:04:21.000  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:04:21.000  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:04:21.000  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:04:21.000  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:04:21.000  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:04:21.000  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:21.000  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:04:21.001  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:04:21.001  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:21.001  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:21.001  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:21.001  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 12:04:21.001  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:21.013  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:04:21.019  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:04:21.019  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:21.019  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:21.019  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 12:04:21.019  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:04:21.019  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:04:21.019  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:04:21.019  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:04:21.019  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:04:21.019  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:04:21.019  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:21.019  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8180
12-06 12:04:21.019  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:21.019  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:21.022  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2824)
12-06 12:04:21.022  3501  2209 I audio_hw_primary: patch set found id 2824, patchset 0xefd26400
12-06 12:04:21.022  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:04:21.022  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:04:21.022  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:04:21.022  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:04:21.032  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 12:04:21.032  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:21.032  3501  2209 D audio_hw_primary: out_dump(0xf16e7700, 20)
12-06 12:04:21.035  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 12:04:21.035  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:21.036  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:04:21.036  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:21.036  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:21.036  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:04:21.036  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:04:21.037  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:04:21.045  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:04:21.045  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:04:21.046  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:04:21.046  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:04:21.046  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:04:21.046  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:04:21.046  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:04:21.046  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:04:21.046  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:04:21.047  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:04:21.047  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:04:21.047  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:04:21.047  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:04:21.047  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:04:21.047  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8f80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:04:21.047  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:04:21.047  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8f80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:04:21.048  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:04:21.051  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 12:04:21.046  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:21.059  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:21.059  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:21.074  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x2)
12-06 12:04:21.074  3501  2209 I audio_hw_primary: (0xf16e8f80)set hw_sync_id 12345678,enable hw sync mode
12-06 12:04:21.074  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 12:04:21.082  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:04:21.082  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:04:21.082  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:04:21.082  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:04:21.082  3501  2209 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_SPEAKER to OUTPORT_HDMI
12-06 12:04:21.082  3501  2209 E audio_route: unable to find path 'speaker_off'
12-06 12:04:21.082  3501  2209 E audio_hw_primary: aml_audio_output_routing: outport = 2 unsupport
12-06 12:04:21.082  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:04:21.087  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8f80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:04:21.087  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:04:21.321  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e8f80), left:0.828896 right:0.828896 
12-06 12:04:21.326  3501 27587 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:04:21.326  3501 27587 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:04:21.326  3501 27587 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:04:21.326  3501 27587 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:04:21.326  3501 27587 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:04:21.326  3501 27587 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e8f80
12-06 12:04:21.326  3501 27587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:04:21.326  3501 27587 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:04:21.326  3501 27587 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:04:21.326  3501 27587 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:04:21.326  3501 27587 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:04:21.428  3501 27587 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:04:21.428  3501 27587 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:04:21.438  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2070, latency 7290, last position 0
12-06 12:04:21.438  3501  3807 I audio_hwsync_cbks: pts32 = 23 latency=7290
12-06 12:04:21.446  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2790, latency 7290, last position 0
12-06 12:04:21.446  3501  3807 I audio_hwsync_cbks: pts32 = 31 latency=7290
12-06 12:04:21.454  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 12:04:21.454  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 12:04:21.462  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 12:04:21.462  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 12:04:21.470  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 832
12-06 12:04:21.470  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 12:04:21.478  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 832
12-06 12:04:21.478  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 12:04:21.486  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 832
12-06 12:04:21.486  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 12:04:21.494  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7110, latency 7290, last position 1792
12-06 12:04:21.494  3501  3807 I audio_hwsync_cbks: pts32 = 79 latency=7290
12-06 12:04:21.502  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7830, latency 7290, last position 1792
12-06 12:04:21.502  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 12:04:22.191  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8f80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:04:22.191  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:04:22.192  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8f80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:04:22.192  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:04:22.198  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:04:22.198  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:04:22.198  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:04:22.198  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:04:22.200  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2825)
12-06 12:04:22.200  3501 24515 I audio_hw_primary: patch set found id 2825, patchset 0xefd26400
12-06 12:04:22.200  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:04:22.200  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:04:22.200  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:04:22.200  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:04:22.200  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 12:04:22.200  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:04:22.200  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:04:22.200  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:04:22.200  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:04:22.203  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:04:22.204  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:22.207  3501 30241 D audio_hw_primary: out_dump(0xf16e8f80, 23)
12-06 12:04:22.211  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:04:22.211  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:04:22.215  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:04:22.215  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:04:22.215  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:04:22.215  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:04:22.215  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:04:22.215  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:04:22.216  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8f80)
12-06 12:04:22.216  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8f80) usecase: [2]PCM_HWSYNC
12-06 12:04:22.216  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:04:22.216  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:04:22.216  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:04:22.239  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:04:22.239  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:04:22.239  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:05:16.510  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:05:16.510  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:05:16.510  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:05:16.510  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:05:16.929  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:05:16.929  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:05:16.929  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:05:16.932  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2831)
12-06 12:05:16.932  3501 24515 I audio_hw_primary: patch set found id 2831, patchset 0xefd21000
12-06 12:05:16.932  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:05:16.932  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:05:16.932  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:05:16.932  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:05:16.959  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:05:16.959  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:05:16.959  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:05:16.959  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:05:16.959  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:05:16.959  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:05:16.959  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:05:16.959  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:05:32.940  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:05:32.940  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:05:32.940  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:05:32.944  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 12:06:11.572  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:06:11.572  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:06:11.572  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:06:11.768  3501 24515 D audio_hw_primary: adev_open: enter
12-06 12:06:11.768  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 12:06:11.768  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 12:06:11.769  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 12:06:11.770  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 12:06:11.770  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:06:11.770  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:06:11.770  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:06:11.770  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:06:11.771  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:11.771  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:06:11.771  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:06:11.771  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:06:11.771  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:06:11.771  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:06:11.771  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 12:06:11.771  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 12:06:11.771  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 12:06:11.773  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 12:06:11.773  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 12:06:13.844  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:06:13.844  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 12:06:13.844  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 12:06:13.844  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:06:13.844  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:06:13.844  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:13.845  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:06:13.845  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:622022656
12-06 12:06:13.845  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:13.845  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:06:13.845  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:06:13.845  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:06:13.845  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:06:13.845  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:06:13.845  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:06:13.856  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:06:13.863  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:06:13.871  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:06:13.887  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:06:14.221  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8180, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 12:06:14.221  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:06:14.221  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8180, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 12:06:14.221  3501 30241 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 12:06:14.221  3501 30241 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 12:06:14.222  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:06:14.222  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:06:14.223  3501 29039 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:06:14.255  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8180, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 12:06:14.257  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:06:14.262  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 12:06:14.262  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 12:06:30.336  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:06:30.912  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:06:30.914  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:06:30.914  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:06:30.914  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:06:30.914  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:06:30.914  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:06:30.915  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:30.915  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:06:30.915  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:06:30.915  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:06:30.915  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:06:30.915  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:06:30.915  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:06:30.915  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:06:30.915  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:06:30.917  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:06:30.922  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:30.947  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:06:30.947  3501 30241 I audio_hw_primary: (0xf16e7e00)set hw_sync_id 12345678,enable hw sync mode
12-06 12:06:30.947  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 12:06:30.958  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:06:30.958  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:06:30.958  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:06:30.958  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:06:30.958  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:06:30.959  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:06:30.973  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7e00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:06:30.973  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:06:31.317  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.828896 right:0.828896 
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:06:31.343  3501 29323 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7e00
12-06 12:06:31.343  3501 29323 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:31.343  3501 29323 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:06:31.343  3501 29323 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:06:31.343  3501 29323 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:06:31.343  3501 29323 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:06:31.343  3501 29323 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:06:31.358  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8730, last position 0
12-06 12:06:31.358  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8730
12-06 12:06:31.366  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8730, last position 0
12-06 12:06:31.366  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8730
12-06 12:06:31.374  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8730, last position 0
12-06 12:06:31.374  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8730
12-06 12:06:31.382  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8730, last position 0
12-06 12:06:31.382  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8730
12-06 12:06:31.390  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8730, last position 0
12-06 12:06:31.390  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8730
12-06 12:06:31.398  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8730, last position 0
12-06 12:06:31.398  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8730
12-06 12:06:31.406  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8730, last position 832
12-06 12:06:31.406  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8730
12-06 12:06:31.414  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8730, last position 896
12-06 12:06:31.414  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8730
12-06 12:06:31.422  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8730, last position 896
12-06 12:06:31.422  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8730
12-06 12:06:31.430  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8730, last position 1920
12-06 12:06:31.430  3501  3807 I audio_hwsync_cbks: pts32 = 96 latency=8730
12-06 12:06:31.438  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9270, latency 8730, last position 1920
12-06 12:06:31.438  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 12:06:31.743  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:06:31.743  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:06:31.744  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:06:31.744  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:06:31.750  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:06:31.750  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:06:31.750  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:06:31.750  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:06:31.750  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:06:31.750  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:06:31.750  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:06:31.751  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2833)
12-06 12:06:31.752  3501 30241 I audio_hw_primary: patch set found id 2833, patchset 0xee04b400
12-06 12:06:31.752  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:06:31.752  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:06:31.752  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:06:31.752  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:06:31.752  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:31.752  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:06:31.752  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:06:31.752  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:06:31.752  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:06:31.757  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:06:31.757  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:06:31.759  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 23)
12-06 12:06:31.960  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:06:31.960  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:06:31.961  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:06:31.961  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:06:31.961  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:06:31.961  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:06:31.961  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:06:31.963  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:06:31.963  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:06:31.963  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:41.693  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:06:42.182  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:06:42.183  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:06:42.183  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:06:42.183  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:06:42.183  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:06:42.183  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:06:42.184  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:42.184  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:06:42.184  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:06:42.184  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:06:42.184  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:06:42.184  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:06:42.184  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:06:42.184  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:06:42.185  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:06:42.186  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:06:42.202  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:42.225  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:06:42.225  3501  2209 I audio_hw_primary: (0xf16e7e00)set hw_sync_id 12345678,enable hw sync mode
12-06 12:06:42.225  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 12:06:42.235  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:06:42.235  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:06:42.235  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:06:42.235  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:06:42.235  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:06:42.235  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:06:42.260  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7e00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:06:42.260  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:06:42.539  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.828896 right:0.828896 
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:06:42.542  3501 29476 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7e00
12-06 12:06:42.542  3501 29476 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:42.542  3501 29476 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:06:42.542  3501 29476 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:06:42.542  3501 29476 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:06:42.542  3501 29476 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:06:42.542  3501 29476 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:06:42.558  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 8730, last position 0
12-06 12:06:42.558  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=8730
12-06 12:06:42.566  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 8730, last position 0
12-06 12:06:42.566  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=8730
12-06 12:06:42.574  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 8730, last position 0
12-06 12:06:42.574  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=8730
12-06 12:06:42.582  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 8730, last position 0
12-06 12:06:42.582  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=8730
12-06 12:06:42.590  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 8730, last position 0
12-06 12:06:42.590  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=8730
12-06 12:06:42.598  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 8730, last position 0
12-06 12:06:42.598  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=8730
12-06 12:06:42.606  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 8730, last position 832
12-06 12:06:42.606  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=8730
12-06 12:06:42.614  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 8730, last position 832
12-06 12:06:42.614  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=8730
12-06 12:06:42.622  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 8730, last position 832
12-06 12:06:42.622  3501  3807 I audio_hwsync_cbks: pts32 = 88 latency=8730
12-06 12:06:42.630  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8640, latency 8730, last position 1856
12-06 12:06:42.630  3501  3807 I audio_hwsync_cbks: pts32 = 96 latency=8730
12-06 12:06:42.638  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9270, latency 8730, last position 1856
12-06 12:06:42.638  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x21c
12-06 12:06:43.618  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:06:43.618  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:06:43.618  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7e00, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:06:43.618  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:06:43.621  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:06:43.622  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:06:43.622  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:06:43.622  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:06:43.622  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:06:43.622  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:06:43.622  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:06:43.624  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2834)
12-06 12:06:43.624  3501  2209 I audio_hw_primary: patch set found id 2834, patchset 0xf11aec00
12-06 12:06:43.624  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:06:43.624  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:06:43.624  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:06:43.624  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:06:43.626  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:43.626  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:06:43.626  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:06:43.626  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:06:43.626  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:06:43.628  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:06:43.628  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:06:43.631  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 23)
12-06 12:06:43.634  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:06:43.634  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:06:43.646  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:06:43.646  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:06:43.646  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:06:43.646  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:06:43.646  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:06:43.646  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:06:43.646  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:06:43.646  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:43.646  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:06:43.646  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:06:43.646  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:06:44.070  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:06:44.070  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:06:44.070  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:06:44.174  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:06:44.174  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:06:44.174  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 12:06:44.180  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:06:44.180  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:06:44.180  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:06:45.069  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:06:45.069  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:06:45.069  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:06:45.071  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2832)
12-06 12:06:45.071  3501  2209 I audio_hw_primary: patch set found id 2832, patchset 0xefd21000
12-06 12:06:45.071  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:06:45.071  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:06:45.071  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:06:45.071  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:06:45.099  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:06:45.099  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:06:45.099  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:06:45.100  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:06:45.100  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:06:45.100  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:06:45.100  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:06:45.100  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:06:45.100  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:06:45.100  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:06:45.100  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:06:45.101  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:45.101  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:06:45.101  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:06:45.101  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:06:45.101  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:06:45.101  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:06:45.101  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:06:45.101  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:06:45.101  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:06:45.102  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:06:45.107  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:06:45.124  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:06:45.124  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:06:45.124  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:06:45.124  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:06:45.125  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:06:45.125  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:06:45.125  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:06:45.125  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:45.125  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:06:45.125  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:06:45.125  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:06:45.125  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:06:45.125  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:06:45.125  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:06:45.139  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:06:45.144  3501  2209 I audio_hw_primary: out_standby_direct(0xf1151000),out 0xf1151000
12-06 12:06:45.144  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:06:45.144  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:06:45.151  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1151000
12-06 12:06:45.151  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:06:45.151  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:45.151  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:06:45.152  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1151000
12-06 12:06:45.152  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:06:45.152  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:06:45.152  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:06:45.153  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1151000
12-06 12:06:45.153  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:06:45.153  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:06:45.153  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:06:45.154  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1151000
12-06 12:06:45.154  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:06:45.154  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:06:45.154  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:06:45.156  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1151000
12-06 12:06:45.156  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:06:45.156  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:06:45.156  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:06:45.159  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:06:45.159  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:06:45.163  3501 24515 D audio_hw_primary: out_dump(0xf1151000, 21)
12-06 12:06:45.167  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:06:45.167  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:06:45.174  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:06:45.174  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:06:45.174  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:06:45.174  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:06:45.174  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:06:45.174  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:06:45.174  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:06:45.174  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:06:45.174  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:06:45.174  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:06:45.174  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:06:45.174  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:06:45.479  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:06:45.601  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=89587555709 write=89552000000 diff=35555709
12-06 12:06:45.879  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:06:45.879  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:06:45.879  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:06:45.879  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:06:45.879  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:06:45.879  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:06:45.879  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:06:45.880  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:06:45.880  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:06:45.880  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:06:45.880  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:06:45.880  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:06:45.880  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:06:45.880  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:06:45.880  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:06:45.881  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:06:45.884  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:06:45.899  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:06:45.899  3501 24515 I audio_hw_primary: (0xf16e7700)set hw_sync_id 12345678,enable hw sync mode
12-06 12:06:45.899  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 12:06:45.905  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:06:45.905  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:06:45.905  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:06:45.905  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:06:45.905  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:06:45.905  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:06:45.910  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:06:45.910  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:06:46.144  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.828896 right:0.828896 
12-06 12:06:46.147  3501 29575 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:06:46.147  3501 29575 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:06:46.147  3501 29575 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:06:46.147  3501 29575 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:06:46.147  3501 29575 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:06:46.147  3501 29575 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7700
12-06 12:06:46.150  3501 29575 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:46.150  3501 29575 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:06:46.150  3501 29575 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:06:46.150  3501 29575 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:06:46.150  3501 29575 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:06:46.252  3501 29575 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:06:46.252  3501 29575 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:06:46.257  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2070, latency 10620, last position 0
12-06 12:06:46.257  3501  3807 I audio_hwsync_cbks: pts32 = 23 latency=10620
12-06 12:06:46.265  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2790, latency 10620, last position 0
12-06 12:06:46.265  3501  3807 I audio_hwsync_cbks: pts32 = 31 latency=10620
12-06 12:06:46.273  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 10620, last position 0
12-06 12:06:46.273  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=10620
12-06 12:06:46.281  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 10620, last position 0
12-06 12:06:46.281  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=10620
12-06 12:06:46.291  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 10440, last position 0
12-06 12:06:46.291  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=10440
12-06 12:06:46.297  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 10620, last position 0
12-06 12:06:46.297  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=10620
12-06 12:06:46.305  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 10620, last position 0
12-06 12:06:46.305  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=10620
12-06 12:06:46.313  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7110, latency 10620, last position 0
12-06 12:06:46.313  3501  3807 I audio_hwsync_cbks: pts32 = 79 latency=10620
12-06 12:06:46.323  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7830, latency 10440, last position 64
12-06 12:06:46.323  3501  3807 I audio_hwsync_cbks: pts32 = 87 latency=10440
12-06 12:06:46.329  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8550, latency 10620, last position 64
12-06 12:06:46.329  3501  3807 I audio_hwsync_cbks: pts32 = 95 latency=10620
12-06 12:06:46.337  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9270, latency 10620, last position 1280
12-06 12:06:46.337  3501  3807 I audio_hwsync_cbks: pts32 = 103 latency=10620
12-06 12:06:46.345  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 9990, latency 10620, last position 1280
12-06 12:06:46.345  3501  3807 I audio_hwsync_cbks: pts32 = 111 latency=10620
12-06 12:06:46.354  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 10710, latency 10530, last position 2368
12-06 12:06:46.354  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0xb4
12-06 12:07:08.111  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:07:08.112  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:07:08.112  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:07:08.112  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:07:08.118  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:07:08.118  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:07:08.118  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:07:08.118  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:07:08.118  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:07:08.118  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:07:08.118  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:07:08.126  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:07:08.126  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:07:08.126  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 12:07:08.126  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 12:07:08.126  3501  3807 D aml_audio_port: inport_reset()
12-06 12:07:08.126  3501  3807 I amlaudioMixer: [mixer_inports_read:714] input port:[1]PCM_DIRECT flushing->flushed
12-06 12:07:08.131  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2838)
12-06 12:07:08.131  3501 24515 I audio_hw_primary: patch set found id 2838, patchset 0xf11aec00
12-06 12:07:08.131  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:07:08.131  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:07:08.131  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:07:08.131  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:07:08.131  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:07:08.131  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:07:08.131  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:07:08.131  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:07:08.139  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:08.139  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:08.140  3501 24515 D audio_hw_primary: out_dump(0xf16e7700, 23)
12-06 12:07:08.147  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:08.147  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:08.155  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:07:08.155  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:08.155  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:08.155  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:07:08.155  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:07:08.155  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:07:08.155  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:07:08.155  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:07:08.155  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:08.155  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:08.155  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:40.015  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:07:40.015  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:07:40.015  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:07:40.117  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:07:40.117  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:07:40.117  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 12:07:40.122  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:07:40.122  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:07:40.122  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:07:41.013  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:07:41.013  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:07:41.013  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:07:41.043  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:07:41.043  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:07:41.043  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:07:41.044  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:07:41.044  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:07:41.044  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.044  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:07:41.044  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:07:41.044  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:07:41.044  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.044  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.044  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.044  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.044  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.044  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.045  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.045  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.045  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:07:41.045  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:07:41.045  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:07:41.047  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:07:41.053  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8180) usecase: [2]PCM_HWSYNC
12-06 12:07:41.083  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:07:41.083  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.083  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:41.083  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.083  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:07:41.083  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.083  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.083  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.084  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.084  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.084  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.084  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.084  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:07:41.084  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:07:41.090  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:07:41.092  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8880
12-06 12:07:41.092  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.092  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.093  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:07:41.093  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8880
12-06 12:07:41.093  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.093  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.093  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:07:41.094  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 12:07:41.094  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.094  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.096  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8880
12-06 12:07:41.096  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.096  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.096  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.096  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8880
12-06 12:07:41.096  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.097  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.097  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:07:41.097  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8880
12-06 12:07:41.097  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.097  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.097  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.107  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.107  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.108  3501 30241 D audio_hw_primary: out_dump(0xf16e8880, 21)
12-06 12:07:41.110  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.110  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.116  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:07:41.116  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:07:41.116  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.116  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:07:41.116  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:07:41.116  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.116  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:07:41.116  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.116  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.116  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.116  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.116  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.116  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.124  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.124  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:07:41.124  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:07:41.124  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.125  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:41.126  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.126  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:07:41.126  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.126  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.126  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.127  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.127  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.127  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.127  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.127  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:07:41.127  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:07:41.128  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:07:41.128  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:07:41.128  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:07:41.131  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:07:41.131  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.131  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.142  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:07:41.142  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151000
12-06 12:07:41.143  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:07:41.143  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.143  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.143  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.143  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.143  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.143  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.143  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.143  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.143  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.143  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:07:41.143  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:07:41.144  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:07:41.149  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.710396 right:0.710396 
12-06 12:07:41.155  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.155  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.155  3501  2209 D audio_hw_primary: out_dump(0xf16e8180, 24)
12-06 12:07:41.158  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.158  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.159  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:07:41.159  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.159  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.159  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:07:41.159  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 12:07:41.159  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8180) usecase: [2]PCM_HWSYNC
12-06 12:07:41.159  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.159  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.159  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.160  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.161  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.163  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 12:07:41.164  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.164  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.166  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:07:41.166  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:07:41.166  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.166  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:07:41.166  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:07:41.166  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.166  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:07:41.166  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.166  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.166  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.166  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.166  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.166  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.166  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.166  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.169  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:07:41.169  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.169  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.169  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:07:41.169  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.169  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:07:41.169  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:07:41.169  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:07:41.169  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.169  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.169  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.169  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151000
12-06 12:07:41.169  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.169  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.180  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.181  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:07:41.182  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:07:41.182  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:07:41.190  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:07:41.190  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:07:41.190  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:07:41.191  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:07:41.191  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:07:41.191  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.191  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:07:41.191  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:07:41.191  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:07:41.191  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.191  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.191  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.191  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.191  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.192  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.192  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.192  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.192  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:07:41.192  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:07:41.192  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:07:41.199  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:07:41.206  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:07:41.224  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:07:41.224  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.224  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:41.225  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.225  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:07:41.225  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.225  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.225  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.225  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.225  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.225  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.225  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.225  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:07:41.225  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:07:41.235  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:07:41.237  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8880
12-06 12:07:41.237  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.238  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.238  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:07:41.238  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8880
12-06 12:07:41.238  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.239  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.239  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:07:41.241  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8880
12-06 12:07:41.241  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.241  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.242  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.242  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8880
12-06 12:07:41.242  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.243  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.243  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:07:41.243  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8880
12-06 12:07:41.243  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.243  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.243  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.244  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 12:07:41.244  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.244  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.245  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.245  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.248  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 21)
12-06 12:07:41.249  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.249  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.254  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:07:41.254  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:07:41.254  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.255  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:07:41.255  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:07:41.255  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.255  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:07:41.255  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.255  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.255  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.255  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.255  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.255  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.255  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:07:41.256  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:07:41.256  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.256  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:41.256  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.256  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:07:41.256  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.256  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.256  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.256  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.256  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.256  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.256  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.257  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:07:41.257  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:07:41.259  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:07:41.259  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:07:41.259  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:07:41.268  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.269  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 12:07:41.270  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.273  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.298  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:07:41.298  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9d80
12-06 12:07:41.298  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:07:41.298  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.298  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.298  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.298  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.299  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.299  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.299  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.299  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.299  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.299  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9d80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:07:41.299  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:07:41.300  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:07:41.303  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e9d80), left:0.710396 right:0.710396 
12-06 12:07:41.310  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.310  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.311  3501 30241 D audio_hw_primary: out_dump(0xf1151000, 24)
12-06 12:07:41.312  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.312  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.313  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:07:41.313  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.313  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.313  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:07:41.313  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:07:41.313  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:07:41.313  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.313  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.313  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.314  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.314  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.315  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 19)
12-06 12:07:41.316  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.316  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.317  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:07:41.317  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:07:41.317  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.317  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:07:41.317  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:07:41.317  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.317  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:07:41.317  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.317  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.317  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.317  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.318  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.318  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.319  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.319  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.321  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:07:41.321  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.321  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.321  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:07:41.321  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.321  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:07:41.321  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:07:41.321  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:07:41.321  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.321  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.321  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.321  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e9d80
12-06 12:07:41.321  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.321  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.328  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:07:41.328  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:07:41.328  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:07:41.332  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.333  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:07:41.334  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:07:41.334  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:07:41.337  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:07:41.337  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:07:41.337  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.337  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:07:41.337  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:07:41.337  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:07:41.337  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.337  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.337  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.337  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.337  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.337  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.337  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.337  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.337  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:07:41.337  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:07:41.337  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:07:41.339  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:07:41.344  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:07:41.354  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:07:41.354  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.354  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:41.354  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.354  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:07:41.354  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.354  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.354  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.354  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.354  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.354  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.354  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.354  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:07:41.354  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:07:41.360  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:07:41.362  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:07:41.362  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.362  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.363  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9d80
12-06 12:07:41.363  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.363  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.364  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:07:41.364  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e9d80
12-06 12:07:41.364  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.364  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.364  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:07:41.365  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e9d80
12-06 12:07:41.365  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.365  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.365  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.365  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9d80
12-06 12:07:41.365  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.365  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.366  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:07:41.366  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9d80
12-06 12:07:41.366  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.366  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.366  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.367  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.367  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.368  3501 30241 D audio_hw_primary: out_dump(0xf16e9d80, 21)
12-06 12:07:41.369  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.369  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.376  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:07:41.376  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:07:41.376  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.376  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:07:41.376  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:07:41.376  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:07:41.376  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:07:41.376  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.376  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.376  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:07:41.376  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.376  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.376  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.376  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.376  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.376  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.376  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:07:41.376  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.376  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:07:41.376  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.376  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.377  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.377  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.377  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.377  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.377  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.377  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:07:41.377  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:07:41.378  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:07:41.378  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:07:41.378  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:07:41.386  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:07:41.386  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.386  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.388  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.394  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:07:41.394  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8180
12-06 12:07:41.395  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:07:41.395  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.395  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.395  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.395  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.395  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.395  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.395  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.395  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.395  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.395  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:07:41.395  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:07:41.396  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:07:41.400  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e8180), left:0.710396 right:0.710396 
12-06 12:07:41.404  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.404  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.405  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 24)
12-06 12:07:41.406  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.406  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.408  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:07:41.408  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.408  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.408  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:07:41.408  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:07:41.408  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:07:41.408  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.408  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.408  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.409  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.409  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.411  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 12:07:41.412  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.412  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.413  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:07:41.413  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:07:41.413  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.413  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:07:41.414  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:07:41.414  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.414  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:07:41.414  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.414  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.414  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.414  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.414  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.414  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.414  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.415  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.416  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:07:41.416  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.416  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.416  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 12:07:41.416  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.416  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:07:41.416  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:07:41.416  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:07:41.416  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.416  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.416  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.416  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8180
12-06 12:07:41.416  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.416  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.420  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:07:41.420  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:07:41.421  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:07:41.428  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.436  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:07:41.436  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:07:41.436  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:07:41.437  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:07:41.437  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:07:41.437  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.437  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:07:41.437  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:07:41.438  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:07:41.438  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.438  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.438  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.438  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.438  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.438  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.438  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.438  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.438  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8180, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:07:41.438  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:07:41.438  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8180: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:07:41.439  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:07:41.442  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8180) usecase: [2]PCM_HWSYNC
12-06 12:07:41.461  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:07:41.461  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.461  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:41.461  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.461  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:07:41.461  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.461  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.461  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.461  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.461  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.461  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.461  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.461  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:07:41.461  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:07:41.472  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:07:41.474  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9d80
12-06 12:07:41.474  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.475  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.475  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:07:41.475  3501 30241 I audio_hw_primary: get hwsync id
12-06 12:07:41.476  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e9d80
12-06 12:07:41.476  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.476  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.476  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:07:41.478  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e9d80
12-06 12:07:41.478  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.478  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.478  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.479  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9d80
12-06 12:07:41.479  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.479  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:41.479  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:07:41.481  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9d80
12-06 12:07:41.481  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:41.481  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:41.481  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:41.482  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:07:41.482  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.482  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.483  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.483  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.484  3501 30241 D audio_hw_primary: out_dump(0xf16e9d80, 21)
12-06 12:07:41.491  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.491  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.552  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:07:41.552  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:07:41.552  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:07:41.552  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:07:41.552  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.552  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:41.552  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:07:41.552  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:07:41.552  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.552  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:07:41.552  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.552  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.552  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.552  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.552  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.552  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.552  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:07:41.552  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.552  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:07:41.553  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.553  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.553  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.553  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.553  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.553  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.553  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.553  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:07:41.553  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:07:41.554  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:07:41.554  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:07:41.554  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:07:41.557  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.560  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:07:41.560  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:41.560  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.637  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:07:41.637  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8880
12-06 12:07:41.640  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:07:41.640  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.640  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.640  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.640  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:07:41.640  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.640  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.640  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.640  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.640  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.640  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:07:41.640  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:07:41.641  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:07:41.647  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e8880), left:0.710396 right:0.710396 
12-06 12:07:41.651  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.651  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.658  3501  2209 D audio_hw_primary: out_dump(0xf16e8180, 24)
12-06 12:07:41.660  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.661  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.663  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:07:41.663  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.663  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.663  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:07:41.664  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8180)
12-06 12:07:41.664  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8180) usecase: [2]PCM_HWSYNC
12-06 12:07:41.664  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.664  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.664  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.665  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.665  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.667  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 12:07:41.671  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:07:41.671  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.674  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:07:41.674  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:07:41.674  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.674  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:07:41.674  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:07:41.674  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:41.674  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:07:41.674  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.674  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.674  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:41.674  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.674  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.675  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.675  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:07:41.675  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:41.677  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:41.678  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:07:41.678  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:07:41.678  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:07:41.678  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:07:41.678  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:41.678  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:07:41.679  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:07:41.679  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:07:41.679  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:07:41.679  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:41.679  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:41.679  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8880
12-06 12:07:41.679  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:41.679  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:41.854  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:07:41.854  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:07:41.854  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:41.854  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:07:41.854  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:41.854  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:41.854  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:41.854  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:41.854  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:41.854  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:41.854  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:41.855  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:41.855  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:07:41.855  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:07:41.855  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:07:41.856  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:07:41.863  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:07:41.885  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:07:41.885  3501 30241 I audio_hw_primary: (0xf16e8880)set hw_sync_id 12345678,enable hw sync mode
12-06 12:07:41.885  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 12:07:41.893  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:07:51.131  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:07:51.131  3501 24515 I audio_hw_primary: (0xf16eb280)set hw_sync_id 12345678,enable hw sync mode
12-06 12:07:51.131  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 12:07:51.133  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:07:51.133  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:07:51.133  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:07:51.133  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:07:51.133  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:07:51.133  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:07:51.152  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:07:51.152  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:07:51.152  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:07:51.152  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:07:51.152  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:07:51.152  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:07:51.153  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:07:51.153  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:07:51.154  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:07:51.154  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:07:51.154  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:07:51.154  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:622352384
12-06 12:07:51.154  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:07:51.154  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:07:51.154  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:07:51.170  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:07:51.179  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:07:51.181  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16eb280, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:07:51.181  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:07:51.183  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:07:51.183  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:07:51.183  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:07:51.187  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:07:51.205  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:07:51.287  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:07:51.287  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:07:51.287  3501 30241 I audio_hw_primary: patch found mix->dev id 2843, patchset 0xee04b400
12-06 12:07:51.287  3501 30241 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:07:51.287  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:07:51.287  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:07:51.287  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:07:51.287  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:07:51.287  3501 30241 I audio_hw_primary: aml_audio_output_routing: switch from OUTPORT_HDMI to OUTPORT_SPEAKER
12-06 12:07:51.287  3501 30241 E audio_hw_primary: aml_audio_output_routing: active_outport = 2 unsupport
12-06 12:07:51.287  3501 30241 D audio_route: Apply path: speaker
12-06 12:07:51.287  3501 30241 E audio_route: unable to find path 'spdif'
12-06 12:07:51.287  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(0)
12-06 12:07:51.288  3501  6534 D audio-subMixingFactory: [mixer_aux_buffer_write_sm:1153] stream:0xf16e7000, switch from device:0x2 to device:0x400
12-06 12:07:51.288  3501  6534 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:07:51.288  3501  6534 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:07:51.288  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:07:51.288  3501  6534 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:07:51.288  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 12:07:51.289  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 12:07:51.289  3501  6534 I audio-subMixingFactory: WD1 threshold=20
12-06 12:07:51.289  3501  6534 W amlaudioMixer: mixer_get_presentation_position(), port not ready now
12-06 12:07:51.289  3501  6534 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
12-06 12:07:51.289  3501  6534 I audio-subMixingFactory: WD1 threshold=19
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:07:51.290  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:07:51.290  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:07:51.290  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:07:51.290  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:622356480
12-06 12:07:51.290  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:07:51.290  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:07:51.290  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:07:51.321  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:07:51.321  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:07:51.323  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:07:51.344  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:07:51.377  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:07:51.377  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:07:51.377  3501 30241 I audio_hw_primary: patch found mix->dev id 2844, patchset 0xf11aec00
12-06 12:07:51.377  3501 30241 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:07:51.377  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:07:51.377  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:07:51.377  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:07:51.377  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:07:51.377  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_SPEAKER already exists, do nothing
12-06 12:07:51.377  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(0)
12-06 12:07:51.386  3501  6534 E audio-subMixingFactory: WD1 reset!
12-06 12:07:51.397  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:07:51.397  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:07:51.397  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:07:51.397  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:07:51.397  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:51.398  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:51.398  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:51.398  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:07:51.398  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:51.398  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:51.398  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:51.398  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:51.398  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:51.398  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:51.398  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:51.398  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:07:51.398  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:07:51.407  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:07:51.410  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16eab80
12-06 12:07:51.410  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:51.411  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:07:51.411  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:07:51.412  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16eab80
12-06 12:07:51.412  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:51.412  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:51.412  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:07:51.414  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16eab80
12-06 12:07:51.415  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:51.415  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:51.415  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:51.417  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16eab80
12-06 12:07:51.417  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:51.417  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:07:51.417  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:07:51.420  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16eab80
12-06 12:07:51.420  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:07:51.420  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:07:51.420  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:07:51.439  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x2)
12-06 12:07:51.439  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:51.439  3501 30241 I audio_hw_primary: out_standby_direct(0xf16eab80),out 0xf16eab80
12-06 12:07:51.439  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:51.439  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:51.444  3501 30241 D audio_hw_primary: out_dump(0xf16eab80, 21)
12-06 12:07:51.445  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x2)
12-06 12:07:51.445  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:07:51.480  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:07:51.480  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:07:51.480  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:07:51.480  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:07:51.480  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:07:51.480  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:51.480  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:07:51.480  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:07:51.480  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:07:51.480  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:07:51.480  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:07:51.480  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:07:51.480  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:07:51.480  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:07:51.480  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:07:51.480  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:07:51.481  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:07:51.481  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:51.481  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:07:51.481  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:51.481  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:51.481  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:07:51.482  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:51.482  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:51.482  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:51.482  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:51.482  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:07:51.482  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:07:51.489  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:07:51.498  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:07:51.498  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:07:51.498  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:07:51.524  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e8500),out 0xf16e8500
12-06 12:07:51.524  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:07:51.524  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:07:51.565  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:07:51.565  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16ea480
12-06 12:07:51.566  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:07:51.566  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:07:51.566  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:07:51.566  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:07:51.566  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:07:51.566  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:07:51.566  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:07:51.566  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:07:51.566  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:07:51.566  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:07:51.566  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16ea480, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:07:51.566  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:07:51.568  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:07:51.574  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16eb280), left:0.822243 right:0.822243 
12-06 12:07:51.578  3501 30622 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:07:51.578  3501 30622 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:07:51.578  3501 30622 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x1, add out usecase:[2]PCM_HWSYNC
12-06 12:07:51.578  3501 30622 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:07:51.578  3501 30622 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:07:51.578  3501 30622 D audio-subMixingFactory: [mixer_main_buffer_write_sm:1098] stream:0xf16eb280, switch from device:0x2 to device:0x400
12-06 12:07:51.578  3501 30622 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16eb280
12-06 12:07:51.578  3501 30622 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:07:51.578  3501 30622 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:07:51.578  3501 30622 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:07:51.578  3501 30622 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:07:51.578  3501 30622 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:07:51.581  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16ea480), left:0.710396 right:0.710396 
12-06 12:07:51.602  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:07:51.602  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:07:51.602  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:08:01.532  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 12:08:01.532  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 12:08:01.532  3501 30241 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 12:08:01.532  3501 30241 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 12:08:01.532  3501 30241 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 12:08:01.537  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 12:08:01.538  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:01.538  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:01.538  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:08:01.538  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [0]PCM_NORMAL
12-06 12:08:01.538  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 12:08:01.538  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:08:01.538  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:01.538  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:01.538  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:01.538  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 12:08:01.538  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 12:08:01.781  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:08:01.781  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:08:01.781  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:08:01.781  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:08:11.070  3501 30241 I audio_hw_primary: get hwsync id
12-06 12:08:12.088  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:08:12.088  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:12.088  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:12.088  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:08:12.088  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:12.088  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:12.089  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:12.089  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:12.089  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:08:12.089  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:12.089  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:12.089  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:12.089  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:12.089  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:12.089  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:12.092  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:12.094  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 12:08:12.116  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:08:12.116  3501 30241 I audio_hw_primary: (0xf16e8500)set hw_sync_id 12345678,enable hw sync mode
12-06 12:08:12.116  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 12:08:12.123  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:08:12.123  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:08:12.123  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:08:12.123  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:08:12.123  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:08:12.123  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:08:12.135  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8500, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:08:12.135  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:08:12.220  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e8500), left:0.828896 right:0.828896 
12-06 12:08:12.224  3501 31030 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:08:12.224  3501 31030 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:08:12.224  3501 31030 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:08:12.224  3501 31030 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:08:12.224  3501 31030 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:08:12.224  3501 31030 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e8500
12-06 12:08:12.224  3501 31030 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:08:12.224  3501 31030 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:08:12.224  3501 31030 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:08:12.224  3501 31030 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:08:12.224  3501 31030 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:08:12.225  3501 31030 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:08:12.225  3501 31030 I audio-subMixingFactory: consume_meta_data(), resize frame_size 6144
12-06 12:08:12.225  3501 31030 I amlaudioMixer: set_mixer_hwsync_frame_size framesize 6144
12-06 12:08:12.225  3501 31030 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:08:12.233  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3150, latency 7290, last position 0
12-06 12:08:12.233  3501  3807 I audio_hwsync_cbks: pts32 = 35 latency=7290
12-06 12:08:12.241  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3870, latency 7290, last position 0
12-06 12:08:12.241  3501  3807 I audio_hwsync_cbks: pts32 = 43 latency=7290
12-06 12:08:12.249  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4590, latency 7290, last position 0
12-06 12:08:12.249  3501  3807 I audio_hwsync_cbks: pts32 = 51 latency=7290
12-06 12:08:12.257  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5310, latency 7290, last position 384
12-06 12:08:12.257  3501  3807 I audio_hwsync_cbks: pts32 = 59 latency=7290
12-06 12:08:12.265  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6030, latency 7290, last position 384
12-06 12:08:12.265  3501  3807 I audio_hwsync_cbks: pts32 = 67 latency=7290
12-06 12:08:12.273  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6750, latency 7290, last position 384
12-06 12:08:12.273  3501  3807 I audio_hwsync_cbks: pts32 = 75 latency=7290
12-06 12:08:12.281  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7470, latency 7290, last position 1408
12-06 12:08:12.281  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0xb4
12-06 12:08:13.211  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8500, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:08:13.211  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:08:13.211  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8500, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:08:13.212  3501 30241 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:08:13.216  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2851)
12-06 12:08:13.216  3501 24515 I audio_hw_primary: patch set found id 2851, patchset 0xefd24800
12-06 12:08:13.216  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:08:13.216  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:08:13.216  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:08:13.217  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:08:13.217  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:08:13.217  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:08:13.217  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:08:13.217  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:08:13.217  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:08:13.217  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:08:13.217  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:08:13.218  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 12:08:13.218  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:08:13.218  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:08:13.218  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:08:13.218  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:08:13.227  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:13.227  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:13.229  3501 30241 D audio_hw_primary: out_dump(0xf16e8500, 23)
12-06 12:08:13.232  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:13.232  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:13.234  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:08:13.234  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:13.234  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:13.234  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:08:13.234  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:08:13.234  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:08:13.234  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:08:13.234  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 12:08:13.234  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:13.234  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:13.234  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:15.818  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:08:15.818  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:08:15.818  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 12:08:15.920  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:08:15.920  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:08:15.920  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 12:08:15.927  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:08:15.927  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:08:15.927  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 12:08:16.818  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:08:16.818  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:08:16.818  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:08:16.820  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2850)
12-06 12:08:16.820  3501 30241 I audio_hw_primary: patch set found id 2850, patchset 0xf11aec00
12-06 12:08:16.820  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:08:16.820  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:08:16.820  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:08:16.820  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:08:16.871  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:08:16.871  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:08:16.871  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:08:16.873  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:08:16.874  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:16.874  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:16.874  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:08:16.874  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:08:16.874  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:08:16.874  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:16.874  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:16.874  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:16.874  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:16.874  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:16.874  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:16.874  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:16.874  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:16.874  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eab80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:16.874  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:16.874  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:16.884  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:08:16.897  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:08:16.912  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:08:16.912  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:16.912  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:16.912  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:16.912  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:08:16.912  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:16.912  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:16.912  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:16.912  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:16.912  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:16.912  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:16.912  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:16.912  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:08:16.912  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eaf00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:08:16.928  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:08:16.930  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16eaf00
12-06 12:08:16.930  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:16.930  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:16.930  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:08:16.931  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16eaf00
12-06 12:08:16.931  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:16.931  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:16.931  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:08:16.931  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16eaf00
12-06 12:08:16.931  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:16.932  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:08:16.932  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:16.932  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16eaf00
12-06 12:08:16.932  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:16.933  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:16.933  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:08:16.933  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16eaf00
12-06 12:08:16.933  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:16.933  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:08:16.933  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:16.940  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:16.940  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:16.940  3501 30241 I audio_hw_primary: out_standby_direct(0xf16eaf00),out 0xf16eaf00
12-06 12:08:16.940  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:16.940  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:16.941  3501 30241 D audio_hw_primary: out_dump(0xf16eaf00, 21)
12-06 12:08:16.942  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:16.942  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:16.955  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:08:16.955  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eaf00)
12-06 12:08:16.955  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:08:16.955  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:08:16.955  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:08:16.955  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:16.955  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:08:16.955  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:16.955  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:08:16.955  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:16.955  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:16.955  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:16.955  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:16.955  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:08:16.955  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:08:16.955  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:16.955  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:16.955  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:16.956  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:08:16.956  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:16.956  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:16.956  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:08:16.956  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:16.956  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:16.956  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:16.956  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:16.956  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:08:16.956  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:08:16.957  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:08:16.957  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:08:16.957  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:08:16.961  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:16.975  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:08:16.975  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:16.975  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:17.004  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:08:17.004  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8500
12-06 12:08:17.005  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:08:17.005  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:17.005  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:17.005  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:17.005  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:17.005  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:17.005  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:17.005  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:17.005  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:17.005  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:17.005  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:08:17.005  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:08:17.007  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:17.016  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e8500), left:0.710396 right:0.710396 
12-06 12:08:17.030  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.030  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.035  3501 24515 D audio_hw_primary: out_dump(0xf16eab80, 24)
12-06 12:08:17.040  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:17.040  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.043  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:08:17.043  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:17.043  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:17.043  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:08:17.043  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:08:17.043  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:08:17.043  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.043  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.043  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.049  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.049  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.050  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 12:08:17.057  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:17.057  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.061  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:08:17.061  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:08:17.061  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:08:17.061  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:08:17.061  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:08:17.061  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:17.061  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:08:17.061  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:17.061  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:08:17.061  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:17.061  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.061  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.061  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.061  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.063  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.072  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:17.073  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:08:17.073  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:17.073  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:17.073  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:08:17.074  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:08:17.074  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:08:17.075  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:08:17.075  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:08:17.075  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:17.075  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:08:17.075  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.075  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8500
12-06 12:08:17.075  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.075  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.091  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:08:17.092  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:08:17.092  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:08:17.108  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:08:17.108  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:08:17.108  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:08:17.109  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:08:17.109  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:17.110  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:17.110  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:08:17.110  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:08:17.110  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:08:17.110  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:17.110  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:17.111  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:17.111  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:17.111  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:17.111  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:17.111  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:17.111  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:17.111  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eab80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:17.111  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:17.111  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:17.131  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:08:17.144  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:08:17.175  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:08:17.175  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:17.175  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:17.175  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:17.175  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:08:17.175  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:17.175  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:17.176  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:17.176  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:17.176  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:17.176  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:17.176  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:17.176  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:08:17.176  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:08:17.199  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:08:17.201  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16ea480
12-06 12:08:17.201  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:17.201  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:17.201  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:08:17.203  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16ea480
12-06 12:08:17.203  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:17.203  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:17.203  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:08:17.206  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16ea480
12-06 12:08:17.206  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:17.206  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:08:17.207  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:17.210  3501 24515 I audio_hw_primary: out_standby_direct(0xf16ea480),out 0xf16ea480
12-06 12:08:17.210  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:17.210  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:17.211  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16ea480
12-06 12:08:17.211  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:17.211  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:17.211  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:08:17.212  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16ea480
12-06 12:08:17.212  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:17.212  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:08:17.213  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:17.214  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.214  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.215  3501  2209 D audio_hw_primary: out_dump(0xf16ea480, 21)
12-06 12:08:17.221  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:17.221  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.230  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:08:17.230  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:08:17.230  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:17.230  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:08:17.230  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:08:17.230  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:08:17.230  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:08:17.230  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:08:17.230  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:08:17.230  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:17.230  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:17.230  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:08:17.230  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:08:17.230  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:17.230  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:08:17.230  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:17.230  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:17.230  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:17.230  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.230  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.230  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.230  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:08:17.230  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:17.230  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:17.230  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:17.230  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:17.230  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:08:17.230  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:08:17.234  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:08:17.234  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:08:17.234  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:08:17.240  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:17.248  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e8500),out 0xf16e8500
12-06 12:08:17.248  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:17.248  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:17.262  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:08:17.262  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 12:08:17.263  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:08:17.263  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:17.263  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:17.263  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:17.263  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:08:17.263  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:17.263  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:17.263  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:17.263  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:17.263  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:17.263  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:08:17.263  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:08:17.267  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:17.276  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.710396 right:0.710396 
12-06 12:08:17.300  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.300  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.303  3501  2209 D audio_hw_primary: out_dump(0xf16eab80, 24)
12-06 12:08:17.311  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:17.311  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.313  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:08:17.313  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:17.313  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:17.313  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:08:17.313  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:08:17.313  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:08:17.313  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.313  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.313  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.315  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.315  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.319  3501  2209 D audio_hw_primary: out_dump(0xf16e8500, 19)
12-06 12:08:17.321  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:17.321  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.324  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:08:17.324  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:08:17.324  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:08:17.324  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:08:17.324  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:08:17.324  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:17.324  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:08:17.324  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:17.324  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:08:17.324  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:17.324  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.324  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.324  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.324  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.324  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.332  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:08:17.332  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:17.332  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:17.332  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:08:17.332  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:08:17.332  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:08:17.336  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:17.339  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:08:17.339  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:08:17.339  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:17.339  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:08:17.339  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.339  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 12:08:17.339  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.339  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:17.370  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:08:17.370  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:08:17.370  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:08:17.370  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:08:17.370  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:08:17.370  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:08:17.381  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:08:17.381  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:08:17.381  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:08:17.381  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:08:17.381  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:08:17.381  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:08:17.381  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:08:17.381  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:622454784
12-06 12:08:17.381  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:08:17.382  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:08:17.382  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:08:17.382  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:08:17.382  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:08:17.382  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:08:17.382  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:08:17.393  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:08:17.401  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:08:17.410  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:08:17.421  3501 30241 I audio_hw_primary: get hwsync id
12-06 12:08:17.426  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:08:17.814  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:08:17.814  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:17.814  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:17.814  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:08:17.814  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:17.814  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:17.815  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:17.815  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:17.815  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:17.815  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:17.815  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:17.815  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:17.815  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eaf00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:17.815  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:17.815  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eaf00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:17.819  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:17.823  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eaf00) usecase: [2]PCM_HWSYNC
12-06 12:08:17.860  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:08:17.860  3501 24515 I audio_hw_primary: (0xf16eaf00)set hw_sync_id 12345678,enable hw sync mode
12-06 12:08:17.860  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 12:08:17.875  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:08:17.875  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:08:17.875  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:08:17.875  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:08:17.875  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:08:17.875  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:08:17.887  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16eaf00, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:08:17.887  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:08:17.948  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2853)
12-06 12:08:17.948  3501 30241 I audio_hw_primary: patch set found id 2853, patchset 0xefd24800
12-06 12:08:17.948  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:08:17.948  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:08:17.948  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:08:17.948  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:08:17.952  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:17.952  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.953  3501 24515 D audio_hw_primary: out_dump(0xf16eaf00, 20)
12-06 12:08:17.957  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:17.957  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:17.964  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:08:17.964  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:17.964  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:17.964  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:08:17.964  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:08:17.966  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:08:17.966  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eaf00)
12-06 12:08:17.966  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eaf00) usecase: [2]PCM_HWSYNC
12-06 12:08:17.966  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:17.966  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:17.966  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:18.266  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:08:18.266  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:08:18.266  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:08:18.297  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:08:18.297  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:08:18.297  3501 24515 I audio_hw_primary: patch found mix->dev id 2852, patchset 0xf11aec00
12-06 12:08:18.297  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:08:18.297  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:08:18.297  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:08:18.297  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:08:18.297  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:08:18.297  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:08:18.297  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:08:18.654  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:08:18.654  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:08:18.654  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:08:18.654  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:08:19.303  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:08:19.303  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:08:19.303  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:08:19.307  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2854)
12-06 12:08:19.307  3501 30241 I audio_hw_primary: patch set found id 2854, patchset 0xee03a400
12-06 12:08:19.307  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:08:19.307  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:08:19.307  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:08:19.307  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:08:19.332  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:08:19.332  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:08:19.332  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:08:19.334  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:08:19.334  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:19.334  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:19.334  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:08:19.334  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:08:19.335  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:08:19.335  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:19.335  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:19.335  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:19.335  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:19.335  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:08:19.335  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:19.335  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:19.335  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:19.335  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eaf00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:19.335  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:19.335  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eaf00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:19.337  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:08:19.344  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eaf00) usecase: [2]PCM_HWSYNC
12-06 12:08:19.359  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:08:19.359  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:19.359  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:19.359  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:19.359  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:08:19.359  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:19.359  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:19.359  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:19.360  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:19.360  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:08:19.360  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:19.360  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:19.360  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:08:19.360  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:08:19.369  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:08:19.371  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16ea480
12-06 12:08:19.371  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:19.371  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:08:19.371  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:08:19.372  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16ea480
12-06 12:08:19.372  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:19.372  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:19.372  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:08:19.372  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16ea480
12-06 12:08:19.373  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:19.373  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:08:19.373  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:19.375  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:19.375  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.376  3501 24515 I audio_hw_primary: out_standby_direct(0xf16ea480),out 0xf16ea480
12-06 12:08:19.376  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:19.376  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:19.377  3501 24515 D audio_hw_primary: out_dump(0xf16ea480, 21)
12-06 12:08:19.378  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:19.378  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.385  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:08:19.385  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:08:19.385  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:08:19.385  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:08:19.385  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:08:19.385  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:19.385  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:08:19.385  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:19.385  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:08:19.385  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:19.385  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:19.385  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:08:19.385  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:19.385  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:19.385  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:08:19.385  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:19.386  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:19.386  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:19.386  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:08:19.386  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:19.386  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:19.386  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:08:19.387  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:19.387  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:08:19.387  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:19.387  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:19.387  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:08:19.387  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:08:19.388  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:08:19.388  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:08:19.388  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:08:19.392  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 12:08:19.392  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:19.392  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:19.404  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:19.419  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:08:19.419  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7380
12-06 12:08:19.420  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:08:19.420  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:19.420  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:19.420  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:19.420  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:08:19.420  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:19.420  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:08:19.420  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:19.420  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:19.420  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:19.420  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:08:19.420  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:08:19.424  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:19.428  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e7380), left:0.710396 right:0.710396 
12-06 12:08:19.435  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:19.435  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.436  3501 10201 D audio_hw_primary: out_dump(0xf16eaf00, 24)
12-06 12:08:19.438  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:19.438  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.439  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:08:19.439  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:19.439  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:19.439  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:08:19.439  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eaf00)
12-06 12:08:19.439  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eaf00) usecase: [2]PCM_HWSYNC
12-06 12:08:19.439  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:19.439  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:19.439  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:19.441  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:19.441  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.442  3501 24515 D audio_hw_primary: out_dump(0xf16e9680, 19)
12-06 12:08:19.443  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:19.443  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.444  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:08:19.444  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:08:19.444  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:08:19.444  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:08:19.444  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:08:19.444  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:19.445  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:08:19.445  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:19.445  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:08:19.445  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:19.445  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:19.445  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:19.445  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:19.446  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:19.446  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:19.456  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:19.457  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:08:19.457  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:19.457  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:19.457  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:08:19.457  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:08:19.457  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:08:19.460  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:08:19.460  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:08:19.460  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:19.460  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:08:19.460  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:19.460  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7380
12-06 12:08:19.460  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:19.460  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:53.368  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:08:53.368  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:08:53.368  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:08:53.368  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:08:55.413  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:08:55.413  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:08:55.413  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:08:55.415  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2855)
12-06 12:08:55.415  3501 24515 I audio_hw_primary: patch set found id 2855, patchset 0xf11aec00
12-06 12:08:55.415  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:08:55.415  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:08:55.415  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:08:55.415  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:08:55.443  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:08:55.443  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:08:55.619  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:08:55.619  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:08:55.619  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:08:55.620  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:08:55.620  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:55.620  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:55.620  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:08:55.620  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:08:55.620  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:08:55.620  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:55.621  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:55.621  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:55.621  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:55.621  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:55.621  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:55.621  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:55.621  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:55.621  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:55.621  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:55.621  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:55.624  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:08:55.635  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9680) usecase: [2]PCM_HWSYNC
12-06 12:08:55.653  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:08:55.654  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:55.654  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:55.654  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:55.654  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:08:55.654  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:55.654  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:55.654  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:55.654  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:55.654  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:55.654  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:55.654  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:55.654  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:08:55.655  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:08:55.662  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:08:55.665  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7700
12-06 12:08:55.665  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:55.665  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:55.665  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:08:55.666  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7700
12-06 12:08:55.666  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:55.666  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:55.666  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:08:55.667  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7700
12-06 12:08:55.667  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:55.667  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:08:55.668  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:55.668  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7700
12-06 12:08:55.668  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:55.668  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:08:55.669  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:08:55.669  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7700
12-06 12:08:55.669  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:08:55.669  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:08:55.669  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:08:55.672  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 12:08:55.672  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:55.672  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:55.674  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:55.674  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.676  3501 30241 D audio_hw_primary: out_dump(0xf16e7700, 21)
12-06 12:08:55.678  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:55.678  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.685  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:08:55.685  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:08:55.685  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:08:55.685  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:08:55.685  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:08:55.685  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:55.685  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:08:55.685  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:55.685  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:08:55.685  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:55.685  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:55.685  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:55.685  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:55.686  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:08:55.686  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:08:55.686  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:08:55.686  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:08:55.686  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:55.686  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:08:55.686  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:55.686  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:55.687  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:55.687  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:55.687  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:55.687  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:55.687  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:55.687  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:08:55.687  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:08:55.687  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:08:55.688  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:08:55.688  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:08:55.696  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:55.697  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 12:08:55.698  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:08:55.701  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:55.735  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:08:55.735  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8880
12-06 12:08:55.735  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:08:55.736  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:55.736  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:55.736  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:55.736  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:55.736  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:55.736  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:55.736  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:55.736  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:55.736  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:55.736  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:08:55.736  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:08:55.737  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:55.744  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e8880), left:0.710396 right:0.710396 
12-06 12:08:55.756  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:55.756  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.758  3501 30241 D audio_hw_primary: out_dump(0xf16e9680, 24)
12-06 12:08:55.768  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:55.768  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.771  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:08:55.771  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:55.771  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:55.773  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:55.773  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:08:55.773  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:08:55.773  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.773  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9680) usecase: [2]PCM_HWSYNC
12-06 12:08:55.773  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:55.773  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:55.773  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:55.774  3501 30241 D audio_hw_primary: out_dump(0xf16e7700, 19)
12-06 12:08:55.783  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:08:55.783  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.785  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:08:55.785  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:08:55.785  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:08:55.785  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:08:55.785  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:08:55.785  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:08:55.785  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:08:55.785  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:55.785  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:08:55.785  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:08:55.785  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:55.785  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:55.785  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:55.785  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:08:55.785  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:08:55.788  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:08:55.788  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:08:55.788  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:08:55.788  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:08:55.788  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:08:55.788  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:08:55.788  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:08:55.788  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:08:55.788  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:08:55.788  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:08:55.788  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:08:55.788  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8880
12-06 12:08:55.788  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:08:55.789  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:08:55.800  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:08:55.942  3501 30241 I audio_hw_primary: get hwsync id
12-06 12:08:56.243  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:08:56.244  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:08:56.244  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:08:56.244  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:08:56.244  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:08:56.244  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:08:56.244  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:08:56.244  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:08:56.244  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:08:56.244  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:08:56.244  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:08:56.244  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:08:56.244  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:08:56.244  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:08:56.244  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:08:56.245  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:08:56.251  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:08:56.273  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:08:56.274  3501 30241 I audio_hw_primary: (0xf16e8880)set hw_sync_id 12345678,enable hw sync mode
12-06 12:08:56.274  3501 30241 I audio_hw_primary: init hal mixer when hwsync
12-06 12:08:56.283  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:08:56.283  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:08:56.283  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:08:56.283  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:08:56.283  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:08:56.283  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:08:56.288  3501 30241 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8880, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:08:56.288  3501 30241 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:08:56.543  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e8880), left:0.828896 right:0.828896 
12-06 12:08:56.545  3501 31750 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:08:56.545  3501 31750 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:08:56.546  3501 31750 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:08:56.546  3501 31750 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:08:56.546  3501 31750 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:08:56.546  3501 31750 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e8880
12-06 12:08:56.546  3501 31750 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:08:56.546  3501 31750 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:08:56.546  3501 31750 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:08:56.546  3501 31750 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:08:56.546  3501 31750 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:08:56.648  3501 31750 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:08:56.649  3501 31750 I audio-subMixingFactory: consume_meta_data(), resize frame_size 4096
12-06 12:08:56.649  3501 31750 I amlaudioMixer: set_mixer_hwsync_frame_size framesize 4096
12-06 12:08:56.649  3501 31750 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:08:56.657  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2250, latency 7290, last position 0
12-06 12:08:56.657  3501  3807 I audio_hwsync_cbks: pts32 = 25 latency=7290
12-06 12:08:56.665  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2970, latency 7290, last position 0
12-06 12:08:56.665  3501  3807 I audio_hwsync_cbks: pts32 = 33 latency=7290
12-06 12:08:56.673  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3780, latency 7290, last position 0
12-06 12:08:56.673  3501  3807 I audio_hwsync_cbks: pts32 = 42 latency=7290
12-06 12:08:56.681  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4500, latency 7290, last position 0
12-06 12:08:56.681  3501  3807 I audio_hwsync_cbks: pts32 = 50 latency=7290
12-06 12:08:56.689  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5220, latency 7290, last position 0
12-06 12:08:56.689  3501  3807 I audio_hwsync_cbks: pts32 = 58 latency=7290
12-06 12:08:56.697  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5940, latency 7290, last position 896
12-06 12:08:56.697  3501  3807 I audio_hwsync_cbks: pts32 = 66 latency=7290
12-06 12:08:56.705  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6660, latency 7290, last position 896
12-06 12:08:56.705  3501  3807 I audio_hwsync_cbks: pts32 = 74 latency=7290
12-06 12:08:56.713  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7290, latency 7290, last position 1920
12-06 12:08:56.713  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x0
12-06 12:08:56.721  3501  3807 I audio_hwsync_cbks: pcr is reset by video
12-06 12:09:02.753  3501  3807 I audio_hwsync_cbks: on_meta_data_cbk(), pcrscr 6006ms adjusted_apts 6041ms
12-06 12:09:02.753  3501  3807 I audio_hwsync_cbks: audio gap: pcr < apts 35 ms, need insert data 6720
12-06 12:09:02.753  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 5184, inserted length 1536
12-06 12:09:02.753  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:09:02.761  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 3648, inserted length 1536
12-06 12:09:02.761  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:09:02.769  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 2112, inserted length 1536
12-06 12:09:02.769  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:09:02.777  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 576, inserted length 1536
12-06 12:09:02.777  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:09:02.785  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:09:02.888  3501 30241 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:09:02.888  3501 30241 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:09:02.888  3501 30241 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:09:02.888  3501 30241 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef28eb48
12-06 12:09:02.888  3501 30241 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:09:02.888  3501 30241 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:09:02.898  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:09:02.898  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:09:02.898  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:09:02.898  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:622651392
12-06 12:09:02.898  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:09:02.898  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:09:02.898  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:09:02.913  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:09:02.921  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:09:02.929  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:09:02.930  3501 31750 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:09:02.930  3501 31750 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:09:02.930  3501 31750 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:09:02.946  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:09:11.799  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:09:11.799  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:09:11.799  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:09:11.799  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:09:11.799  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:09:11.799  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:09:11.808  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:09:11.808  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:09:11.808  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:09:11.808  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:622790656
12-06 12:09:11.808  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:09:11.808  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:09:11.808  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:09:11.818  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:09:11.826  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:09:11.834  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:09:11.850  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:09:14.951  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:09:14.951  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:09:14.951  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:09:14.951  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:09:21.451  3501 24515 I audio_hw_primary: get hwsync id
12-06 12:09:42.214  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:09:42.215  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:09:42.215  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:09:51.117  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:09:51.119  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:09:51.119  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:09:51.119  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:09:51.119  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:09:51.119  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:09:51.120  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:09:51.121  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:09:51.121  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:09:51.121  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:09:51.121  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:09:51.121  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:09:51.122  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:09:51.122  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:09:51.122  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:09:51.124  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:09:51.131  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9680) usecase: [2]PCM_HWSYNC
12-06 12:09:51.179  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:09:51.179  3501 10201 I audio_hw_primary: (0xf16e9680)set hw_sync_id 12345678,enable hw sync mode
12-06 12:09:51.179  3501 10201 I audio_hw_primary: init hal mixer when hwsync
12-06 12:09:51.193  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:09:51.193  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:09:51.193  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:09:51.193  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 12:09:51.193  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:09:51.193  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:09:51.201  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e9680, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:09:51.201  3501 10201 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:09:54.173  3501 10201 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(6)
12-06 12:09:54.173  3501 10201 D audio_hw_primary: check_input_parameters(sample_rate=16000, format=1, channel_count=1, devices = 80000004)
12-06 12:09:54.173  3501 10201 D audio_hw_primary: adev_open_input_stream: in->requested_rate = 16000, in->config.rate = 48000
12-06 12:09:54.173  3501 10201 D audio_hw_primary: adev_open_input_stream: exit
12-06 12:09:54.178  3501 24515 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 12:09:54.178  3501 24515 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 12:09:54.178  3501 24515 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 12:09:54.179  3501 10201 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 12:09:54.179  3501 10201 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 12:09:54.179  3501 10201 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 12:09:54.187  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf1130b40)
12-06 12:09:54.187  3501 24515 D audio_hw_primary: do_input_standby(0xf1130b40) in->standby = 1
12-06 12:09:54.187  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:09:54.189  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf1130b40)
12-06 12:09:54.189  3501 24515 D audio_hw_primary: do_input_standby(0xf1130b40) in->standby = 1
12-06 12:09:54.189  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:09:54.201  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:09:54.201  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=2,aml_dev->patch_src=10
12-06 12:09:54.201  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:09:54.201  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:09:54.201  3501 24515 I audio_hw_primary: adev_create_audio_patch: device->mix patch: inport(INPORT_BUILTIN_MIC)
12-06 12:09:54.225  3501 32625 D AudioALSADeviceParser: auge sound card, pAdd=0xf165a140 fix alsaPORT:0 to :1
12-06 12:09:54.225  3501 32625 D audio_hw_primary: *start_input_stream, open alsa_card(0 0) alsa_device(1), in_device:0x4
12-06 12:09:54.296  3501 32625 D audio_hw_primary: pcm_open in: card(0), port(0)
12-06 12:09:54.296  3501 32625 D audio_hw_primary: add_in_stream_resampler: in->requested_rate = 16000, in->config.rate = 48000
12-06 12:09:54.296  3501 32625 D audio_hw_primary: start_input_stream: device(4) channels=1 rate=48000 requested_rate=16000 mode= 0
12-06 12:09:55.093  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:09:55.093  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:09:55.093  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:09:55.093  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:09:55.105  3501 32585 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:09:55.105  3501 32585 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:09:55.105  3501 32585 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:09:57.050  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:09:57.050  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:09:57.050  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:09:57.050  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:623335424
12-06 12:09:57.050  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:09:57.050  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:09:57.050  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:09:57.057  3501 32585 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:09:57.057  3501 32585 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:09:57.058  3501 32585 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:09:57.062  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:09:57.071  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:09:57.077  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:09:57.095  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:09:59.472  3501 10201 D audio_hw_primary: adev_close_input_stream: enter: dev(0xf1675240) stream(0xf1130b40)
12-06 12:09:59.472  3501 10201 D audio_hw_primary: in_standby: enter: stream(0xf1130b40)
12-06 12:09:59.472  3501 10201 D audio_hw_primary: do_input_standby(0xf1130b40) in->standby = 1
12-06 12:09:59.472  3501 10201 D audio_hw_primary: in_standby: exit
12-06 12:09:59.472  3501 10201 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 12:09:59.472  3501 10201 D audio_hw_primary: adev_close_input_stream: exit
12-06 12:10:08.134  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:10:08.134  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:10:08.134  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:10:08.134  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:10:11.457  3501 24515 I audio_hw_primary: get hwsync id
12-06 12:10:13.894  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:10:13.894  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:10:13.894  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:10:14.030  3501 24515 D audio_hw_primary: adev_open: enter
12-06 12:10:14.030  3501 24515 I audio_hw_primary: adev exsits ,reuse
12-06 12:10:14.030  3501 24515 I audio_hw_primary: *adev_open, device:0xf1675240, debug_flag=0, adev->count=5
12-06 12:10:14.030  3501 24515 D audio_hw_primary: adev_open: exit, error
12-06 12:10:14.031  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x2)
12-06 12:10:14.032  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:10:14.032  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:14.032  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:14.032  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:14.032  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:14.032  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:14.032  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:10:14.032  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:14.032  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:14.032  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:14.032  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x2, hwsync lpcm 0, out format 0x1
12-06 12:10:14.032  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), primary presentation
12-06 12:10:14.032  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[0]PCM_NORMAL card:0 alsa devices:0
12-06 12:10:14.033  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=on)
12-06 12:10:14.033  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=on)
12-06 12:10:14.033  3501 10201 I audio_hw_primary: adev_set_parameters, ret=2, value=on
12-06 12:10:14.033  3501 10201 I audio_hw_primary: adev_set_parameters, value=on, adev->hal_audio_open_times=1
12-06 12:10:14.033  3501 10201 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 12:10:14.038  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:10:14.043  3501   538 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:10:14.043  3501   538 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:10:14.043  3501   538 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:10:14.043  3501   538 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:10:14.043  3501   538 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:10:14.043  3501   538 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:10:14.043  3501   538 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:10:14.043  3501   538 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:0
12-06 12:10:14.043  3501   538 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:10:14.043  3501   538 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e8880 input port:[0]PCM_SYSTEM
12-06 12:10:14.043  3501   538 I audio-subMixingFactory: padding_bytes 16384
12-06 12:10:14.044  3501   538 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:10:14.044  3501   538 I audio-subMixingFactory: padding_bytes 14336
12-06 12:10:14.044  3501   538 I audio-subMixingFactory: padding_bytes 12288
12-06 12:10:14.044  3501   538 I audio-subMixingFactory: padding_bytes 10240
12-06 12:10:14.053  3501   538 I audio-subMixingFactory: padding_bytes 8192
12-06 12:10:14.062  3501   538 I audio-subMixingFactory: padding_bytes 6144
12-06 12:10:14.070  3501   538 I audio-subMixingFactory: padding_bytes 4096
12-06 12:10:14.086  3501   538 I audio-subMixingFactory: padding_bytes 2048
12-06 12:10:28.799  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:10:28.799  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:10:28.799  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:10:28.799  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:10:29.685  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:10:29.685  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:10:29.685  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:10:29.789  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:10:29.789  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:10:29.789  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 12:10:29.800  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:10:29.800  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:10:29.800  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:10:31.295  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:31.314  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:10:38.226  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:10:39.186  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 12:10:39.189  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=70855706284 write=70824000000 diff=31706284
12-06 12:10:39.811  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:10:39.811  3501  2209 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:10:39.811  3501  2209 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:10:41.841  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 12:10:41.841  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 12:10:41.841  3501  2209 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 12:10:41.841  3501  2209 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 12:10:41.841  3501  2209 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 12:10:41.843  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 12:10:41.843  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:41.843  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:41.843  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eb280)
12-06 12:10:41.843  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eb280) usecase: [0]PCM_NORMAL
12-06 12:10:41.843  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 12:10:41.843  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:10:41.843  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:41.843  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:41.843  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:41.843  3501 30241 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 12:10:41.843  3501 30241 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 12:10:42.602  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:10:42.602  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:10:42.602  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:10:42.602  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:10:44.800  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:10:44.800  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:10:44.800  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:10:44.903  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:10:44.903  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:10:44.903  3501  2209 I audio_hw_primary: HDMI format: 0
12-06 12:10:44.912  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:10:44.912  3501  2209 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:10:44.912  3501  2209 I audio_hw_primary: HDMI format: 5
12-06 12:10:45.800  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:10:45.800  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:10:45.800  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:10:45.804  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2868)
12-06 12:10:45.804  3501  2209 I audio_hw_primary: patch set found id 2868, patchset 0xee038800
12-06 12:10:45.804  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:10:45.804  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:10:45.804  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:10:45.804  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:10:45.831  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:10:45.831  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:10:45.831  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:10:45.835  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:10:45.835  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:10:45.835  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:45.835  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:10:45.835  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:10:45.835  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:10:45.836  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:45.836  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:45.836  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:10:45.838  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:45.838  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:45.838  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:45.838  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:45.838  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:45.838  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eb280, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:10:45.838  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:10:45.838  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eb280: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:10:45.841  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:10:45.852  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eb280) usecase: [2]PCM_HWSYNC
12-06 12:10:45.859  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:10:45.859  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:45.859  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:45.859  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:45.859  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:10:45.859  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:45.859  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:45.859  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:45.859  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:45.859  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:45.859  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:45.859  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:45.859  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:10:45.859  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:10:45.871  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:10:45.873  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7e00
12-06 12:10:45.873  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:45.874  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:45.874  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:10:45.875  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7e00
12-06 12:10:45.875  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:45.875  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:45.875  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:10:45.875  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7e00
12-06 12:10:45.875  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:45.876  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:10:45.876  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:45.880  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7e00
12-06 12:10:45.880  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:45.880  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:45.880  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:10:45.880  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7e00
12-06 12:10:45.880  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:45.881  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:10:45.881  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:45.885  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:10:45.885  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:45.885  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:45.887  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:45.887  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.888  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 21)
12-06 12:10:45.891  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:45.891  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.897  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:10:45.897  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:10:45.897  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:10:45.897  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:10:45.897  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:10:45.897  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:45.897  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:10:45.897  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:45.897  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:10:45.897  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:10:45.897  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:45.897  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:45.897  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:45.899  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:10:45.899  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:10:45.899  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:45.899  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:45.899  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:45.899  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:10:45.899  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:45.899  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:45.899  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:10:45.900  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:45.900  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:45.900  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:45.900  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:45.900  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:10:45.900  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:10:45.903  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:10:45.903  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:10:45.903  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:10:45.907  3501 30241 I audio_hw_primary: out_standby_direct(0xf16ea480),out 0xf16ea480
12-06 12:10:45.907  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:45.907  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:45.908  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:10:45.942  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:10:45.942  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8880
12-06 12:10:45.942  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:10:45.942  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:45.942  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:45.942  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:45.943  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:10:45.943  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:45.943  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:45.943  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:45.943  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:45.943  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:45.943  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:10:45.943  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:10:45.944  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:10:45.947  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16e8880), left:0.710396 right:0.710396 
12-06 12:10:45.953  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:45.953  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.955  3501 30241 D audio_hw_primary: out_dump(0xf16eb280, 24)
12-06 12:10:45.959  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:45.959  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.961  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:10:45.961  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:45.961  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:45.961  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:10:45.961  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eb280)
12-06 12:10:45.961  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eb280) usecase: [2]PCM_HWSYNC
12-06 12:10:45.961  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:45.961  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:45.961  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:45.961  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:45.961  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.962  3501 30241 D audio_hw_primary: out_dump(0xf16ea480, 19)
12-06 12:10:45.964  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:45.964  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.966  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:10:45.966  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:10:45.966  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:10:45.966  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:10:45.966  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:10:45.966  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:45.966  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:10:45.966  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:45.966  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:10:45.966  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:10:45.966  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:45.966  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:45.966  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:45.967  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:45.967  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:45.969  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:10:45.969  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:45.969  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:45.969  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:10:45.969  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:10:45.969  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:10:45.969  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:10:45.969  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:10:45.969  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:45.969  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:10:45.969  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:45.969  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8880
12-06 12:10:45.969  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:45.969  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:45.980  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:10:45.984  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:10:45.984  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:10:45.984  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:10:45.988  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:10:45.988  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:10:45.988  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:10:45.990  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:10:45.990  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:10:45.990  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:45.990  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:10:45.990  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:10:45.990  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:10:45.990  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:45.990  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:45.991  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:45.991  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:45.991  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:45.991  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:45.991  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:45.991  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:45.991  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:10:45.991  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:10:45.991  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:10:45.993  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:10:45.999  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:10:46.021  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:10:46.022  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:46.022  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:46.022  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:46.022  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:10:46.022  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:46.022  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:46.022  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:46.022  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:46.022  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:46.022  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:46.022  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:46.022  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:10:46.022  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:10:46.028  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:10:46.029  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8880
12-06 12:10:46.029  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.029  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:46.029  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:10:46.030  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8880
12-06 12:10:46.030  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.030  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:46.030  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:10:46.031  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e8880),out 0xf16e8880
12-06 12:10:46.031  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:46.031  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:46.033  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8880
12-06 12:10:46.033  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.033  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:10:46.033  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:46.033  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8880
12-06 12:10:46.033  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.033  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:46.033  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:10:46.034  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8880
12-06 12:10:46.034  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.034  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:10:46.034  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:46.035  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:46.035  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.037  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 21)
12-06 12:10:46.039  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:46.039  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.044  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:10:46.044  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:10:46.044  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:10:46.044  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:10:46.044  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:10:46.044  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:46.044  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:10:46.044  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:46.044  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:10:46.044  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:10:46.044  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:10:46.044  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:10:46.044  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:46.044  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:46.044  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:46.044  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:46.045  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:46.045  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:46.045  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:10:46.045  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:46.045  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:46.045  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:46.045  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:46.045  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:46.045  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:46.045  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:46.045  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:10:46.045  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:10:46.052  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:10:46.054  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:10:46.055  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:10:46.055  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:10:46.059  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e8500),out 0xf16e8500
12-06 12:10:46.059  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:46.059  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:46.070  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:10:46.070  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9d80
12-06 12:10:46.070  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:10:46.071  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:46.071  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:46.071  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:46.071  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:46.071  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:46.071  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:46.071  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:46.071  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:46.071  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:46.071  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9d80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:10:46.071  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:10:46.072  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:10:46.076  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e9d80), left:0.710396 right:0.710396 
12-06 12:10:46.089  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:46.090  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.092  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 24)
12-06 12:10:46.100  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:46.100  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.102  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:10:46.102  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:46.102  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:46.102  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:10:46.102  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:10:46.102  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:10:46.102  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:46.102  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:46.102  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:46.105  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:46.105  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.106  3501 24515 D audio_hw_primary: out_dump(0xf16e8500, 19)
12-06 12:10:46.108  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:46.108  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.112  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:10:46.112  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:10:46.112  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:10:46.112  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:10:46.112  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:10:46.112  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:46.112  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:10:46.112  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:46.112  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:10:46.112  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:10:46.112  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:46.112  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:46.113  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:46.114  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:46.114  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.118  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:10:46.118  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:46.118  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:46.118  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:10:46.118  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:10:46.118  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:10:46.124  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:10:46.127  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:10:46.127  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:10:46.127  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:46.127  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:10:46.127  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:46.127  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e9d80
12-06 12:10:46.127  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:46.127  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:46.133  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:10:46.133  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:10:46.133  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:10:46.145  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:10:46.145  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:10:46.145  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:10:46.146  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:10:46.146  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:10:46.146  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:46.146  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:10:46.146  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:10:46.146  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:10:46.146  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:46.146  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:46.146  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:46.147  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:46.147  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:46.147  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:46.147  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:46.147  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:46.147  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9d80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:10:46.147  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:10:46.147  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:10:46.151  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:10:46.154  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e9d80) usecase: [2]PCM_HWSYNC
12-06 12:10:46.180  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:10:46.180  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:46.180  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:46.180  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:46.180  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:10:46.180  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:46.180  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:46.180  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:46.181  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:46.181  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:10:46.181  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:46.181  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:46.181  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:10:46.181  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:10:46.191  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:10:46.192  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8500
12-06 12:10:46.193  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.193  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:10:46.193  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:10:46.195  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8500
12-06 12:10:46.195  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.195  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:46.195  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:10:46.196  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e8500),out 0xf16e8500
12-06 12:10:46.196  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:46.196  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:46.196  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8500
12-06 12:10:46.196  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.197  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:10:46.197  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:46.197  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8500
12-06 12:10:46.197  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.198  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:46.198  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:10:46.198  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8500
12-06 12:10:46.198  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:46.199  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:10:46.199  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:46.200  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:46.200  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.202  3501 24515 D audio_hw_primary: out_dump(0xf16e8500, 21)
12-06 12:10:46.203  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:46.203  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:46.209  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:10:46.209  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:10:46.209  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:10:46.209  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:10:46.209  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:10:46.209  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:46.209  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:10:46.209  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:10:46.209  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:10:46.209  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:10:46.209  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:10:46.967  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.828896 right:0.828896 
12-06 12:10:46.972  3501  1302 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:10:46.972  3501  1302 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:10:46.972  3501  1302 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:10:46.972  3501  1302 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:10:46.972  3501  1302 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:10:46.972  3501  1302 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7e00
12-06 12:10:46.972  3501  1302 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:10:46.973  3501  1302 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:10:46.973  3501  1302 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:10:46.973  3501  1302 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:10:46.973  3501  1302 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:10:47.075  3501  1302 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:10:47.075  3501  1302 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:10:47.085  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1800, latency 7290, last position 0
12-06 12:10:47.085  3501  3807 I audio_hwsync_cbks: pts32 = 20 latency=7290
12-06 12:10:47.093  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2520, latency 7290, last position 0
12-06 12:10:47.093  3501  3807 I audio_hwsync_cbks: pts32 = 28 latency=7290
12-06 12:10:47.101  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3240, latency 7290, last position 0
12-06 12:10:47.101  3501  3807 I audio_hwsync_cbks: pts32 = 36 latency=7290
12-06 12:10:47.109  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3960, latency 7290, last position 0
12-06 12:10:47.109  3501  3807 I audio_hwsync_cbks: pts32 = 44 latency=7290
12-06 12:10:47.117  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4680, latency 7290, last position 832
12-06 12:10:47.117  3501  3807 I audio_hwsync_cbks: pts32 = 52 latency=7290
12-06 12:10:47.125  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5490, latency 7290, last position 832
12-06 12:10:47.125  3501  3807 I audio_hwsync_cbks: pts32 = 61 latency=7290
12-06 12:10:47.133  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6210, latency 7290, last position 832
12-06 12:10:47.133  3501  3807 I audio_hwsync_cbks: pts32 = 69 latency=7290
12-06 12:10:47.141  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6840, latency 7290, last position 1792
12-06 12:10:47.141  3501  3807 I audio_hwsync_cbks: pts32 = 76 latency=7290
12-06 12:10:47.149  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7560, latency 7290, last position 1792
12-06 12:10:47.149  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x10e
12-06 12:10:51.423  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:10:51.423  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:10:51.423  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:10:51.423  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:10:51.423  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:10:51.423  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:10:51.435  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:10:51.435  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:10:51.435  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:10:51.435  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:624142336
12-06 12:10:51.435  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:10:51.435  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:10:51.435  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:10:51.446  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:10:51.454  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:10:51.458  3501  1302 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:10:51.458  3501  1302 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:10:51.458  3501  1302 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:10:51.462  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:10:51.477  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:10:52.189  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:10:52.189  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:10:52.189  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:10:52.230  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:10:52.230  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:10:52.230  3501 24515 I audio_hw_primary: patch found mix->dev id 2870, patchset 0xee038800
12-06 12:10:52.230  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:10:52.230  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:10:52.230  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:10:52.230  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:10:52.230  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:10:52.230  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:10:52.230  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:10:53.238  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:10:53.238  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:10:53.238  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:10:53.245  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2871)
12-06 12:10:53.245  3501 24515 I audio_hw_primary: patch set found id 2871, patchset 0xee049800
12-06 12:10:53.245  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:10:53.245  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:10:53.245  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:10:53.245  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:10:53.268  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:10:53.268  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:10:53.268  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:10:53.269  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:10:53.269  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:10:53.269  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:53.269  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:10:53.269  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:10:53.269  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:10:53.269  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:53.269  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:53.270  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:53.270  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:53.270  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:10:53.270  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:53.270  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:53.270  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:53.270  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:10:53.270  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:10:53.270  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:10:53.272  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:10:53.276  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:10:53.292  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:10:53.292  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:53.292  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:53.292  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:53.292  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:10:53.292  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:53.292  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:53.292  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:53.293  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:53.293  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:10:53.293  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:53.293  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:53.293  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:10:53.293  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:10:53.301  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:10:53.303  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9d80
12-06 12:10:53.303  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:53.303  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:53.303  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:10:53.304  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9d80
12-06 12:10:53.304  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:53.304  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:10:53.305  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:10:53.306  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9d80
12-06 12:10:53.306  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:10:53.307  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:10:53.307  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:10:53.307  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:10:53.308  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:53.308  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:53.309  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:53.309  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.311  3501  2209 D audio_hw_primary: out_dump(0xf16e9d80, 21)
12-06 12:10:53.312  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:53.312  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.318  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:10:53.318  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:10:53.318  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:10:53.318  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:10:53.318  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:10:53.318  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:53.318  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:10:53.318  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:10:53.318  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:10:53.318  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:10:53.318  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:53.318  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:53.318  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:53.320  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:10:53.320  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:10:53.320  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:10:53.320  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:10:53.320  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:53.320  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:10:53.320  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:53.320  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:53.321  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:53.321  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:53.321  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:10:53.321  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:53.321  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:53.321  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:10:53.321  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:10:53.324  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:10:53.324  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:10:53.324  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:10:53.330  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:10:53.330  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16eab80
12-06 12:10:53.330  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:10:53.330  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:10:53.330  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:10:53.330  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:10:53.330  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:10:53.331  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:10:53.331  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:10:53.331  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:10:53.331  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:10:53.331  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:10:53.331  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eab80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:10:53.331  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:10:53.332  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:10:53.336  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:10:53.336  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:10:53.337  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:10:53.337  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:53.341  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16eab80), left:0.710396 right:0.710396 
12-06 12:10:53.345  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:53.345  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.346  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 24)
12-06 12:10:53.348  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:53.348  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.349  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:10:53.349  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:53.349  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:53.349  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:10:53.349  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:10:53.349  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:10:53.349  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:53.349  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:53.349  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:53.350  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:53.351  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.351  3501  2209 D audio_hw_primary: out_dump(0xf16e9d80, 19)
12-06 12:10:53.355  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:10:53.355  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.359  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:10:53.359  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:10:53.359  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:10:53.359  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:10:53.359  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:10:53.359  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:10:53.359  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:10:53.359  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:10:53.359  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:10:53.359  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:10:53.359  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:53.359  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:53.359  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:53.360  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:10:53.360  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:10:53.363  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:10:53.363  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:10:53.363  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:10:53.363  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:10:53.363  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:10:53.363  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:10:53.363  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:10:53.363  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:10:53.363  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:10:53.363  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:10:53.363  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:10:53.363  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16eab80
12-06 12:10:53.363  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:10:53.363  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:10:53.372  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:10:54.438  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:10:54.439  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:10:54.439  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:10:54.439  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:11:17.089  3501 30241 I audio_hw_primary: get hwsync id
12-06 12:11:17.691  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:11:17.691  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:11:17.691  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:17.691  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:11:17.691  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:17.691  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:17.692  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:11:17.692  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:17.692  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:11:17.692  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:17.692  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:17.692  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:17.692  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eab80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:11:17.692  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:11:17.692  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:11:17.696  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:11:17.708  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:11:17.743  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:11:17.743  3501 24515 I audio_hw_primary: (0xf16eab80)set hw_sync_id 12345678,enable hw sync mode
12-06 12:11:17.743  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 12:11:17.754  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:11:17.754  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:11:17.754  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:11:17.754  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:11:17.754  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:11:17.754  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:11:17.773  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16eab80, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:11:17.773  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:11:18.158  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16eab80), left:0.000000 right:0.000000 
12-06 12:11:18.161  3501  1878 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:11:18.161  3501  1878 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:11:18.161  3501  1878 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:11:18.161  3501  1878 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:11:18.161  3501  1878 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:11:18.161  3501  1878 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16eab80
12-06 12:11:18.166  3501  1878 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:18.173  3501  1878 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:11:18.176  3501  1878 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:11:18.176  3501  1878 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:18.176  3501  1878 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:11:18.177  3501  1878 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:11:18.177  3501  1878 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:11:18.189  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 12:11:18.189  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 12:11:18.197  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 12:11:18.197  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 12:11:18.205  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 12:11:18.205  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 12:11:18.213  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 12:11:18.213  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 12:11:18.221  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 768
12-06 12:11:18.221  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 12:11:18.229  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 768
12-06 12:11:18.229  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 12:11:18.237  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 768
12-06 12:11:18.237  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 12:11:18.245  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1792
12-06 12:11:18.245  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 12:11:18.253  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1792
12-06 12:11:18.253  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 12:11:18.487  3501 30241 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16eab80, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:11:18.487  3501 30241 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:11:18.487  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16eab80, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:11:18.487  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:11:18.490  3501 30241 I audio_hw_primary: ++adev_release_audio_patch: handle(2874)
12-06 12:11:18.490  3501 30241 I audio_hw_primary: patch set found id 2874, patchset 0xee049800
12-06 12:11:18.490  3501 30241 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:11:18.490  3501 30241 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:11:18.490  3501 30241 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:11:18.490  3501 30241 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:11:18.493  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:11:18.493  3501 30241 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:11:18.493  3501 30241 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:11:18.493  3501 30241 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:11:18.493  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 12:11:18.493  3501 30241 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:11:18.494  3501 30241 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:11:18.502  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:18.502  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:18.504  3501 24515 D audio_hw_primary: out_dump(0xf16eab80, 23)
12-06 12:11:18.507  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:18.507  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:18.514  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:11:18.514  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:18.514  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:18.514  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:11:18.514  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:11:18.514  3501 30241 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:11:18.514  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:11:18.514  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:11:18.514  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:18.514  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:18.514  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:22.897  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:11:22.897  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:11:22.897  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 12:11:22.999  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:11:22.999  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:11:22.999  3501 30241 I audio_hw_primary: HDMI format: 0
12-06 12:11:23.004  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:11:23.004  3501 30241 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:11:23.004  3501 30241 I audio_hw_primary: HDMI format: 5
12-06 12:11:23.895  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:11:23.895  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:11:23.895  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:11:23.904  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2873)
12-06 12:11:23.904  3501 24515 I audio_hw_primary: patch set found id 2873, patchset 0xf11aec00
12-06 12:11:23.904  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:11:23.904  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:11:23.904  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:11:23.904  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:11:23.950  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:11:23.950  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:11:23.950  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:11:23.951  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:11:23.951  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:11:23.951  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:23.951  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:11:23.951  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:11:23.951  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:11:23.951  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:23.951  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:23.952  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:23.952  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:23.952  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:23.952  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:23.952  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:23.952  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:23.952  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:11:23.952  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:11:23.952  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:11:23.953  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:11:23.958  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:11:23.979  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:11:23.979  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:11:23.979  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:11:23.979  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:23.979  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:11:23.979  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:23.979  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:23.980  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:23.980  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:23.980  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:23.980  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:23.980  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:23.980  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:11:23.980  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:11:24.005  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:11:24.008  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7380
12-06 12:11:24.008  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.008  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:24.008  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:11:24.009  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7380
12-06 12:11:24.009  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.009  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:11:24.009  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:11:24.011  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7380
12-06 12:11:24.011  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.011  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:11:24.011  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:11:24.012  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7380
12-06 12:11:24.012  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.012  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:11:24.012  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:11:24.017  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7380
12-06 12:11:24.017  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.018  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:11:24.018  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:11:24.019  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:11:24.019  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:11:24.019  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.020  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.020  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.022  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 21)
12-06 12:11:24.025  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:24.025  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.035  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:11:24.035  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:11:24.035  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:11:24.035  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:11:24.035  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:11:24.035  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.035  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:11:24.035  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:24.035  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:11:24.035  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:11:24.035  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:11:24.035  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:11:24.035  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:11:24.036  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.036  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.036  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.036  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:11:24.036  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.036  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:11:24.036  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.036  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.036  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:11:24.036  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.036  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.036  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.036  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.036  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:11:24.036  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:11:24.041  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:11:24.041  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:11:24.041  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:11:24.044  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:11:24.048  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:11:24.048  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:11:24.051  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.085  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:11:24.085  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8880
12-06 12:11:24.087  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:11:24.087  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.087  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.087  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.087  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:11:24.088  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.088  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.088  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.088  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.088  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:24.088  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:11:24.088  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:11:24.092  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:11:24.102  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e8880), left:0.000000 right:0.000000 
12-06 12:11:24.126  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.126  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.128  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 24)
12-06 12:11:24.135  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:24.135  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.137  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:11:24.137  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:24.137  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:24.137  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:11:24.137  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:11:24.138  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:11:24.138  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.138  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.138  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.142  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.142  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.143  3501 24515 D audio_hw_primary: out_dump(0xf16e9d80, 19)
12-06 12:11:24.150  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:24.150  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.151  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:11:24.152  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:11:24.152  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:11:24.152  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:11:24.152  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:11:24.152  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.152  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:11:24.152  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:24.152  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:11:24.152  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:11:24.152  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.152  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.152  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.152  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.152  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.156  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:11:24.156  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:24.156  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:24.156  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:11:24.156  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:11:24.156  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:11:24.156  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:11:24.156  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:11:24.156  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:24.156  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:11:24.156  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.156  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8880
12-06 12:11:24.156  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.156  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.157  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:11:24.161  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:11:24.161  3501  2209 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:11:24.161  3501  2209 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:11:24.175  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:11:24.175  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:11:24.175  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:11:24.176  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:11:24.177  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:11:24.177  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.177  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:11:24.177  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:11:24.177  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:11:24.177  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.177  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.177  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:11:24.177  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.177  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.177  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.177  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.177  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:24.177  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:11:24.177  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:11:24.178  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:11:24.187  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:11:24.196  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:11:24.245  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:11:24.245  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:11:24.245  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:11:24.245  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.245  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:11:24.245  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.245  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.246  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:11:24.246  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.246  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.246  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.246  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.246  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:11:24.246  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:11:24.259  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:11:24.261  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9d80
12-06 12:11:24.261  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.261  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:24.261  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:11:24.269  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e9d80
12-06 12:11:24.271  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.272  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:11:24.272  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:11:24.274  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e9d80
12-06 12:11:24.274  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.274  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:11:24.274  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:11:24.275  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9d80
12-06 12:11:24.275  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.276  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:11:24.276  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:11:24.276  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9d80
12-06 12:11:24.276  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:24.277  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:11:24.277  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:11:24.282  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.282  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.283  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:11:24.283  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:11:24.283  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.284  3501  2209 D audio_hw_primary: out_dump(0xf16e9d80, 21)
12-06 12:11:24.485  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:24.485  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.492  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:11:24.492  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:11:24.492  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:11:24.492  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:11:24.492  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:11:24.492  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.492  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:11:24.492  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:24.492  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:11:24.492  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:11:24.492  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:11:24.492  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.492  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:11:24.492  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.492  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:11:24.492  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.492  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:11:24.492  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.492  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:11:24.492  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.492  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.493  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:24.493  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.493  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.493  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.493  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.493  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:11:24.493  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:11:24.494  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:11:24.494  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:11:24.494  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:11:24.500  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:11:24.501  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:11:24.503  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:11:24.505  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.532  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:11:24.532  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7700
12-06 12:11:24.532  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:11:24.532  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.532  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.532  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.532  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:24.533  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.533  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.533  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.533  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.533  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:24.533  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:11:24.533  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:11:24.543  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:11:24.545  3501 24515 I audio_hw_primary: get hwsync id
12-06 12:11:24.552  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.000000 right:0.000000 
12-06 12:11:24.570  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.570  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.583  3501 24515 D audio_hw_primary: out_dump(0xf16e8880, 24)
12-06 12:11:24.585  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:24.585  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.590  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:11:24.591  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:24.591  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:24.591  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:11:24.591  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:11:24.591  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:11:24.591  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.591  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.591  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.593  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.593  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.594  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 19)
12-06 12:11:24.599  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:24.599  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.601  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:11:24.601  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:11:24.601  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:11:24.601  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:11:24.601  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:11:24.601  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:24.601  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:11:24.601  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:24.602  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:11:24.602  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:11:24.605  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.605  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.605  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.605  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:11:24.606  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:24.606  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:24.620  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:11:24.620  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:24.620  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:24.620  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:11:24.620  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:11:24.620  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:11:24.620  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:11:24.620  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:11:24.620  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:24.620  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:11:24.620  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:24.620  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7700
12-06 12:11:24.620  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:24.620  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:24.690  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:11:24.690  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:11:24.690  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:11:24.690  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:11:24.690  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:11:24.690  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:11:24.697  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:11:24.697  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:11:24.697  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:11:24.697  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:11:24.697  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:11:24.697  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:24.697  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:11:24.698  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:624508928
12-06 12:11:24.698  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:24.698  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:11:24.698  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:11:24.698  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:11:24.698  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:11:24.698  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:11:24.698  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:11:24.710  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:11:24.717  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:11:24.725  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:11:24.741  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:11:24.873  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:11:24.873  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:11:24.873  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:24.873  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:11:24.873  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:24.873  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:24.873  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:24.873  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:24.873  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:11:24.873  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:24.873  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:24.873  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:24.873  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:11:24.873  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:11:24.874  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:11:24.875  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:11:24.879  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:11:24.911  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:11:24.911  3501  2209 I audio_hw_primary: (0xf16e7700)set hw_sync_id 12345678,enable hw sync mode
12-06 12:11:24.912  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 12:11:24.961  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:11:24.961  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:11:24.961  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:11:24.961  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:11:24.961  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:11:24.961  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:11:24.970  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:11:24.970  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:11:25.162  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7700), left:0.000000 right:0.000000 
12-06 12:11:25.170  3501  2112 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:11:25.170  3501  2112 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:11:25.170  3501  2112 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x1, add out usecase:[2]PCM_HWSYNC
12-06 12:11:25.170  3501  2112 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:11:25.170  3501  2112 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:11:25.170  3501  2112 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7700
12-06 12:11:25.170  3501  2112 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:25.170  3501  2112 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:11:25.171  3501  2112 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:11:25.171  3501  2112 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:25.171  3501  2112 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:11:25.195  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:11:25.195  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:11:25.195  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:11:25.276  3501  2112 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:11:25.276  3501  2112 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:11:25.285  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 810, latency 7290, last position 0
12-06 12:11:25.285  3501  3807 I audio_hwsync_cbks: pts32 = 9 latency=7290
12-06 12:11:25.293  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1530, latency 7290, last position 0
12-06 12:11:25.293  3501  3807 I audio_hwsync_cbks: pts32 = 17 latency=7290
12-06 12:11:25.297  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:11:25.297  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:11:25.297  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7700, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:11:25.297  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:11:25.301  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:11:25.301  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:11:25.301  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:11:25.301  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:11:25.301  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:11:25.301  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:11:25.314  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2876)
12-06 12:11:25.314  3501  2209 I audio_hw_primary: patch set found id 2876, patchset 0xef187000
12-06 12:11:25.314  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:11:25.314  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:11:25.314  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:11:25.314  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:11:25.363  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:11:25.363  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:11:25.363  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:11:25.364  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:11:25.376  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:11:25.376  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=46187110314 write=46152000000 diff=35110314
12-06 12:11:25.376  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:11:25.379  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:25.379  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:25.382  3501  2209 D audio_hw_primary: out_dump(0xf16e7700, 23)
12-06 12:11:25.388  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:11:25.388  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:11:25.388  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:11:25.600  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:25.601  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:11:25.601  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:25.601  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:11:25.601  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:11:25.603  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:11:25.603  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:25.603  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:25.603  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:11:25.603  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:11:25.603  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:11:25.603  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:11:25.603  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:11:25.603  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:25.603  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:25.603  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:25.656  3501  3807 D aml_audio_port: output_port_write_alsa() alsa underrun
12-06 12:11:25.659  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=283233625 write=248000000 diff=35233625
12-06 12:11:25.663  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:11:25.663  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:11:25.663  3501 24515 I audio_hw_primary: patch found mix->dev id 2875, patchset 0xf11aec00
12-06 12:11:25.663  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:11:25.663  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:11:25.663  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:11:25.663  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:11:25.663  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:11:25.663  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:11:25.663  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:11:26.675  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:11:26.675  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:11:26.675  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:11:26.679  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2877)
12-06 12:11:26.679  3501  2209 I audio_hw_primary: patch set found id 2877, patchset 0xee038800
12-06 12:11:26.679  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:11:26.679  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:11:26.679  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:11:26.679  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:11:26.705  3501  2209 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:11:26.705  3501  2209 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:11:26.705  3501  2209 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:11:26.707  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:11:26.708  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:11:26.708  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:26.708  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:11:26.708  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:11:26.708  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:11:26.708  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:26.708  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:26.709  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:26.709  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:26.709  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:11:26.709  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:26.709  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:26.709  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:26.709  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:11:26.709  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:11:26.709  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:11:26.712  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:11:26.714  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:11:26.729  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:11:26.729  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:11:26.729  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:11:26.729  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:26.729  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:11:26.729  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:26.729  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:26.729  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:26.729  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:26.729  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:11:26.729  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:26.729  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:26.729  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:11:26.729  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:11:27.025  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:11:27.027  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7380
12-06 12:11:27.027  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:27.027  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:27.027  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:11:27.028  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7380
12-06 12:11:27.028  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:27.029  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:11:27.029  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:11:27.029  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:11:27.029  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:11:27.029  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:27.030  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7380
12-06 12:11:27.030  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:11:27.030  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:11:27.030  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:11:27.031  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:27.031  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.032  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 21)
12-06 12:11:27.034  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:27.034  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.096  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:11:27.097  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:11:27.097  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:11:27.097  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:11:27.097  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:11:27.097  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:27.097  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:11:27.097  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:27.097  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:11:27.097  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:11:27.097  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:11:27.097  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:11:27.097  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:11:27.097  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:27.097  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:27.097  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:27.097  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:11:27.097  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:27.097  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:11:27.097  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:27.097  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:27.097  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:11:27.099  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:27.099  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:11:27.100  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:27.100  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:27.100  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:11:27.100  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:11:27.107  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:11:27.111  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:11:27.111  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:11:27.111  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:11:27.114  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e9680),out 0xf16e9680
12-06 12:11:27.114  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:11:27.114  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:27.131  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:11:27.131  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7380
12-06 12:11:27.131  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:11:27.131  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:27.131  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:27.131  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:27.132  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:27.132  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:27.132  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:11:27.132  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:27.132  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:27.132  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:27.132  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:11:27.132  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:11:27.134  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:11:27.142  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7380), left:0.000000 right:0.000000 
12-06 12:11:27.154  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:27.154  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.155  3501 24515 D audio_hw_primary: out_dump(0xf16e7700, 24)
12-06 12:11:27.156  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:27.156  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.157  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:11:27.157  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:27.157  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:27.157  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:11:27.157  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:11:27.157  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:11:27.157  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:27.157  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:27.157  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:27.159  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:27.159  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.160  3501 10201 D audio_hw_primary: out_dump(0xf16e9680, 19)
12-06 12:11:27.162  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:27.162  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.163  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:11:27.163  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:11:27.163  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:11:27.163  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:11:27.163  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:11:27.163  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:11:27.163  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:11:27.163  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:27.163  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:11:27.163  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:11:27.163  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:27.163  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:27.163  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:27.164  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:27.164  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:27.171  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:11:27.172  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:11:27.172  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:27.172  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:27.172  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:11:27.172  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:11:27.172  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:11:27.173  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:11:27.173  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:11:27.173  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:11:27.174  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:11:27.174  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:27.174  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7380
12-06 12:11:27.175  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:27.175  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:11:30.779  3501 24515 I audio_hw_primary: get hwsync id
12-06 12:11:31.357  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:11:31.357  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:11:31.357  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:11:31.357  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:11:31.357  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:11:31.357  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:11:31.358  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:11:31.358  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:11:31.358  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:11:31.358  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:11:31.358  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:11:31.358  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:11:31.358  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:11:31.358  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:11:31.358  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:11:31.360  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:11:31.384  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:11:31.400  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:11:31.400  3501 24515 I audio_hw_primary: (0xf16e7380)set hw_sync_id 12345678,enable hw sync mode
12-06 12:11:31.400  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 12:11:31.413  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:11:31.414  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:11:31.414  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:11:31.414  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:11:31.414  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:11:31.414  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:11:31.418  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7380, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:11:31.418  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:11:31.761  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e7380), left:0.000000 right:0.000000 
12-06 12:11:31.766  3501  2231 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:11:31.766  3501  2231 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:11:31.766  3501  2231 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:11:31.766  3501  2231 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:11:31.766  3501  2231 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:11:31.766  3501  2231 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e7380
12-06 12:11:31.769  3501  2231 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:31.769  3501  2231 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:11:31.770  3501  2231 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:11:31.770  3501  2231 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:11:31.770  3501  2231 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:11:31.770  3501  2231 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:11:31.770  3501  2231 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:11:31.779  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 12:11:31.779  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 12:11:31.787  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 12:11:31.787  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 12:11:31.795  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 12:11:31.795  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 12:11:31.803  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 12:11:31.803  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 12:11:31.811  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 0
12-06 12:11:31.811  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 12:11:31.819  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 960
12-06 12:11:31.819  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 12:11:31.827  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 960
12-06 12:11:31.827  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 12:11:31.835  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1920
12-06 12:11:31.835  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 12:11:31.843  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1920
12-06 12:11:31.843  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 12:11:34.453  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7380, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:11:34.453  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:11:34.453  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7380, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:11:34.453  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:11:34.459  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:11:34.459  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:11:34.459  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:11:34.459  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:11:34.460  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:11:34.460  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:11:34.460  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:11:34.463  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2878)
12-06 12:11:34.463  3501 24515 I audio_hw_primary: patch set found id 2878, patchset 0xf11aec00
12-06 12:11:34.463  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:11:34.463  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:11:34.463  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:11:34.463  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:11:34.463  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:11:34.463  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:11:34.463  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:11:34.463  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:11:34.463  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:11:34.467  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:11:34.467  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:34.471  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 23)
12-06 12:11:34.473  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:11:34.473  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:11:34.475  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:11:34.476  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:11:34.477  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:11:34.477  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:11:34.477  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:11:34.478  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:11:34.478  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:11:34.478  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:11:34.478  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:11:34.478  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:11:34.478  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:23.445  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:12:23.445  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:12:23.446  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:12:30.350  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:12:30.350  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:12:30.350  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 12:12:30.453  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:12:30.454  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:12:30.454  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:12:30.461  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:12:30.461  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:12:30.461  3501 24515 I audio_hw_primary: HDMI format: 5
12-06 12:12:31.347  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:12:31.347  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:12:31.347  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:12:31.349  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2879)
12-06 12:12:31.349  3501  2209 I audio_hw_primary: patch set found id 2879, patchset 0xee038800
12-06 12:12:31.349  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:12:31.349  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:12:31.349  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:12:31.349  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:12:31.379  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:12:31.379  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:12:31.379  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:12:31.381  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:12:31.381  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:12:31.381  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.381  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:12:31.381  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:12:31.381  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:12:31.381  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.381  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.382  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:12:31.382  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.382  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.382  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.382  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.382  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:31.382  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:12:31.382  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:12:31.382  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:12:31.384  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:12:31.389  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:12:31.422  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:12:31.422  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:12:31.422  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:12:31.422  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.422  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:12:31.422  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.422  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.423  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:12:31.423  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.423  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.423  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.423  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.423  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:12:31.423  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:12:31.431  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:12:31.432  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7700
12-06 12:12:31.432  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.433  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:12:31.433  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:12:31.435  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7700
12-06 12:12:31.435  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.435  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:12:31.435  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:12:31.438  3501 24515 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7700
12-06 12:12:31.438  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.438  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:12:31.439  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:12:31.442  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7700
12-06 12:12:31.442  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.443  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:12:31.443  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:12:31.443  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7700
12-06 12:12:31.443  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.444  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:12:31.444  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:12:31.446  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.446  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.456  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 12:12:31.456  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:12:31.456  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.457  3501 24515 D audio_hw_primary: out_dump(0xf16e7700, 21)
12-06 12:12:31.458  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:31.458  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.463  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:12:31.463  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:12:31.463  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:12:31.463  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:12:31.463  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:12:31.463  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.463  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:12:31.463  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:12:31.464  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:12:31.464  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:12:31.464  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.464  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.464  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.464  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:12:31.464  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:12:31.464  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:12:31.464  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:12:31.464  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.464  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:12:31.464  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.464  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.465  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:12:31.465  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.465  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.465  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.465  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.465  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:12:31.465  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:12:31.466  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:12:31.467  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:12:31.467  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:12:31.475  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:12:31.477  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:12:31.477  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:12:31.479  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.497  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:12:31.497  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 12:12:31.497  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:12:31.497  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.497  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.497  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.497  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:12:31.497  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.497  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.497  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.497  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.497  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:31.498  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:12:31.498  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:12:31.499  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:12:31.503  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.000000 right:0.000000 
12-06 12:12:31.507  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.507  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.509  3501  2209 D audio_hw_primary: out_dump(0xf16e7380, 24)
12-06 12:12:31.511  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:31.511  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.513  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:12:31.513  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:31.513  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:31.513  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:12:31.513  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:12:31.513  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:12:31.513  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.513  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.514  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.515  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.515  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.516  3501 10201 D audio_hw_primary: out_dump(0xf16e9d80, 19)
12-06 12:12:31.519  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:31.519  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.520  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:12:31.520  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:12:31.520  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:12:31.520  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:12:31.520  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:12:31.520  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.520  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:12:31.520  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:12:31.520  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:12:31.520  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:12:31.520  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.520  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.520  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.522  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.522  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.523  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:12:31.523  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:31.523  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:31.523  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:12:31.523  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:12:31.524  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:12:31.531  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:12:31.533  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:12:31.533  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:12:31.534  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:12:31.534  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:12:31.534  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.534  3501 10201 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 12:12:31.534  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.534  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.536  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:12:31.536  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:12:31.536  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:12:31.546  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:12:31.546  3501 10201 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:12:31.546  3501 10201 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:12:31.547  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:12:31.547  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:12:31.547  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.547  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:12:31.547  3501  2209 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:12:31.547  3501  2209 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:12:31.547  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.547  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.547  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:12:31.547  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.547  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.547  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.547  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.547  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:31.547  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7380, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:12:31.547  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:12:31.547  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:12:31.548  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:12:31.552  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:12:31.578  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:12:31.578  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:12:31.578  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:12:31.579  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.579  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:12:31.579  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.579  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.579  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:12:31.579  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.579  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.579  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.579  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.579  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:12:31.579  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:12:31.584  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:12:31.585  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf1151000
12-06 12:12:31.585  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.586  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:12:31.586  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:12:31.587  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf1151000
12-06 12:12:31.588  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.588  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:12:31.588  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:12:31.589  3501  2209 I audio_hw_primary: out_standby_direct(0xf1151000),out 0xf1151000
12-06 12:12:31.589  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:12:31.589  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.589  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf1151000
12-06 12:12:31.589  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.590  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:12:31.590  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:12:31.590  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf1151000
12-06 12:12:31.590  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.590  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:12:31.590  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:12:31.591  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf1151000
12-06 12:12:31.591  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:31.591  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:12:31.591  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:12:31.593  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.593  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.594  3501  2209 D audio_hw_primary: out_dump(0xf1151000, 21)
12-06 12:12:31.599  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:31.599  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.608  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:12:31.608  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:12:31.608  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:12:31.608  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:12:31.608  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:12:31.608  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.608  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:12:31.608  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:12:31.608  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:12:31.608  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:12:31.608  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.608  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:12:31.608  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.608  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:12:31.608  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.608  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:12:31.609  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:12:31.609  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.609  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:12:31.609  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.609  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.609  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:31.609  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.609  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.609  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.609  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.609  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:12:31.609  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:12:31.611  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:12:31.611  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:12:31.611  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:12:31.616  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:12:31.616  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:12:31.616  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.619  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:12:31.648  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:12:31.648  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9d80
12-06 12:12:31.649  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:12:31.649  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:31.649  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:31.649  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:31.649  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:31.649  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:31.649  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:31.649  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:31.649  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:31.649  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:31.649  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9d80, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:12:31.649  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:12:31.651  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:12:31.656  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e9d80), left:0.000000 right:0.000000 
12-06 12:12:31.664  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.664  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.666  3501 10201 D audio_hw_primary: out_dump(0xf16e7380, 24)
12-06 12:12:31.667  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:31.667  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.670  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:12:31.671  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:31.671  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:31.671  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:12:31.671  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:12:31.671  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:12:31.671  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.671  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.671  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.672  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.672  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.673  3501 10201 D audio_hw_primary: out_dump(0xf16e7e00, 19)
12-06 12:12:31.874  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:31.875  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.875  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:12:31.878  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:12:31.879  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:12:31.879  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:12:31.879  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:12:31.879  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:12:31.879  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:31.879  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:12:31.879  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:12:31.879  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:12:31.879  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:12:31.879  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.879  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.879  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.879  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:31.879  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:31.882  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:12:31.882  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:31.882  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:31.882  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:12:31.882  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:12:31.882  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:12:31.882  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:12:31.882  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:12:31.882  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:12:31.882  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:12:31.882  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:31.882  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e9d80
12-06 12:12:31.882  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:31.882  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:31.891  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:12:32.224  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:12:32.224  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:12:32.224  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:32.224  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:12:32.224  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:32.224  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:32.224  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:32.224  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:32.224  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:12:32.224  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:32.224  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:32.224  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:32.224  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:12:32.224  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:12:32.224  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:12:32.225  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:12:32.230  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:12:32.253  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:12:32.253  3501 24515 I audio_hw_primary: (0xf16e8880)set hw_sync_id 12345678,enable hw sync mode
12-06 12:12:32.254  3501 24515 I audio_hw_primary: init hal mixer when hwsync
12-06 12:12:32.276  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:12:32.276  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:12:32.276  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:12:32.276  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:12:32.276  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:12:32.276  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:12:32.279  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8880, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:12:32.279  3501 24515 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:12:32.471  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e8880), left:0.000000 right:0.000000 
12-06 12:12:32.474  3501  3174 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:12:32.474  3501  3174 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:12:32.474  3501  3174 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:12:32.474  3501  3174 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:12:32.474  3501  3174 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:12:32.474  3501  3174 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf16e8880
12-06 12:12:32.476  3501  3174 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:12:32.476  3501  3174 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:12:32.476  3501  3174 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:12:32.476  3501  3174 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:12:32.476  3501  3174 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:12:32.579  3501  3174 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 0 delay count=10
12-06 12:12:32.580  3501  3174 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:12:32.595  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 810, latency 7650, last position 0
12-06 12:12:32.595  3501  3807 I audio_hwsync_cbks: pts32 = 9 latency=7650
12-06 12:12:32.603  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 1530, latency 7650, last position 0
12-06 12:12:32.603  3501  3807 I audio_hwsync_cbks: pts32 = 17 latency=7650
12-06 12:12:32.611  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2340, latency 7650, last position 0
12-06 12:12:32.611  3501  3807 I audio_hwsync_cbks: pts32 = 26 latency=7650
12-06 12:12:32.619  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3060, latency 7650, last position 0
12-06 12:12:32.619  3501  3807 I audio_hwsync_cbks: pts32 = 34 latency=7650
12-06 12:12:32.627  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3780, latency 7650, last position 384
12-06 12:12:32.627  3501  3807 I audio_hwsync_cbks: pts32 = 42 latency=7650
12-06 12:12:32.635  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4500, latency 7650, last position 384
12-06 12:12:32.635  3501  3807 I audio_hwsync_cbks: pts32 = 50 latency=7650
12-06 12:12:32.643  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5220, latency 7650, last position 1408
12-06 12:12:32.643  3501  3807 I audio_hwsync_cbks: pts32 = 58 latency=7650
12-06 12:12:32.651  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5850, latency 7650, last position 1408
12-06 12:12:32.651  3501  3807 I audio_hwsync_cbks: pts32 = 65 latency=7650
12-06 12:12:32.659  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6570, latency 7650, last position 1408
12-06 12:12:32.659  3501  3807 I audio_hwsync_cbks: pts32 = 73 latency=7650
12-06 12:12:32.667  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7290, latency 7650, last position 2368
12-06 12:12:32.667  3501  3807 I audio_hwsync_cbks: pts32 = 81 latency=7650
12-06 12:12:32.675  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 8100, latency 7650, last position 2368
12-06 12:12:32.675  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x1c2
12-06 12:12:33.579  3501  3807 I audio_hwsync_cbks: on_meta_data_cbk(), pcrscr 872ms adjusted_apts 909ms
12-06 12:12:33.580  3501  3807 I audio_hwsync_cbks: audio gap: pcr < apts 36 ms, need insert data 6912
12-06 12:12:33.580  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 5376, inserted length 1536
12-06 12:12:33.580  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:33.587  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 3840, inserted length 1536
12-06 12:12:33.587  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:33.595  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 2304, inserted length 1536
12-06 12:12:33.595  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:33.603  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 768, inserted length 1536
12-06 12:12:33.603  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:38.866  3501 10201 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:12:38.866  3501 10201 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:12:38.866  3501 10201 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:12:38.866  3501 10201 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xef38fb48
12-06 12:12:38.866  3501 10201 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:12:38.866  3501 10201 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:12:38.870  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:12:38.870  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:12:38.871  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:12:38.871  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:12:38.871  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:12:38.871  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:624611328
12-06 12:12:38.871  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:12:38.871  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:12:38.871  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:12:38.884  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:12:38.891  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:12:38.900  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:12:38.911  3501  3174 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:12:38.911  3501  3174 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:12:38.911  3501  3174 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:12:38.916  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:12:39.297  3501 10201 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e8880, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:12:39.297  3501 10201 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:12:39.297  3501 24515 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e8880, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:12:39.297  3501 24515 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:12:39.299  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:12:39.299  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:12:39.299  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:12:39.300  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:12:39.300  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:12:39.300  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:12:39.300  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:12:39.305  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2880)
12-06 12:12:39.305  3501 24515 I audio_hw_primary: patch set found id 2880, patchset 0xf11aec00
12-06 12:12:39.305  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:12:39.305  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:12:39.305  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:12:39.305  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:12:39.307  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:12:39.307  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:12:39.307  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 12:12:39.307  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 12:12:39.307  3501  3807 D aml_audio_port: inport_reset()
12-06 12:12:39.307  3501  3807 I amlaudioMixer: [mixer_inports_read:714] input port:[1]PCM_DIRECT flushing->flushed
12-06 12:12:39.310  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:12:39.310  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:12:39.310  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:12:39.310  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:12:39.318  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:39.318  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:39.319  3501 24515 D audio_hw_primary: out_dump(0xf16e8880, 23)
12-06 12:12:39.337  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:12:39.337  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:12:39.337  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:12:39.521  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:39.521  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:39.526  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:12:39.526  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:39.528  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:39.528  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:12:39.528  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:12:39.532  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:12:39.541  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:12:39.541  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:12:39.541  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:39.541  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:39.541  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:39.622  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:12:39.622  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:12:39.622  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:12:39.670  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:12:39.670  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:12:39.670  3501 24515 I audio_hw_primary: patch found mix->dev id 2881, patchset 0xf11b0800
12-06 12:12:39.670  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:12:39.670  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:12:39.670  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:12:39.670  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:12:39.670  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:12:39.670  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:12:39.671  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:12:40.679  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:12:40.679  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:12:40.679  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:12:40.692  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2882)
12-06 12:12:40.692  3501 24515 I audio_hw_primary: patch set found id 2882, patchset 0xf11aec00
12-06 12:12:40.692  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:12:40.692  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:12:40.692  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:12:40.692  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:12:40.711  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:12:40.711  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:12:40.711  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:12:40.713  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:12:40.713  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:12:40.713  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:40.713  3501 10201 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:12:40.713  3501 10201 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:12:40.713  3501 10201 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:12:40.713  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:40.713  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:40.714  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:40.714  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:40.714  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:12:40.714  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:40.714  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:40.714  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:40.714  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7700, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:12:40.714  3501 10201 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:12:40.714  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:12:40.716  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:12:40.720  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:12:40.745  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:12:40.745  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:12:40.746  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:12:40.746  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:40.747  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:12:40.747  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:40.747  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:40.747  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:40.747  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:40.747  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:12:40.747  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:40.747  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:40.747  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:12:40.747  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:12:40.754  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:12:40.757  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7e00
12-06 12:12:40.758  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:40.758  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:12:40.758  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:12:40.759  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7e00
12-06 12:12:40.760  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:40.760  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:12:40.760  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:12:40.761  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7e00),out 0xf16e7e00
12-06 12:12:40.761  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:12:40.761  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:40.761  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7e00
12-06 12:12:40.761  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:12:40.761  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:12:40.761  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:12:40.763  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:40.763  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.765  3501 24515 D audio_hw_primary: out_dump(0xf16e7e00, 21)
12-06 12:12:40.767  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:40.767  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.775  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:12:40.775  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:12:40.775  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:12:40.775  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:12:40.775  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:12:40.775  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:12:40.775  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:12:40.775  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:12:40.775  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:40.775  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:12:40.775  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:12:40.775  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:12:40.775  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:12:40.775  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:40.775  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:40.775  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:40.776  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:12:40.776  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:40.776  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:12:40.776  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:40.776  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:40.777  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:40.777  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:40.777  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:12:40.777  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:40.777  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:40.777  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:12:40.777  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7380: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:12:40.778  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:12:40.779  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:12:40.779  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:12:40.785  3501 10201 I audio_hw_primary: out_standby_direct(0xf16e7380),out 0xf16e7380
12-06 12:12:40.785  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:12:40.785  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:40.787  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:12:40.803  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:12:40.803  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e9680
12-06 12:12:40.803  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:12:40.803  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:12:40.803  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:12:40.804  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:12:40.804  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:12:40.804  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:12:40.804  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:12:40.804  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:12:40.804  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:12:40.804  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:12:40.804  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e9680, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:12:40.804  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9680: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:12:40.808  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:12:40.813  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e9680), left:0.000000 right:0.000000 
12-06 12:12:40.817  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:40.817  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.818  3501 10201 D audio_hw_primary: out_dump(0xf16e7700, 24)
12-06 12:12:40.820  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:40.820  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.821  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:12:40.821  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:40.821  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:40.821  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:12:40.821  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:12:40.821  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7700) usecase: [2]PCM_HWSYNC
12-06 12:12:40.821  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:40.821  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:40.821  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:40.822  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:40.822  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.824  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 19)
12-06 12:12:40.826  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:40.826  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.828  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:12:40.828  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:12:40.828  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:12:40.828  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:12:40.828  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:12:40.828  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:12:40.828  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:12:40.828  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:12:40.828  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:12:40.828  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:12:40.828  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:40.828  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:40.828  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:40.830  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:40.831  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:40.833  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:12:40.833  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:40.833  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:40.833  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9680)
12-06 12:12:40.833  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:12:40.833  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:12:40.833  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:12:40.833  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:12:40.833  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:12:40.833  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:12:40.833  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:40.833  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e9680
12-06 12:12:40.833  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:40.833  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:12:40.843  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:12:41.866  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:12:41.866  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:12:41.866  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:12:41.866  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:12:49.379  3501  3807 I audio_hwsync_cbks: on_meta_data_cbk(), pcrscr 283ms adjusted_apts 320ms
12-06 12:12:49.380  3501  3807 I audio_hwsync_cbks: audio gap: pcr < apts 36 ms, need insert data 6912
12-06 12:12:49.380  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 5376, inserted length 1536
12-06 12:12:49.380  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:49.387  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 3840, inserted length 1536
12-06 12:12:49.387  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:49.395  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 2304, inserted length 1536
12-06 12:12:49.395  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:49.403  3501  3807 D amlaudioMixer: [mixer_do_mixing_16bit:1163] PCM_DIRECT inport insert mute data, still need 768, inserted length 1536
12-06 12:12:49.403  3501  3807 I amlaudioMixer: [mixer_inports_read:720] input port:[1]PCM_DIRECT data already valid
12-06 12:12:49.411  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:12:51.844  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:12:51.845  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:12:51.845  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:12:51.845  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:12:51.845  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:12:51.845  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:12:51.849  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:12:51.849  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:12:51.849  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:12:51.849  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:624750592
12-06 12:12:51.849  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:12:51.849  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:12:51.849  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:12:51.860  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:12:51.868  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:12:51.876  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:12:51.879  3501  3559 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:12:51.879  3501  3559 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:12:51.879  3501  3559 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:12:51.892  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:12:52.262  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16e7380, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:12:52.262  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:12:52.262  3501 10201 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16e7380, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:12:52.262  3501 10201 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:12:52.265  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2883)
12-06 12:12:52.265  3501 24515 I audio_hw_primary: patch set found id 2883, patchset 0xf11aec00
12-06 12:12:52.265  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:12:52.265  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:12:52.265  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:12:52.265  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:12:52.266  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:12:52.266  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:12:52.266  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:12:52.266  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:12:52.266  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 12:12:52.266  3501 24515 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:12:52.266  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:12:52.269  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:12:52.269  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:52.270  3501 24515 D audio_hw_primary: out_dump(0xf16e7380, 23)
12-06 12:12:52.303  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:12:52.303  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:12:52.303  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:12:52.472  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:12:52.472  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:12:52.474  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:12:52.474  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:12:52.474  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:12:52.474  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:12:52.474  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:12:52.477  3501 24515 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:12:52.477  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7380)
12-06 12:12:52.477  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7380) usecase: [2]PCM_HWSYNC
12-06 12:12:52.477  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:12:52.477  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:12:52.477  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:40.000  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:13:40.487  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x41)
12-06 12:13:40.488  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:13:40.488  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:40.488  3501  2209 D audio_hw_primary: adev_open_output_stream format=1 rate=48000
12-06 12:13:40.488  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:40.488  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:40.488  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:13:40.488  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:40.488  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:13:40.488  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:40.488  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:40.488  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:40.488  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:13:40.488  3501  2209 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:13:40.489  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:13:40.490  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:13:40.496  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:13:40.529  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(hw_av_sync=12345678), out_device=0x400)
12-06 12:13:40.529  3501  2209 I audio_hw_primary: (0xf1151000)set hw_sync_id 12345678,enable hw sync mode
12-06 12:13:40.529  3501  2209 I audio_hw_primary: init hal mixer when hwsync
12-06 12:13:40.544  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:13:40.544  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:13:40.544  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:13:40.544  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:13:40.544  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:13:40.544  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:13:40.552  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151000, standby 1, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:13:40.552  3501  2209 W audio-subMixingFactory: out_flush_subMixingPCM(), line 1603. Need check this case!
12-06 12:13:40.809  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.000000 right:0.000000 
12-06 12:13:40.821  3501  4464 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [2]PCM_HWSYNC
12-06 12:13:40.821  3501  4464 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [2]PCM_HWSYNC, cnt 1
12-06 12:13:40.821  3501  4464 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[2]PCM_HWSYNC
12-06 12:13:40.821  3501  4464 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:13:40.821  3501  4464 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x4, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:13:40.821  3501  4464 I audio-subMixingFactory: out_write_hwsync_lpcm(), start hwsync lpcm stream: 0xf1151000
12-06 12:13:40.827  3501  4464 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:13:40.828  3501  4464 D aml_audio_port: [new_input_port:308] inport:[1]PCM_DIRECT, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:13:40.828  3501  4464 I amlaudioMixer: [init_mixer_input_port:166] input port:[1]PCM_DIRECT, size 384 frames, frame_write_sum:0
12-06 12:13:40.828  3501  4464 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:13:40.828  3501  4464 I audio-subMixingFactory: out_write_hwsync_lpcm(), hwsync port type = 1
12-06 12:13:40.828  3501  4464 I audio-subMixingFactory: /sys/class/video/vframe_ready_cnt is 9 delay count=0
12-06 12:13:40.828  3501  4464 I amlaudioMixer: [mixer_write_inport:334] input port:[1]PCM_DIRECT is active now
12-06 12:13:40.843  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2160, latency 7290, last position 0
12-06 12:13:40.843  3501  3807 I audio_hwsync_cbks: pts32 = 24 latency=7290
12-06 12:13:40.851  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 2880, latency 7290, last position 0
12-06 12:13:40.851  3501  3807 I audio_hwsync_cbks: pts32 = 32 latency=7290
12-06 12:13:40.859  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 3510, latency 7290, last position 0
12-06 12:13:40.859  3501  3807 I audio_hwsync_cbks: pts32 = 39 latency=7290
12-06 12:13:40.867  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4230, latency 7290, last position 0
12-06 12:13:40.867  3501  3807 I audio_hwsync_cbks: pts32 = 47 latency=7290
12-06 12:13:40.875  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 4950, latency 7290, last position 576
12-06 12:13:40.875  3501  3807 I audio_hwsync_cbks: pts32 = 55 latency=7290
12-06 12:13:40.883  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 5670, latency 7290, last position 576
12-06 12:13:40.883  3501  3807 I audio_hwsync_cbks: pts32 = 63 latency=7290
12-06 12:13:40.891  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 6390, latency 7290, last position 1600
12-06 12:13:40.891  3501  3807 I audio_hwsync_cbks: pts32 = 71 latency=7290
12-06 12:13:40.899  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7200, latency 7290, last position 1600
12-06 12:13:40.899  3501  3807 I audio_hwsync_cbks: pts32 = 80 latency=7290
12-06 12:13:40.907  3501  3807 D audio_hwsync_cbks: on_meta_data_cbk(), set tsync start pts 7920, latency 7290, last position 1600
12-06 12:13:40.907  3501  3807 I audio_hwsync: tsync -> AUDIO_START:0x276
12-06 12:13:43.645  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151000, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:13:43.645  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:13:43.650  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:13:43.650  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x4, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:13:43.650  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:13:43.650  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:13:43.650  3501  2209 I aml_audio_port: remove_all_inport_messages(), msg what MSG_PAUSE
12-06 12:13:43.650  3501  2209 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:13:43.674  3501  2209 I audio_hw_primary: ++adev_release_audio_patch: handle(2886)
12-06 12:13:43.674  3501  2209 I audio_hw_primary: patch set found id 2886, patchset 0xee038800
12-06 12:13:43.674  3501  2209 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:13:43.674  3501  2209 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:13:43.675  3501  2209 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:13:43.675  3501  2209 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:13:43.678  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:43.678  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:43.679  3501  2209 D audio_hw_primary: out_dump(0xf1151000, 23)
12-06 12:13:43.710  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:43.711  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:43.714  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:43.716  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:43.716  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:43.716  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:43.716  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:13:43.716  3501 10201 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:13:43.728  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:13:43.729  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:13:43.729  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:43.730  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:43.730  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:48.186  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:13:48.186  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:13:48.186  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 12:13:48.287  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:13:48.287  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:13:48.287  3501 10201 I audio_hw_primary: HDMI format: 0
12-06 12:13:48.300  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=5)
12-06 12:13:48.300  3501 10201 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=5)
12-06 12:13:48.300  3501 10201 I audio_hw_primary: HDMI format: 5
12-06 12:13:49.187  3501 10201 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:13:49.187  3501 10201 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:13:49.187  3501 10201 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:13:49.216  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:13:49.216  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:13:49.216  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:13:49.217  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:13:49.217  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:13:49.217  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.217  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:13:49.217  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:13:49.217  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:13:49.217  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.217  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.218  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.218  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.218  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.218  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.218  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.218  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.218  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16eab80, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:13:49.218  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:13:49.218  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:13:49.219  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:13:49.223  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:13:49.254  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:13:49.254  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.254  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.254  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.254  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:13:49.254  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.254  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.255  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.255  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.255  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.255  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.255  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.255  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:13:49.255  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:13:49.263  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:13:49.266  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e8500
12-06 12:13:49.266  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.266  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.267  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:13:49.267  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e8500
12-06 12:13:49.267  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.267  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.267  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:13:49.268  3501 30241 I audio_hw_primary: out_standby_direct(0xf16e8500),out 0xf16e8500
12-06 12:13:49.268  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.268  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.269  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e8500
12-06 12:13:49.269  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.269  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.269  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.269  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e8500
12-06 12:13:49.269  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.270  3501 10201 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.270  3501 10201 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:13:49.270  3501 10201 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e8500
12-06 12:13:49.270  3501 10201 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.270  3501 10201 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.270  3501 10201 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.272  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.272  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.273  3501 10201 D audio_hw_primary: out_dump(0xf16e8500, 21)
12-06 12:13:49.275  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.275  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.282  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:13:49.282  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:13:49.282  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.282  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:13:49.282  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:13:49.282  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.282  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:13:49.282  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.282  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.282  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.282  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.282  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.282  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.282  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:13:49.282  3501 30241 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:13:49.283  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.283  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.283  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.283  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:13:49.283  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.283  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.283  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.291  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.291  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.291  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.291  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.291  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.291  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:13:49.291  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:13:49.292  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:13:49.292  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:13:49.292  3501 30241 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:13:49.295  3501 10201 I audio_hw_primary: out_standby_direct(0xf16ea480),out 0xf16ea480
12-06 12:13:49.295  3501 10201 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.295  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.315  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:13:49.315  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e8500
12-06 12:13:49.316  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:13:49.316  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.316  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.316  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.316  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:13:49.316  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.316  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.316  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.316  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.316  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.316  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:13:49.316  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:13:49.319  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:13:49.325  3501 10201 I audio_hw_primary: out_set_volume(), stream(0xf16e8500), left:0.000000 right:0.000000 
12-06 12:13:49.329  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.329  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.331  3501 10201 D audio_hw_primary: out_dump(0xf16eab80, 24)
12-06 12:13:49.332  3501 10201 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.332  3501 10201 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.333  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:49.333  3501 10201 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.333  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.333  3501 10201 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:49.333  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:13:49.333  3501 10201 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16eab80) usecase: [2]PCM_HWSYNC
12-06 12:13:49.333  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.333  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.333  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.334  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.334  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.335  3501 30241 D audio_hw_primary: out_dump(0xf16ea480, 19)
12-06 12:13:49.337  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.337  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.338  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:13:49.338  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:13:49.338  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.338  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:13:49.338  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:13:49.338  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.338  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:13:49.338  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.338  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.338  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.338  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.338  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.338  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.339  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.339  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.347  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.351  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:13:49.351  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.351  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.351  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:13:49.352  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.352  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:13:49.355  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:13:49.355  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:13:49.355  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.355  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.355  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.355  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e8500
12-06 12:13:49.356  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.356  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.357  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:13:49.357  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:13:49.357  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:13:49.368  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:13:49.368  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:13:49.368  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:13:49.368  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:13:49.369  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:13:49.369  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.369  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:13:49.369  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:13:49.369  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:13:49.369  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.369  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.369  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.369  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.369  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.369  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.369  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.369  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.369  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8500, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:13:49.369  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:13:49.369  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8500: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:13:49.370  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:13:49.373  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 12:13:49.394  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:13:49.394  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.394  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.394  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.394  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:13:49.394  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.394  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.395  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.395  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.395  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.395  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.395  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.395  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:13:49.395  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:13:49.404  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:13:49.405  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16ea480
12-06 12:13:49.405  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.406  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.406  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:13:49.406  3501 30241 I audio_hw_primary: out_standby_direct(0xf16ea480),out 0xf16ea480
12-06 12:13:49.406  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.407  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.407  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16ea480
12-06 12:13:49.407  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.407  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.407  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:13:49.408  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16ea480
12-06 12:13:49.408  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.408  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.408  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.409  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16ea480
12-06 12:13:49.409  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.409  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.409  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:13:49.410  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16ea480
12-06 12:13:49.410  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.410  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.410  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.411  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.411  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.413  3501 30241 D audio_hw_primary: out_dump(0xf16ea480, 21)
12-06 12:13:49.415  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.415  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.421  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:13:49.421  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:13:49.421  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.421  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:13:49.421  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:13:49.421  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.421  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:13:49.421  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.421  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.421  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.421  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.421  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.421  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.421  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:13:49.421  3501 10201 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:13:49.421  3501 10201 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.421  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.421  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.421  3501 10201 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:13:49.421  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.421  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.422  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:13:49.422  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.422  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.422  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.422  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.422  3501 10201 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:13:49.422  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:13:49.424  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:13:49.424  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:13:49.424  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:13:49.428  3501 30241 I audio_hw_primary: out_standby_direct(0xf16eab80),out 0xf16eab80
12-06 12:13:49.428  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.428  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.435  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.461  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:13:49.461  3501 30241 I aml_mmap_audio: [outMmapInit:302] stream:0xf16ea480
12-06 12:13:49.461  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:13:49.461  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.461  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.461  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.461  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.461  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.461  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.461  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.461  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.461  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.461  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16ea480, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:13:49.461  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:13:49.463  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:13:49.467  3501 30241 I audio_hw_primary: out_set_volume(), stream(0xf16ea480), left:0.000000 right:0.000000 
12-06 12:13:49.473  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.473  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.476  3501 30241 D audio_hw_primary: out_dump(0xf16e8500, 24)
12-06 12:13:49.477  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.477  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.479  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:49.479  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.479  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.479  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:49.479  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8500)
12-06 12:13:49.479  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8500) usecase: [2]PCM_HWSYNC
12-06 12:13:49.479  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.479  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.479  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.481  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.481  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.481  3501 30241 D audio_hw_primary: out_dump(0xf16eab80, 19)
12-06 12:13:49.483  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.483  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.484  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:13:49.484  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:13:49.484  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.484  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:13:49.484  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:13:49.484  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.484  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:13:49.484  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.484  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.484  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.484  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.484  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.484  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.485  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.485  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.487  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:13:49.487  3501 30241 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.487  3501 30241 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.487  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:13:49.487  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.487  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:13:49.487  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:13:49.487  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:13:49.487  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.487  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.487  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.487  3501 30241 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16ea480
12-06 12:13:49.488  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.488  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.495  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:13:49.495  3501 30241 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:13:49.495  3501 30241 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:13:49.499  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.503  3501 30241 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:13:49.503  3501 30241 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:13:49.503  3501 30241 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:13:49.504  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:13:49.504  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:13:49.504  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.504  3501 30241 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:13:49.504  3501 30241 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:13:49.504  3501 30241 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:13:49.504  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.504  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.504  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.504  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.504  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.504  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.504  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.504  3501 30241 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.504  3501 30241 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16ea480, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:13:49.504  3501 30241 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:13:49.504  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:13:49.507  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:13:49.513  3501 30241 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16ea480) usecase: [2]PCM_HWSYNC
12-06 12:13:49.527  3501 30241 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:13:49.527  3501 30241 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.527  3501 30241 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.527  3501 30241 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.527  3501 30241 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:13:49.527  3501 30241 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.527  3501 30241 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.527  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.527  3501 30241 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.527  3501 30241 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.527  3501 30241 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.527  3501 30241 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.527  3501 30241 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:13:49.527  3501 30241 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16eab80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:13:49.534  3501 30241 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:13:49.536  3501 30241 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16eab80
12-06 12:13:49.536  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.536  3501 30241 D audio_hw_profile: query hdmi format...
12-06 12:13:49.537  3501 30241 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:13:49.537  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16eab80
12-06 12:13:49.537  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.537  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.537  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:13:49.538  3501 30241 I audio_hw_primary: out_standby_direct(0xf16eab80),out 0xf16eab80
12-06 12:13:49.538  3501 30241 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.538  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.539  3501 30241 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16eab80
12-06 12:13:49.539  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.539  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.539  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.540  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16eab80
12-06 12:13:49.540  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.540  3501 30241 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.540  3501 30241 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:13:49.541  3501 30241 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16eab80
12-06 12:13:49.541  3501 30241 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.541  3501 30241 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.541  3501 30241 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.542  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.542  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.543  3501 30241 D audio_hw_primary: out_dump(0xf16eab80, 21)
12-06 12:13:49.544  3501 30241 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.544  3501 30241 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.550  3501 30241 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:13:49.550  3501 30241 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16eab80)
12-06 12:13:49.550  3501 30241 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.550  3501 30241 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:13:49.550  3501 30241 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:13:49.550  3501 30241 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.550  3501 30241 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:13:49.550  3501 30241 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.550  3501 30241 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.550  3501 30241 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.550  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:13:49.550  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:13:49.550  3501 30241 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.550  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.550  3501 30241 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.550  3501 30241 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.550  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.551  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.551  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:13:49.551  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.551  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.551  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:49.551  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.551  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.551  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.551  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.551  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:13:49.551  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:13:49.553  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:13:49.553  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:13:49.553  3501 24515 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:13:49.556  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 12:13:49.556  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.556  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.563  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.585  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:13:49.585  3501 24515 I aml_mmap_audio: [outMmapInit:302] stream:0xf16e7e00
12-06 12:13:49.585  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:13:49.585  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.585  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.585  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.585  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:49.585  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.585  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.585  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.585  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.585  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.585  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:13:49.585  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:13:49.586  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:13:49.592  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf16e7e00), left:0.000000 right:0.000000 
12-06 12:13:49.598  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.598  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.598  3501 24515 D audio_hw_primary: out_dump(0xf16ea480, 24)
12-06 12:13:49.600  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.600  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.600  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:49.600  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.600  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.600  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:49.601  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:13:49.601  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16ea480) usecase: [2]PCM_HWSYNC
12-06 12:13:49.601  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.601  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.601  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.602  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.602  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.603  3501 24515 D audio_hw_primary: out_dump(0xf16e7700, 19)
12-06 12:13:49.604  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.604  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.606  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:13:49.606  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:13:49.606  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.606  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:13:49.606  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:13:49.606  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.606  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:13:49.606  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.606  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.606  3501 24515 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.606  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.606  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.606  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.607  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.607  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.609  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:13:49.609  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.609  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.609  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:13:49.609  3501 24515 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.609  3501 24515 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:13:49.609  3501 24515 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:13:49.609  3501 24515 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:13:49.609  3501 24515 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.609  3501 24515 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.609  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.609  3501 24515 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16e7e00
12-06 12:13:49.609  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.609  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.619  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.624  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:13:49.624  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:13:49.624  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:13:49.629  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:13:49.629  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:13:49.629  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:13:49.630  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:13:49.630  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:13:49.630  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.630  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:13:49.630  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:13:49.630  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:13:49.630  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.630  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.630  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:49.630  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.630  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.630  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.630  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.630  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.630  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e7e00, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:13:49.630  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:13:49.630  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7e00: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:13:49.632  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:13:49.635  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:13:49.653  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:13:49.654  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.654  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.654  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.655  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:13:49.655  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.655  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.655  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:49.655  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.655  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.655  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.655  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.655  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:13:49.655  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e7700: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:13:49.663  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:13:49.667  3501  2209 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e7700
12-06 12:13:49.667  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.668  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:13:49.668  3501  2209 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:13:49.674  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_sampling_rates,out 0xf16e7700
12-06 12:13:49.674  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.674  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.674  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000|88200|96000|176400|192000
12-06 12:13:49.674  3501  2209 I audio_hw_primary: get hwsync id
12-06 12:13:49.676  3501  2209 I audio_hw_primary: out_standby_direct(0xf16e7700),out 0xf16e7700
12-06 12:13:49.676  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.676  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.676  3501  2209 I audio_hw_primary: out_get_parameters format=1;sup_channels,out 0xf16e7700
12-06 12:13:49.676  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.677  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.677  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.677  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e7700
12-06 12:13:49.677  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.678  3501  2209 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:49.678  3501  2209 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:13:49.679  3501  2209 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e7700
12-06 12:13:49.679  3501  2209 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:49.679  3501  2209 D audio_hw_profile: query hdmi channels...
12-06 12:13:49.679  3501  2209 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:49.682  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.682  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.684  3501  2209 D audio_hw_primary: out_dump(0xf16e7700, 21)
12-06 12:13:49.687  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.687  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.694  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:13:49.694  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7700)
12-06 12:13:49.694  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.694  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:13:49.694  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:13:49.694  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.694  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:13:49.694  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.694  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.694  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.694  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.694  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.694  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.695  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:13:49.695  3501 24515 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:13:49.695  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:49.697  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:49.697  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.697  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:13:49.698  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.698  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.699  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:49.700  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.700  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.700  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.700  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.700  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:13:49.700  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:13:49.704  3501 10201 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:13:49.704  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:13:49.704  3501 10201 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:13:49.777  3501 10201 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:13:49.777  3501 10201 I aml_mmap_audio: [outMmapInit:302] stream:0xf1151000
12-06 12:13:49.777  3501 10201 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:13:49.778  3501 10201 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:49.778  3501 10201 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:49.778  3501 10201 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:49.778  3501 10201 D audio_hw_profile: query hdmi format...
12-06 12:13:49.778  3501 10201 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:49.778  3501 10201 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0x5 Sink Capability 0x1
12-06 12:13:49.778  3501 10201 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:49.778  3501 10201 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:49.778  3501 10201 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:49.778  3501 10201 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf1151000, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:13:49.778  3501 10201 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:13:49.779  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:13:49.872  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.874  3501  3807 E audio_virtual_buf: mixer_16bit_thread underrun happens read=144214742235 write=144080000000 diff=134742235
12-06 12:13:49.874  3501 24515 I audio_hw_primary: out_standby_direct(0xf16ea480),out 0xf16ea480
12-06 12:13:49.874  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:49.879  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.000000 right:0.000000 
12-06 12:13:49.883  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.886  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.886  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.888  3501  2209 D audio_hw_primary: out_dump(0xf16e7e00, 24)
12-06 12:13:49.890  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.890  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.892  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:49.892  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.892  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.892  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:49.892  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e7e00)
12-06 12:13:49.892  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7e00) usecase: [2]PCM_HWSYNC
12-06 12:13:49.892  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.892  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.892  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.894  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.894  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.895  3501  2209 D audio_hw_primary: out_dump(0xf16ea480, 19)
12-06 12:13:49.899  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:49.899  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.900  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:13:49.900  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:13:49.900  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.900  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:13:49.900  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:13:49.900  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:49.900  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:13:49.900  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.900  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.900  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:49.901  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.901  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.901  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:49.902  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:49.902  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:49.911  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:13:49.911  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:49.911  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:49.911  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:13:49.911  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:13:49.911  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:13:49.913  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:49.916  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:13:49.916  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:13:49.916  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 0
12-06 12:13:49.916  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:13:49.916  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:49.916  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf1151000
12-06 12:13:49.916  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:49.916  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:54.595  3501 24515 I audio_hw_primary: out_set_volume(), stream(0xf1151000), left:0.828896 right:0.828896 
12-06 12:13:56.757  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:13:56.757  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:13:56.757  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:13:56.757  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:13:56.757  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:13:56.757  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:13:56.766  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x4, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:13:56.767  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0x4, add out usecase:[0]PCM_NORMAL
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:13:56.767  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:13:56.767  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:13:56.767  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:624891904
12-06 12:13:56.767  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:13:56.767  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:13:56.767  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:13:56.779  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:13:56.787  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:13:56.795  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:13:56.805  3501  4804 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x5, out masks:0x4, out usecase [2]PCM_HWSYNC
12-06 12:13:56.805  3501  4804 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_main_buffer_write_sm !
12-06 12:13:56.805  3501  4804 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x5, out masks:0x5, out usecase [2]PCM_HWSYNC
12-06 12:13:56.811  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:13:57.188  3501 24515 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf1151000, standby 0, pause status 0, usecase: [2]PCM_HWSYNC
12-06 12:13:57.188  3501 24515 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:13:57.188  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf1151000, standby 0, pause status 1, usecase: [2]PCM_HWSYNC
12-06 12:13:57.188  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:13:57.194  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2887)
12-06 12:13:57.194  3501 24515 I audio_hw_primary: patch set found id 2887, patchset 0xf11aec00
12-06 12:13:57.194  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:13:57.194  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:13:57.194  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:13:57.194  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:13:57.194  3501  3807 W audio_hwsync_cbks: on_meta_data_cbk(), write in pause status
12-06 12:13:57.194  3501  3807 E amlaudioMixer: meta_data_cbk fail err = -22!!
12-06 12:13:57.194  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:13:57.194  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:13:57.194  3501  3807 I amlaudioMixer: [mixer_inports_read:737] output port:[1]PCM_DIRECT fade out, pausing->pausing_1, tsync pause audio
12-06 12:13:57.194  3501  3807 I audio_hwsync: aml_hwsync_set_tsync_pause(), send pause event
12-06 12:13:57.195  3501  3807 I audio_hw_utils: do fade out done,size 1536
12-06 12:13:57.195  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:13:57.195  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x5, delete out usecase:[2]PCM_HWSYNC cnt 1
12-06 12:13:57.195  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [2]PCM_HWSYNC
12-06 12:13:57.195  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:13:57.195  3501 24515 I aml_audio_port: remove_all_inport_messages(), msg what MSG_FLUSH
12-06 12:13:57.199  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:57.199  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:57.201  3501  2209 D audio_hw_primary: out_dump(0xf1151000, 23)
12-06 12:13:57.203  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:57.203  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:57.207  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:57.207  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:57.207  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:57.207  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:57.207  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_PAUSE when close stream
12-06 12:13:57.207  3501  2209 I audio_hw_primary: adev_close_output_stream_new set AUDIO_STOP when close stream
12-06 12:13:57.207  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:13:57.207  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf1151000) usecase: [2]PCM_HWSYNC
12-06 12:13:57.207  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:57.207  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:57.207  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:57.222  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0x5, out usecase [0]PCM_NORMAL
12-06 12:13:57.222  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:13:57.222  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:13:57.499  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hdmi_format=0)
12-06 12:13:57.499  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hdmi_format=0)
12-06 12:13:57.499  3501 24515 I audio_hw_primary: HDMI format: 0
12-06 12:13:57.512  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:13:57.512  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:13:57.512  3501 24515 I audio_hw_primary: patch found mix->dev id 2888, patchset 0xefd26400
12-06 12:13:57.512  3501 24515 D audio_hw_primary: register_audio_patch, found the former mix->dev patch set, remove it first
12-06 12:13:57.512  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:13:57.512  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:13:57.512  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:13:57.512  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:13:57.512  3501 24515 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:13:57.512  3501 24515 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:13:58.519  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, disconnect=1024)
12-06 12:13:58.519  3501 24515 I audio_hw_primary: adev_set_parameters(kv: disconnect=1024)
12-06 12:13:58.519  3501 24515 I audio_hw_primary: disconnect bHDMIConnected: 1024
12-06 12:13:58.531  3501 24515 I audio_hw_primary: ++adev_release_audio_patch: handle(2889)
12-06 12:13:58.531  3501 24515 I audio_hw_primary: patch set found id 2889, patchset 0xf11aec00
12-06 12:13:58.531  3501 24515 I audio_hw_primary: source 0 type=2 sink type =1 amk patch src=10
12-06 12:13:58.531  3501 24515 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:13:58.531  3501 24515 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:13:58.531  3501 24515 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:13:58.548  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, connect=1024)
12-06 12:13:58.548  3501 24515 I audio_hw_primary: adev_set_parameters(kv: connect=1024)
12-06 12:13:58.548  3501 24515 I audio_hw_primary: adev_set_parameters,connect bHDMIConnected: 1024
12-06 12:13:58.549  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0x1) flags(0x41)
12-06 12:13:58.550  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 19
12-06 12:13:58.550  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:58.550  3501 24515 D audio_hw_primary: adev_open_output_stream format=1 rate=32000
12-06 12:13:58.550  3501 24515 I audio_hw_primary: init resampler from 32000 to 48000!
12-06 12:13:58.550  3501 24515 D aml_audio_resampler: resampler_init, Init Resampler: input_sr = 32000, output_sr = 48000 
12-06 12:13:58.550  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:58.550  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:58.550  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:58.550  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:58.550  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:13:58.550  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:58.550  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:58.550  3501 24515 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:58.550  3501 24515 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16e8880, flags 0x41, hwsync lpcm 1, out format 0x1
12-06 12:13:58.550  3501 24515 I audio-subMixingFactory: initSubMixingInputPcm(), lpcm case
12-06 12:13:58.551  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e8880: usecase:[2]PCM_HWSYNC card:0 alsa devices:0
12-06 12:13:58.553  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 1,stream format 1)
12-06 12:13:58.556  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:13:58.570  3501 24515 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0) rate(0) format(0) flags(0x41)
12-06 12:13:58.570  3501 24515 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:58.571  3501 24515 I audio_hwsync: aml_audio_hwsync_init open tsync fd 20
12-06 12:13:58.571  3501 24515 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:58.571  3501 24515 D audio_hw_primary: adev_open_output_stream format=150994944 rate=48000
12-06 12:13:58.571  3501 24515 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:58.571  3501 24515 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:58.571  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:58.571  3501 24515 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:58.571  3501 24515 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:13:58.571  3501 24515 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:58.571  3501 24515 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:58.571  3501 24515 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [4]RAW_HWSYNC
12-06 12:13:58.571  3501 24515 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16e9d80: usecase:[4]RAW_HWSYNC card:0 alsa devices:0
12-06 12:13:58.580  3501 24515 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 9000000,stream format 9000000)
12-06 12:13:58.582  3501 24515 I audio_hw_primary: out_get_parameters sup_formats,out 0xf16e9d80
12-06 12:13:58.582  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:58.582  3501 24515 D audio_hw_profile: query hdmi format...
12-06 12:13:58.582  3501 24515 I audio_hw_primary: sup_formats=AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_IEC61937
12-06 12:13:58.583  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_sampling_rates,out 0xf16e9d80
12-06 12:13:58.583  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:58.583  3501 24515 D audio_hw_profile: query hdmi sample_rate...
12-06 12:13:58.583  3501 24515 I audio_hw_primary: sup_sampling_rates=32000|44100|48000
12-06 12:13:58.584  3501 24515 I audio_hw_primary: out_get_parameters format=218103808;sup_channels,out 0xf16e9d80
12-06 12:13:58.584  3501 24515 D audio_hw_profile: get_hdmi_sink_cap_dolbylib is running...
12-06 12:13:58.584  3501 24515 D audio_hw_profile: query hdmi channels...
12-06 12:13:58.584  3501 24515 I audio_hw_primary: sup_channels=AUDIO_CHANNEL_OUT_STEREO
12-06 12:13:58.587  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:58.587  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.587  3501 24515 I audio_hw_primary: out_standby_direct(0xf16e9d80),out 0xf16e9d80
12-06 12:13:58.588  3501 24515 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:58.588  3501 24515 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:58.590  3501 24515 D audio_hw_primary: out_dump(0xf16e9d80, 21)
12-06 12:13:58.592  3501 24515 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:58.592  3501 24515 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.604  3501 10201 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [4]RAW_HWSYNC
12-06 12:13:58.604  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(32000) format(0xd000000) flags(0x441)
12-06 12:13:58.604  3501 10201 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e9d80)
12-06 12:13:58.604  3501  2209 I audio_hw_primary: convert format IEC61937 to 0x9000000
12-06 12:13:58.604  3501 10201 D audio_hw_primary: out_standby_new: enter
12-06 12:13:58.604  3501  2209 I audio_hw_primary: adev_open_output_stream: for raw audio output,force alsa stereo output
12-06 12:13:58.604  3501 10201 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[4]RAW_HWSYNC , continuous:0
12-06 12:13:58.604  3501 10201 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[4]RAW_HWSYNC
12-06 12:13:58.604  3501 10201 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:58.604  3501 10201 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [4]RAW_HWSYNC
12-06 12:13:58.604  3501 10201 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:13:58.604  3501 10201 D audio_hw_primary: out_standby_new: exit
12-06 12:13:58.604  3501 10201 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:58.604  3501 10201 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:58.604  3501 10201 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:58.604  3501 10201 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:58.604  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 21
12-06 12:13:58.604  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:58.604  3501  2209 D audio_hw_primary: adev_open_output_stream format=150994944 rate=32000
12-06 12:13:58.604  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:58.604  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:58.605  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:13:58.605  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:58.605  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x9000000 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:13:58.605  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:58.605  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:58.605  3501  2209 I audio_hw_primary: adev_open_output_stream_new(), direct usecase: [3]RAW_DIRECT
12-06 12:13:58.605  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf1151000: usecase:[3]RAW_DIRECT card:0 alsa devices:0
12-06 12:13:58.608  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=32000, format 9000000,stream format d000000)
12-06 12:13:58.608  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937 6144)
12-06 12:13:58.608  3501  2209 I audio_hw_primary: out_get_buffer_size AUDIO_FORMAT_IEC61937(DIRECT) (eDolbyDcvLib) size = 1536)
12-06 12:13:58.616  3501  2209 I audio_hw_primary: out_standby_direct(0xf1151000),out 0xf1151000
12-06 12:13:58.617  3501  2209 I audio_spdif_out: aml_audio_set_spdif_format tinymix AML_MIXER_ID_SPDIF_FORMAT 0
12-06 12:13:58.617  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:58.618  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:58.637  3501  2209 D audio_hw_primary: adev_open_output_stream: enter: devices(0x400) channel_mask(0x3) rate(48000) format(0x1) flags(0x4011)
12-06 12:13:58.637  3501  2209 I aml_mmap_audio: [outMmapInit:302] stream:0xf16ea480
12-06 12:13:58.637  3501  2209 I audio_hwsync: aml_audio_hwsync_init open tsync fd 23
12-06 12:13:58.637  3501  2209 I audio_hwsync: aml_audio_hwsync_init done
12-06 12:13:58.637  3501  2209 D audio_hw_primary: adev_open_output_stream: exit
12-06 12:13:58.637  3501  2209 D audio_hw_profile: get_hdmi_sink_cap is running...
12-06 12:13:58.638  3501  2209 D audio_hw_profile: query hdmi format...
12-06 12:13:58.638  3501  2209 I audio_hw_primary: get_sink_capability mbox+dvb case sink_capability =  0x1
12-06 12:13:58.638  3501  2209 I audio_hw_primary: !!!get_sink_format() Sink devices 0x2 Source format 0x1 digital_format(hdmi_format) 0 Sink Capability 0x1
12-06 12:13:58.638  3501  2209 I audio_hw_primary: get_sink_format() HDMI ARC or mbox + dvb case
12-06 12:13:58.638  3501  2209 I audio_hw_primary: get_sink_format sink_format 0x1 optical_format 0x1, dual_output 0
12-06 12:13:58.638  3501  2209 I audio-subMixingFactory: ++initSubMixingInput()
12-06 12:13:58.638  3501  2209 I audio-subMixingFactory: ++initSubMixingInputPcm(), out 0xf16ea480, flags 0x4011, hwsync lpcm 0, out format 0x1
12-06 12:13:58.638  3501  2209 D audio_hw_primary: -adev_open_output_stream_new: out 0xf16ea480: usecase:[7]PCM_MMAP card:0 alsa devices:0
12-06 12:13:58.640  3501  2209 I audio_hw_primary: out_get_buffer_size(out->config.rate=48000, format 1,stream format 1)
12-06 12:13:58.651  3501  2209 I audio_hw_primary: out_set_volume(), stream(0xf16ea480), left:0.710396 right:0.710396 
12-06 12:13:58.665  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:58.665  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.667  3501  2209 D audio_hw_primary: out_dump(0xf16e8880, 24)
12-06 12:13:58.671  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:58.671  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.672  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [2]PCM_HWSYNC
12-06 12:13:58.672  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:58.672  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:58.672  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), lpcm case
12-06 12:13:58.672  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16e8880)
12-06 12:13:58.672  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e8880) usecase: [2]PCM_HWSYNC
12-06 12:13:58.672  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:58.672  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:58.672  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:58.675  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:58.675  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.676  3501  2209 D audio_hw_primary: out_dump(0xf1151000, 19)
12-06 12:13:58.679  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(exiting=1), out_device=0x400)
12-06 12:13:58.679  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.681  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [3]RAW_DIRECT
12-06 12:13:58.681  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf1151000)
12-06 12:13:58.681  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:13:58.681  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[3]RAW_DIRECT , continuous:0
12-06 12:13:58.681  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[3]RAW_DIRECT
12-06 12:13:58.681  3501  2209 I audio_hw_primary: enable rawtopcm_flag !!!
12-06 12:13:58.681  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [3]RAW_DIRECT
12-06 12:13:58.681  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:13:58.681  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:13:58.681  3501  2209 I audio_hw_primary: enable rawtopcm_flag
12-06 12:13:58.681  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:58.681  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:58.681  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:58.682  3501  2209 D audio_hw_primary: out_set_parameters(kvpairs(closing=true), out_device=0x400)
12-06 12:13:58.682  3501  2209 E audio_hw_primary: Amlogic_HAL - out_set_parameters: parameter is NULL, change ret value to 0 in order to pass VTS test.
12-06 12:13:58.689  3501  3807 I aml_audio_port: restart pcm device for same src
12-06 12:13:58.690  3501  2209 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [7]PCM_MMAP
12-06 12:13:58.690  3501  2209 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:13:58.690  3501  2209 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:13:58.690  3501  2209 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:13:58.690  3501  2209 D audio_hw_primary: out_standby_new: enter
12-06 12:13:58.690  3501  2209 I audio_hw_primary: [do_output_standby_l:6712] stream usecase:[7]PCM_MMAP , continuous:0
12-06 12:13:58.692  3501  2209 I audio_hw_primary: ++[usecase_change_validate_l:9428], dev masks:0x1, is_standby:1, out usecase:[7]PCM_MMAP
12-06 12:13:58.692  3501  2209 I audio_hw_primary: --[usecase_change_validate_l:9443], dev masks:0x1, is_standby:1, out usecase [7]PCM_MMAP
12-06 12:13:58.692  3501  2209 I audio_hw_primary: do_output_standby_l current usecase_masks 1
12-06 12:13:58.692  3501  2209 D audio_hw_primary: out_standby_new: exit
12-06 12:13:58.692  3501  2209 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:13:58.692  3501  2209 I aml_mmap_audio: [outMmapDeInit:340] stream:0xf16ea480
12-06 12:13:58.693  3501  2209 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:13:58.693  3501  2209 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:13:59.770  3501  2209 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:13:59.770  3501  2209 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:13:59.770  3501  2209 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:13:59.770  3501  2209 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:14:15.104  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, is_wifiAudioMode_enabled=0)
12-06 12:14:15.104  3501 24515 I audio_hw_primary: adev_set_parameters(kv: is_wifiAudioMode_enabled=0)
12-06 12:14:15.104  3501 24515 E audio_hw_primary: Amlogic_HAL - adev_set_parameters: is_wifiAudioMode_enabled:0.
12-06 12:14:15.115  3501 24515 I audio_hw_primary: ms12_enable :0
12-06 12:14:23.879  3501  2209 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:14:23.879  3501  2209 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=2,sink_config->type=1,aml_dev->patch_src=10
12-06 12:14:23.879  3501  2209 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:14:23.879  3501  2209 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee24cb48
12-06 12:14:23.879  3501  2209 I audio_hw_primary: aml_audio_output_routing: outport OUTPORT_HDMI already exists, do nothing
12-06 12:14:23.879  3501  2209 I audio_hw_primary: adev_create_audio_patch: mix->device patch: outport(2)
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0x1, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:14:23.904  3501  6534 W audio-subMixingFactory: [usecase_change_validate_l_sm:1339], usecase: [0]PCM_NORMAL already exists!!
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 2
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:14:23.904  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:14:23.904  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:14:23.904  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:625033216
12-06 12:14:23.904  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:14:23.904  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:14:23.904  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:14:23.915  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:14:23.922  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:14:23.931  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:14:23.947  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:14:24.932  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16ea480, standby 0, pause status 0, usecase: [0]PCM_NORMAL
12-06 12:14:24.932  3501  2209 I audio-subMixingFactory: -out_pause_subMixingPCM()
12-06 12:14:24.933  3501  2209 I audio-subMixingFactory: +out_pause_subMixingPCM(), stream 0xf16ea480, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 12:14:24.933  3501  2209 W audio-subMixingFactory: out_pause_subMixingPCM(), stream already paused
12-06 12:14:24.933  3501  2209 W StreamHAL: Error from HAL stream in function pause: Unknown error -3
12-06 12:14:24.938  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_PAUSE
12-06 12:14:24.938  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_PAUSE
12-06 12:14:24.939  3501  5281 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:14:24.940  3501  2209 I audio-subMixingFactory: +out_flush_subMixingPCM(), stream 0xf16ea480, standby 0, pause status 1, usecase: [0]PCM_NORMAL
12-06 12:14:24.940  3501  2209 I audio-subMixingFactory: -out_flush_subMixingPCM()
12-06 12:14:24.946  3501  3807 I aml_audio_port: get_inport_message(), msg: MSG_FLUSH
12-06 12:14:24.946  3501  3807 I amlaudioMixer: process_port_msg(), msg: MSG_FLUSH
12-06 12:14:25.038  3501 24515 D audio_hw_primary: adev_set_parameters(0xf1675240, hal_audio_state=off)
12-06 12:14:25.038  3501 24515 I audio_hw_primary: adev_set_parameters(kv: hal_audio_state=off)
12-06 12:14:25.038  3501 24515 I audio_hw_primary: adev_set_parameters, ret=3, value=off
12-06 12:14:25.038  3501 24515 I audio_hw_primary: adev_set_parameters, value=off, adev->hal_audio_open_times=0
12-06 12:14:25.038  3501 24515 I audio_hw_primary: Amlogic_HAL - adev_set_parameters: return 0 instead of length of data be copied.
12-06 12:14:25.040  3501 24515 D audio_hw_primary: adev_close_output_stream_new: enter usecase = [0]PCM_NORMAL
12-06 12:14:25.040  3501 24515 I audio-subMixingFactory: ++deleteSubMixingInput()
12-06 12:14:25.040  3501 24515 I audio-subMixingFactory: deleteSubMixingInputPcm(), cnt_stream_using_mixer 0
12-06 12:14:25.040  3501 24515 D audio_hw_primary: adev_close_output_stream: enter: dev(0xf1675240) stream(0xf16ea480)
12-06 12:14:25.040  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16ea480) usecase: [0]PCM_NORMAL
12-06 12:14:25.040  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 2
12-06 12:14:25.040  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
12-06 12:14:25.040  3501 24515 I audio_hwsync: aml_audio_hwsync_release done
12-06 12:14:25.040  3501 24515 D audio_hw_primary: adev_close_output_stream: exit
12-06 12:14:25.041  3501 24515 D audio_hw_primary: adev_close_output_stream_new: exit
12-06 12:14:25.041  3501 24515 D audio_hw_primary: adev_close: enter, adev=0xf1675240, g_adev = 0xf1675240, adev->count=4
12-06 12:14:25.041  3501 24515 I audio_hw_primary: adev_close, test============, not enter adev_close 
12-06 12:14:26.888  3501 24515 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:14:26.888  3501 24515 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:14:26.888  3501 24515 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:14:26.888  3501 24515 I amlaudioMixer: [delete_mixer_input_port:187] input port:1
12-06 12:14:34.511  3501 24515 D audio_hw_primary: adev_open_input_stream: enter: devices(0x80000004) channel_mask(0x10) rate(16000) format(0x1) source(6)
12-06 12:14:34.511  3501 24515 D audio_hw_primary: check_input_parameters(sample_rate=16000, format=1, channel_count=1, devices = 80000004)
12-06 12:14:34.511  3501 24515 D audio_hw_primary: adev_open_input_stream: in->requested_rate = 16000, in->config.rate = 48000
12-06 12:14:34.511  3501 24515 D audio_hw_primary: adev_open_input_stream: exit
12-06 12:14:34.514  3501 24515 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 12:14:34.514  3501 24515 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 12:14:34.514  3501 24515 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 12:14:34.515  3501 24515 D audio_hw_primary: in_get_buffer_size: enter: channel_mask(0x10) rate(16000) format(0x1)
12-06 12:14:34.515  3501 24515 D audio_hw_primary: get_input_buffer_size(sample_rate=16000, format=1, channel_count=1)
12-06 12:14:34.515  3501 24515 D audio_hw_primary: in_get_buffer_size: exit: buffer_size = 2048
12-06 12:14:34.517  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:34.517  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 1
12-06 12:14:34.517  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:34.536  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:34.536  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 1
12-06 12:14:34.536  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:34.544  3501 24515 I audio_hw_primary: ++adev_create_audio_patch
12-06 12:14:34.544  3501 24515 I audio_hw_primary: +adev_create_audio_patch num_sources [1] , num_sinks [1],src_config->type=1,sink_config->type=2,aml_dev->patch_src=10
12-06 12:14:34.544  3501 24515 I audio_hw_primary: --register_audio_patch: after registering new patch, patch sets will be:
12-06 12:14:34.544  3501 24515 I audio_hw_primary: adev_create_audio_patch(), patch new handle for AF: 0xee34db48
12-06 12:14:34.544  3501 24515 I audio_hw_primary: adev_create_audio_patch: device->mix patch: inport(INPORT_BUILTIN_MIC)
12-06 12:14:34.549  3501  5691 D AudioALSADeviceParser: auge sound card, pAdd=0xf165a140 fix alsaPORT:0 to :1
12-06 12:14:34.549  3501  5691 D audio_hw_primary: *start_input_stream, open alsa_card(0 0) alsa_device(1), in_device:0x4
12-06 12:14:34.601  3501  5691 D audio_hw_primary: pcm_open in: card(0), port(0)
12-06 12:14:34.601  3501  5691 D audio_hw_primary: add_in_stream_resampler: in->requested_rate = 16000, in->config.rate = 48000
12-06 12:14:34.601  3501  5691 D audio_hw_primary: start_input_stream: device(4) channels=1 rate=48000 requested_rate=16000 mode= 0
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: ++++[usecase_change_validate_l_sm:1331],continuous:0 dev masks:0, out masks:0, out usecase [0]PCM_NORMAL
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), add usecase [0]PCM_NORMAL, cnt 1
12-06 12:14:36.335  3501  6534 D audio-subMixingFactory: [usecase_change_validate_l_sm:1353] cur dev masks:0, add out usecase:[0]PCM_NORMAL
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: usecase_change_validate_l_sm(), mixer_aux_buffer_write_sm !
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: ----[usecase_change_validate_l_sm:1387], continuous:0 dev masks:0x1, out masks:0x1, out usecase [0]PCM_NORMAL
12-06 12:14:36.335  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:14:36.335  3501  6534 D aml_audio_port: [new_input_port:308] inport:[0]PCM_SYSTEM, rbuf size:6144, direct_on:0, format:0x1, rate:48000
12-06 12:14:36.335  3501  6534 I amlaudioMixer: [init_mixer_input_port:166] input port:[0]PCM_SYSTEM, size 384 frames, frame_write_sum:625172480
12-06 12:14:36.335  3501  6534 I aml_audio_port: get_input_port_type(), samplerate 48000
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: [mixer_aux_buffer_write_sm:1172] stream 0xf16e7000 input port:[0]PCM_SYSTEM
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 16384
12-06 12:14:36.335  3501  6534 I amlaudioMixer: [mixer_write_inport:334] input port:[0]PCM_SYSTEM is active now
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 14336
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 12288
12-06 12:14:36.335  3501  6534 I audio-subMixingFactory: padding_bytes 10240
12-06 12:14:36.347  3501  6534 I audio-subMixingFactory: padding_bytes 8192
12-06 12:14:36.355  3501  6534 I audio-subMixingFactory: padding_bytes 6144
12-06 12:14:36.363  3501  6534 I audio-subMixingFactory: padding_bytes 4096
12-06 12:14:36.378  3501  6534 I audio-subMixingFactory: padding_bytes 2048
12-06 12:14:39.963  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:39.963  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 0
12-06 12:14:39.972  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:39.979  3501 10201 I audio_hw_primary: ++adev_release_audio_patch: handle(2891)
12-06 12:14:39.979  3501 10201 I audio_hw_primary: patch set found id 2891, patchset 0xf11aec00
12-06 12:14:39.979  3501 10201 I audio_hw_primary: source 0 type=1 sink type =2 amk patch src=7
12-06 12:14:39.979  3501 10201 D audio_hw_primary: unregister_audio_patch: enter
12-06 12:14:39.979  3501 10201 D audio_hw_primary: unregister_audio_patch: exit
12-06 12:14:39.979  3501 10201 I audio_hw_primary: --adev_release_audio_patch: after releasing patch, patch sets will be:
12-06 12:14:40.000  3501 24515 D audio_hw_primary: adev_close_input_stream: enter: dev(0xf1675240) stream(0xf162c8c0)
12-06 12:14:40.000  3501 24515 D audio_hw_primary: in_standby: enter: stream(0xf162c8c0)
12-06 12:14:40.000  3501 24515 D audio_hw_primary: do_input_standby(0xf162c8c0) in->standby = 1
12-06 12:14:40.000  3501 24515 D audio_hw_primary: in_standby: exit
12-06 12:14:40.000  3501 24515 D eagle_echo: [release_echo_buffer] free(g_echo_para.echobuf)
12-06 12:14:40.000  3501 24515 D audio_hw_primary: adev_close_input_stream: exit
12-06 12:14:41.145  3501  3501 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf16e7000) usecase: [0]PCM_NORMAL
12-06 12:14:41.145  3501  3501 I audio-subMixingFactory: [usecase_change_validate_l_sm:1289] cur dev masks:0x1, delete out usecase:[0]PCM_NORMAL cnt 1
12-06 12:14:41.145  3501  3501 I audio-subMixingFactory: usecase_change_validate_l_sm(), standby unmask usecase [0]PCM_NORMAL
12-06 12:14:41.145  3501  3501 I amlaudioMixer: [delete_mixer_input_port:187] input port:0
