Hallo Richard,
can you please have a look to the output of the following command?
cat /proc/asound/cards
You may see different audio devices like for example:
> 0 [PCH ]: HDA-Intel - HDA Intel PCH
> HDA Intel PCH at 0xf1240000 irq 128
> 1 [Digital ]: USB-Audio - Pre Box S2 Digital
> Pro-Ject Pre Box S2 Digital at usb-0000:00:14.0-4, high speed
You can have a look which are the concerning kernel modules driving the listed audio cards with:
cat /proc/asound/modules
> 0 snd_hda_intel
> 1 snd_usb_audio
If you want to change the order use:
vi /etc/modprobe.d/sound-cards-order.conf
→ /etc/modprobe.d/sound-cards-order.conf:
options snd_usb_audio index=0
options snd_hda_intel index=1
← /etc/modprobe.d/sound-cards-order.conf:
reboot
You can have a look about stream linked devices while playing audio with:
cat /proc/asound/card0/stream0:
Pro-Ject Pre Box S2 Digital at usb-0000:00:14.0-1, high speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 1
Packet Size = 582
Momentary freq = 96007 Hz (0x60.01e8)
Feedback Format = 10.14
Interface 1
Altset 1
Format: S24_3LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 32000, 44100, 48000, 88200, 96000
This may be the first steps debugging your problem.