how to capture audio input in vision os

Hi, does anyone know how to capture audio input in vision os? I tried the sample code from official examples https://developer.apple.com/documentation/avfoundation/avcapturesession , but it did work.

how to capture audio input in vision os
 
 
Q