将 MacOS 声音投放到 iPhone

Tags
macos

背景:

Spotify 美区账号不能在手机 APP 打开了,需要美区 VPN 才行,我只有香港的

但是桌面版能用,但 MacOS 没有 Lightning 接口,只有 3.5mm 接口,不能使用买 iPhone 送的耳机

买了 Type C 转 Lightning 转接头,但发现只能用来充电手机,不能用做音频输出

AirDrop ? 好像不行

第三方软件 Airfoil 不够完美

================

https://apple.stackexchange.com/questions/34730/send-audio-output-of-macbook-to-iphone-for-remote-listening?newreg=8430423c924145febb6eebf7c2ebde31```brew install soxbrew cask install soundflower vlc# soundflower 创建虚拟音频输出设备# sox 捕获输出设备的输入将数据写到标准输出,使用管道吐给 vlc 生成 http 流sox -t coreaudio "Soundflower (2ch)" -t mp3 -C 96 -q - | vlc - --sout "#standard{access=http,mux=mp3,dst=0.0.0.0:9090}" --intf dummy# -C 设置音频质量 -q 隐藏输入输出状态# 最后手机使用 vlc 接收 http 流: http://<IP>:9090```有较高延迟(2s 以上)

耗电量较大

SuperMade with Super