e42.uk Circle Device

 

Quick Reference

mpv

mpv

Selecting Audio Output Device

Find a list of current audio output devices with aplay:

aplay -l
card 1: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

It is also possible to list the devices from mpv, this is better as it also shows what support was compiled into the executable:

mpv --audio-device=help
List of detected audio devices:
  'auto' (Autoselect device)
  'alsa' (Default (alsa))
  'alsa/hdmi:CARD=HDMI,DEV=0' (HDA ATI HDMI, PL2760Q/HDMI Audio Output)

Here there is one output device 0 on card 1. To select this device when using mpv use the --audio-device command line option:

mpv --audio-device=alsa/hw:1,0

This may also be set in the configuration file for system (/etc/mpv/mpv.conf) or user specific (~/.config/mpv/mpv.conf).

audio-device=alsa/hw:1,0

References

Quick Links: Techie Stuff | General | Personal | Quick Reference