patriciogonzalezvivo/glslViewer

Audio - NULL Capture Device on Mac

Opened this issue · 1 comments

gwio commented

Hi.
I'm on OS 14.1.1 on a M2 air.
When trying to run the audio examples I'm no longer able to route any audio source.

Loading capture device
0: NULL Capture Device

Tried both, compiling from scratch and the Homebrew version with no success.

Using ffmpeg -list_device, I get the usual devices:
[AVFoundation indev @ 0x12d605dc0] AVFoundation audio devices:
[AVFoundation indev @ 0x12d605dc0] [0] Mikrofon von „Tel2“
[AVFoundation indev @ 0x12d605dc0] [1] BlackHole 2ch
[AVFoundation indev @ 0x12d605dc0] [2] MacBook Air-Mikrofon
[AVFoundation indev @ 0x12d605dc0] [3] Hauptgerät

On compile textureStreamAudio.cpp is throwing a bunch of deprecation warnings.

Can confirm on Macbook Pro M3, OSX Sonoma 14.4.1, glslViewer 3.30

This affects audio as well as webcam video-input (will open a separate issue for this).
EDIT: Here's the thread regarding video input #358

FFMPEG:

[AVFoundation indev @ 0x138005ea0] AVFoundation video devices:
[AVFoundation indev @ 0x138005ea0] [0] FaceTime HD-Kamera
[AVFoundation indev @ 0x138005ea0] [1] Capture screen 0
[AVFoundation indev @ 0x138005ea0] [2] Capture screen 1
[AVFoundation indev @ 0x138005ea0] AVFoundation audio devices:
[AVFoundation indev @ 0x138005ea0] [0] MacBook Pro-Mikrofon

Testing with glslViewer shows NULL:

glslViewer test_audio_spectogram.frag -l --audio

Capture devices available
0: NULL Capture Device
Loading capture device
0: NULL Capture Device