Skip to content

Instantly share code, notes, and snippets.

@lefthandedgoat
Last active March 6, 2025 00:32
Show Gist options
  • Save lefthandedgoat/7f2207256ea5af42dcb2bdf0caead30d to your computer and use it in GitHub Desktop.
Save lefthandedgoat/7f2207256ea5af42dcb2bdf0caead30d to your computer and use it in GitHub Desktop.
usb_g_audio.conf
file: /etc/modprobe.d/usb_g_audio.conf
#have many options presented to usb host
options g_audio iManufacturer="lefthandedgoat audio" iProduct="cdsp" c_srate=44100,48000,88200,96000,176400,192000,352800,384000,705600,768000 c_ssize=4 p_chmask=0
#only 192000
options g_audio iManufacturer="lefthandedgoat audio" iProduct="cdsp" c_srate=192000 c_ssize=4 p_chmask=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment