This forum has been archived. All content is frozen. Please use KDE Discuss instead.

configuring xine engine / oss: device

Tags: None
(comma "," separated)
Floating Point
Registered Member
Posts
7
Karma
0
I can only choose "/dev/dsp" and "/dev/sound/dsp" under "OSS Device Configuration". I would like to add "/dev/dsp1" (it is my S/PDIF out). How can I do it?
Floating Point
Registered Member
Posts
7
Karma
0
In '/.kde/share/apps/amarok/xine-config' there is an entry:

# OSS audio device name
# { auto  /dev/dsp  /dev/sound/dsp }, default: 0
audio.device.oss_device_name:/dev/dsp

but if I change "/dev/dsp" to "/dev/dsp1", this change is still not applied when amaroK is started and in GUI I can only choose between "/dev/dsp" and "/dev/sound/dsp".
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
isn't /dev/dsp a symlink anyway?
Floating Point
Registered Member
Posts
7
Karma
0
Marcel wrote:isn't /dev/dsp a symlink anyway?


How can I check that?
feld
Registered Member
Posts
7
Karma
0
ls -la /dev/dsp
Floating Point
Registered Member
Posts
7
Karma
0
Marcel wrote:isn't /dev/dsp a symlink anyway?


Thanks to feld's advice, I found out that it is not a symlink, so I'll have to change something in amaroK.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Is there a reason why you are not using alsa (IMO configuring alsa to do what you want is much easier than hacking xine/amarok oss output)
Floating Point
Registered Member
Posts
7
Karma
0
Marcel wrote:Is there a reason why you are not using alsa


Yes, I didn't manage "S/PDIF out" to work using the ALSA driver.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
I guess, just changing the settings in .../amarok/xine-config does not help (just ignoring the output in the settings menu)?

I found the following in my xine-config:

# OSS audio device name
# { auto  /dev/dsp  /dev/sound/dsp }, default: 0
#audio.device.oss_device_name:auto

The device offering seems to  be a xine thing (I have not find, maybe you can find out how to get more device files offered from xine by looking into the xine documentation.

How about the also offered /dev/sound/dsp. If this does not exist on your system or is a symlink, you could adjust this (if this choice exists in your config).
Another possibility is to get alsa working for you.

Last edited by marcel on Wed Jun 07, 2006 9:45 am, edited 1 time in total.
Floating Point
Registered Member
Posts
7
Karma
0
Marcel wrote:How about the also offered /dev/sound/dsp. If this does not exist on your system or is a symlink, you could adjust this (if this choice exists in your config).
Another possibility is to get alsa working for you.


Thanks for the idea  :wink:
I created a symlink "/dev/sound/dsp" (it didn't exist) pointing to "dev/dsp1" and it works.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Nice!
Floating Point
Registered Member
Posts
7
Karma
0
Another thing I found out....

It can be done without symlinking, by setting the following entries in "xine-config" to appropriate values :cool:

audio.device.oss_device_name:/dev/dsp
audio.device.oss_device_number:1

I hope this might also be of help to someone else....


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]