I'm experiencing audio issues while developing for visionOS when playing PCM data through AVAudioPlayerNode.
Issue Description:
- Occasionally, the speaker produces loud popping sounds or distorted noise
- This occurs during PCM audio playback using AVAudioPlayerNode
- The issue is intermittent and doesn't happen every time
Technical Details:
- Platform: visionOS
- Device: vision pro / simulator
- Audio Framework: AVFoundation
- Audio Node: AVAudioPlayerNode
- Audio Format: PCM
I would appreciate any insights on:
- Common causes of audio distortion with AVAudioPlayerNode
- Recommended best practices for handling PCM playback in visionOS
- Potential configuration issues that might cause this behavior
Has anyone encountered similar issues or found solutions? Any guidance would be greatly helpful.
Thank you in advance!