xmos / sw_usb_audio

XMOS USB Audio reference design
Other
32 stars 17 forks source link

S/PDIF no input, PortAudio error "cannot do in current context" #166

Closed danielpieczko closed 1 year ago

danielpieczko commented 1 year ago

Seen on the ARM-based MacOS Jenkins agent during S/PDIF input tests on the xk_316_mc board. So far this has been seen at sample rates of 176400 and 192000.

Output from xsig:

Configured for 10 in, 0 out.
Found Host API: Core Audio
Attemping Match with: XMOS xCORE.ai MC (UAC2.0)
Found Device 0: XMOS xCORE.ai MC (UAC2.0)
Using Device 0: XMOS xCORE.ai MC (UAC2.0)
||PaMacCore (AUHAL)|| Error on line 2523: err='-10863', msg=Audio Unit: cannot do in current context
Test complete
danielpieczko commented 1 year ago

Seen on xk_316_mc with all S/PDIF input configs: 2AMi10o10xssxxx, 2AMi10o8xsxxxx and 2ASi10o10xssxxx.

danielpieczko commented 1 year ago

This happened on both MacOS agents during the latest weekend run, and then seemed to happen consistently in all runs after that. I rebooted them and it has appeared to go away, so maybe a host OS issue that is solved by a reboot.

danielpieczko commented 1 year ago

Closing as this has not re-appeared since I rebooted the agent.