Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio - NULL Capture Device on Mac #353

Open
gwio opened this issue Nov 30, 2023 · 1 comment
Open

Audio - NULL Capture Device on Mac #353

gwio opened this issue Nov 30, 2023 · 1 comment

Comments

@gwio
Copy link

gwio commented Nov 30, 2023

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.

@jschmdt
Copy link

jschmdt commented May 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants