camilladsp
camilladsp copied to clipboard
Failure with AirPods Pro on MacOS
I was trying to create a pipeline for a pair of AirPods Pro on MacOS using the following simplified config file. The config file works on other output devices. It does not work on AirPods Pro. camilladsp stops working with an error message in the log as shown below. Am I doing something wrong or could this be an actual issue?
devices:
samplerate: 44100
chunksize: 4096
capture:
type: CoreAudio
channels: 2
device: BlackHole 2ch
format: FLOAT32LE
playback:
type: CoreAudio
channels: 2
device: AirPods Pro - Find My
format: FLOAT32LE
mixers:
stereo:
channels:
in: 2
out: 2
mapping:
- dest: 0
sources:
- channel: 0
gain: 0
- dest: 1
sources:
- channel: 1
gain: 0
pipeline:
- type: Mixer
name: stereo
Following is the log.
2024-06-06 01:28:12.290231 DEBUG [src/processing.rs:19] build filters, waiting to start processing loop
2024-06-06 01:28:12.292813 ERROR [src/bin.rs:286] Playback error: Invalid property value
2024-06-06 01:28:12.292818 DEBUG [src/bin.rs:291] Error while starting, release barrier
2024-06-06 01:28:12.293190 DEBUG [src/coreaudiodevice.rs:261] Available capture devices: ["AirPods Pro - Find My", "BlackHole 2ch", "MacBook Pro Microphone", "BoomAudio", "Microsoft Teams Audio"]
2024-06-06 01:28:12.310703 DEBUG [src/coreaudiodevice.rs:306] Set phys capture stream format
2024-06-06 01:28:12.311024 DEBUG [src/coreaudiodevice.rs:318] Set capture stream format
2024-06-06 01:28:12.318060 DEBUG [src/coreaudiodevice.rs:332] Opened CoreAudio capture device Some("BlackHole 2ch")
2024-06-06 01:28:12.318648 DEBUG [src/coreaudiodevice.rs:1096] Capture device has 2 clock sources
2024-06-06 01:28:12.319147 DEBUG [src/coreaudiodevice.rs:1120] Available capture device clock source ids: [0, 1], names: ["Internal Fixed", "Internal Adjustable"]
2024-06-06 01:28:12.319152 INFO [src/coreaudiodevice.rs:1172] The capture device supports pitch control
2024-06-06 01:28:12.319154 DEBUG [src/coreaudiodevice.rs:1016] Changing capture device clock source to item with index 1
2024-06-06 01:28:12.319762 DEBUG [src/coreaudiodevice.rs:748] Capture device ready and waiting
2024-06-06 01:28:12.319773 DEBUG [src/coreaudiodevice.rs:754] Capture device starts now!
2024-06-06 01:28:12.319777 DEBUG [src/processing.rs:21] Processing loop starts now!
2024-06-06 01:28:12.319783 DEBUG [src/bin.rs:294] Wait for capture thread to exit..
2024-06-06 01:28:12.330922 DEBUG [src/coreaudiodevice.rs:766] Exit message received, sending EndOfStream
2024-06-06 01:28:12.330945 INFO [src/processing.rs:37] Playback thread has already stopped.
2024-06-06 01:28:12.362244 DEBUG [src/bin.rs:1038] Processing ended with status Ok(Restart)
2024-06-06 01:28:12.362257 DEBUG [src/bin.rs:1052] Restarting with new config
2024-06-06 01:28:12.362259 DEBUG [src/bin.rs:994] Wait for config
2024-06-06 01:28:12.362261 DEBUG [src/bin.rs:1004] Wait mode is disabled, there are no queued commands, and no new config. Exiting.