ARVideoKit icon indicating copy to clipboard operation
ARVideoKit copied to clipboard

Playing audio in node - crash

Open pionl opened this issue 7 years ago • 1 comments

Hi, when I want to play an audio via runAction the sound is not played. When recording the app crashes. If I remove recorder, sound is working.

I've tried multiple ways how to play the sound until I found that the recorder has caused the issue.

SceneKit`__UpdateAudioTransform:
    0x1990e776c <+0>:   stp    x22, x21, [sp, #-0x30]!
    0x1990e7770 <+4>:   stp    x20, x19, [sp, #0x10]
    0x1990e7774 <+8>:   stp    x29, x30, [sp, #0x20]
    0x1990e7778 <+12>:  add    x29, sp, #0x20            ; =0x20 
    0x1990e777c <+16>:  mov    x20, x0
->  0x1990e7780 <+20>:  ldrb   w8, [x20, #0xde]
    0x1990e7784 <+24>:  tbz    w8, #0x4, 0x1990e77e4     ; <+120>
    0x1990e7788 <+28>:  adrp   x8, 101960
    0x1990e778c <+32>:  add    x8, x8, #0x7c8            ; =0x7c8 
    0x1990e7790 <+36>:  ldr    x1, [x8]
    0x1990e7794 <+40>:  mov    x0, x20
    0x1990e7798 <+44>:  bl     0x1991f24cc               ; C3DEntityGetAttribute
    0x1990e779c <+48>:  mov    x19, x0
    0x1990e77a0 <+52>:  mov    x0, x20
    0x1990e77a4 <+56>:  bl     0x1990e46c0               ; C3DNodeGetWorldMatrix
    0x1990e77a8 <+60>:  mov    x20, x0
    0x1990e77ac <+64>:  mov    x0, x19
    0x1990e77b0 <+68>:  bl     0x1940cd95c
    0x1990e77b4 <+72>:  mov    x21, x0
    0x1990e77b8 <+76>:  cmp    x21, #0x1                 ; =0x1 
    0x1990e77bc <+80>:  b.lt   0x1990e77e4               ; <+120>
    0x1990e77c0 <+84>:  mov    x22, #0x0
    0x1990e77c4 <+88>:  mov    x0, x19
    0x1990e77c8 <+92>:  mov    x1, x22
    0x1990e77cc <+96>:  bl     0x1940cd960
    0x1990e77d0 <+100>: mov    x1, x20
    0x1990e77d4 <+104>: bl     0x199223aac               ; C3DAudioPlayerSetTransform
    0x1990e77d8 <+108>: add    x22, x22, #0x1            ; =0x1 
    0x1990e77dc <+112>: cmp    x21, x22
    0x1990e77e0 <+116>: b.ne   0x1990e77c4               ; <+88>
    0x1990e77e4 <+120>: ldp    x29, x30, [sp, #0x20]
    0x1990e77e8 <+124>: ldp    x20, x19, [sp, #0x10]
    0x1990e77ec <+128>: ldp    x22, x21, [sp], #0x30
    0x1990e77f0 <+132>: ret    

pionl avatar Jan 31 '18 15:01 pionl

Probably this issue? https://stackoverflow.com/questions/45417930/multiple-scnview-audio-error

pionl avatar Jan 31 '18 15:01 pionl