Defaulting VLC to the front jack of the PC

Support with sound and multimedia cards on GhostBSD
Post Reply
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

Defaulting VLC to the front jack of the PC

Post by nevets »

The device VLC uses to playback audio on the front jack is pcm5:Virtual as dsp5.vp0

Now VLC ignores any settings from the MATE -> Applications -> sounds app.
And while /dev shows a dsp5.0 special file the /dev/dsp5.vp0 is only created once VLC is pointed there, and disappears once VLC quits.

I thought I could add a srting here in VLC:
Advanced setting -> audio -> output modules -> OSS -> Audio output device -> ""
but VLC's data descriptions for the path variable don't show the string types or examples.
I tried
"/dev/dsp5.vp0"
both with and without the ".

Anyone have any pointers [excuse te pun] to getting VLC to default assign the /dev/dsp5.vp0 device please?
Steve
chadbsd
Posts: 26
Joined: Thu Oct 05, 2023 8:53 pm

Re: Defaulting VLC to the front jack of the PC

Post by chadbsd »

It seems like you're trying to set VLC to use a specific audio output device, `/dev/dsp5.vp0`, on your system, but you're encountering issues with the configuration. VLC's settings can be a bit finicky when it comes to specifying audio output devices, and it might not always work as expected. Here are some steps you can try to set VLC to use the `/dev/dsp5.vp0` device:

Open VLC Preferences: Open VLC, then go to `Tools -> Preferences` (or press `Ctrl+P` on your keyboard).

Show All Settings: In the lower-left corner of the Preferences window, check the "Show All" option to access advanced settings.

Select Audio: In the left sidebar, click on "Audio."

Choose the Output Module: Under the "Audio" section, look for "Output modules" and select "OSS."

Configure the Audio Output Device: You should see an option labeled "Audio output device." Here, try entering `/dev/dsp5.vp0` without quotes. Make sure there are no extra spaces or characters.

Save the Settings: Click the "Save" button at the bottom of the Preferences window to apply the changes.

Restart VLC: Close VLC and then reopen it to see if the changes have taken effect.

If VLC still doesn't use the `/dev/dsp5.vp0` device after following these steps, there may be some compatibility issues with your system's audio setup. In that case, you might need to consider other methods to route audio to your desired output device.

Additionally, you can check your system's audio settings to ensure that `/dev/dsp5.vp0` is set as the default audio output device there as well. Depending on your operating system, the process for configuring default audio output devices can vary.

Please note that VLC's behavior can differ slightly depending on the operating system and VLC version you are using, so the steps provided may not be an exact match for your setup. If you continue to experience issues, you might want to consult VLC's official documentation or seek assistance from the VLC community or your system's support resources.
Post Reply