Skip to content

Instantly share code, notes, and snippets.

View dragonJACson's full-sized avatar
🐟
Touching Fish

Luke Yue dragonJACson

🐟
Touching Fish
View GitHub Profile
@dragonJACson
dragonJACson / gist:6cbc695196276364032cc7d6b8277ba5
Created August 5, 2021 12:46 — forked from Fusl/gist:3a708b8c32c9d5264fa0
Streaming audio output from Linux (Pulseaudio) to Windows
# Windows (receiver) side:
.\ffplay.exe -nodisp -ac 2 -acodec pcm_u8 -ar 48000 -analyzeduration 0 -probesize 32 -f u8 -i udp://0.0.0.0:18181?listen=1
# Linux (transmitter) side:
pactl load-module module-null-sink sink_name=remote
ffmpeg -f pulse -i "remote.monitor" -ac 2 -acodec pcm_u8 -ar 48000 -f u8 "udp://RECEIVER:18181"
pavucontrol # Change the default output to the Null sink or move single applications to this "output" device.

Keybase proof

I hereby claim:

  • I am dragonjacson on github.
  • I am lukedyue (https://keybase.io/lukedyue) on keybase.
  • I have a public key ASAyYETQOYFR-g87rMDi21U0otzsCpur1gtrumdQzi7Xgwo

To claim this, I am signing this object:

// 将设置放入此文件中以覆盖默认设置
{
"editor.fontFamily": "Inziu Iosevka Slab SC",
"editor.fontSize": 18,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe",
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "vscode-icons",
"editor.quickSuggestions": {