My /etc/asound.conf contains this:
Code: Select all
defaults.pcm.card 0
defaults.pcm.device 3
defaults.ctl.card 0
defaults.ctl.device 3
Code: Select all
defaults.pcm.card 0
defaults.pcm.device 3
defaults.ctl.card 0
defaults.ctl.device 3
Apparently not. I upgraded to openSUSE 42.1 and the bug exists. I reported this on the openSUSE forums. I have had over 200 views and not a single suggestion, so I will copy the text of my openSUSE post here.That bug was already fixed some time ago.
First off, I should state that I do not use pulse audio. I have never been satisfied with it's performance concerning surround sound and other high quality audio. I run alsa, which uses the snd-virtuoso driver for my Xonar DS card. All other system sounds seem to work correctly.
Ever since I did a fresh install of openSUSE 42.1, VLC exhibits very strange behavior concerning sound. In settings, I choose Alsa for sound and under device, it gives me more than a dozen options for my Xonar DS card, such as 5.1, 7.1, Xonar DS default audio device, etc.. Regardless of which I choose and save, when I open VLC and open a file, I get just a fraction of a second of sound and then silence. When I use the menu to select the audio device, it has changed it's self to Xonar DS, Multichannel IEC958 (S/PDIF) Digital Audio Output, which is the last device on the list.
I am able to manually change it to the card I chose in setting via the menus and restore sound, but this happens every time I open VLC. If I keep the interface open and open other files, the settings seem to remain intact. Deleting the VLC settings in my home folder seems to have no effect. This seems to be unique to VLC. SMPlayer and all others seem to work correctly.
I should have mentioned that I don't have S/PDIF capability on my system, so I get no sound when VLC reverts to it each time. I do not have "use s/pdif" enabled in my settings
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 38 guests