You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, March 3rd 2006, 11:52pm

how to change sound dev in kaffeine/amarok

Is there an easy way to change the sound device in kaffeine/amarok
from /dev/dsp to /dev/dsp1? Sometimes I would rather use my usb headphones.

Thanks
JA

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Saturday, March 4th 2006, 12:23am

RE: how to change sound dev in kaffeine/amarok

You should change this in the backend you're using.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Saturday, March 4th 2006, 9:55pm

If you are using amarok with the gstreamer-engine, you may specify the sound device to be used. Just check the box an enter the sound device to be used, for example /dev/dsp1.
I don't know how to configure xine to use /dev/dsp1, but I will tell you as soon as I find out how to do it.

4

Saturday, March 4th 2006, 10:26pm

I thought a screenshot might perhaps help you. Here it is:
bauerfichtner has attached the following image:
  • devdsp1.jpg

5

Saturday, March 4th 2006, 11:04pm

Here is the solution if you are using amarok with the xine-engine:
First, you have to change "Ausgabe-Modul" (see screenshot, I don't kown how it is called in english) from "auto" to a specific driver. I chose "oss" for the screenshot.
Then you have to select the desired sound device. I could only change between /dev/dsp and /dev/sound/dsp. I have to soundcards, /dev/dsp and /dev/dsp1. So I created the directory /dev/sound an created a symbolic link /dev/sound/dsp, pointing to /dev/dsp1. I had to restart amarok, then it worked properly.
bauerfichtner has attached the following image:
  • devdsp2.jpg

6

Saturday, March 4th 2006, 11:18pm

And here is the solution if you are using kaffeine with the xine-engine:
You have to configure the "xine engine parameters". Find the options for "audio" and set the driver to be uesd from "auto" to "oss". Save the setting and restart kaffeine (the config-file has to be re-read). Open the configuration dialog for the xine engine parameters and find "device.oss_device_name". Set it to "/dev/sound/dsp" and do not forget that you probably need a symbolic link /dev/sound/dsp pointing to /dev/dsp1.
This worked fine for me, but, dependig on your distribution, you may have different entries in /dev.
Good luck, I attached two screenshots to make life easier. (Your kaffeine may look different, I am using the current svn-version.)
bauerfichtner has attached the following images:
  • devdsp3.jpg
  • devdsp4.jpg