LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2004, 01:05 AM   #1
MadDogE134
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10
Posts: 9

Rep: Reputation: 0
Linux Sound Question


ok... maybe you guys can explain what is going on because it is beyond me.

i have installed Unreal Tournament 2004 and Teamspeak. when i run UT2004 alone... sound is fine. when i run Teamspeak alone... sound is fine. but if i try to start Teamspeak for comms... then Ut2004... there is no sound in the game. also Ut2004 has an in-game VoIP(Voice over IP) system that is supposed to work... not sure if it does but have read in many posts about it not working and fixes for it... one of those was a couple of files to replace in the games system folder. i did this and sound is fine in game... but now the catch... i can't run Teamspeak at all... it claims my mic and my headphones/speakers are muted which they are not.

i mean even by itself (alone... no other programs running)it fails. but if i replace the stock files to original state... then TS works again. baffling...

what i want explained is why should a file that is changed in one folder have affect over another program? especially if they are not true system folders or in root operations. the two programs are seperate and in their own folders under my home/user account... in my mind one should not have anything to do with the other but it definately does. that is a BIG no no in DOS... good way to get everything screwed up.

even if i do not run UT2004... which might execute a change... and just paste the files in UT2004's system folder... it affects Teamspeak. i have copied and pasted the new and originals back and forth and everytime it affects the other file structure.

to me that would make every program dependent on ALL other programs. i could understand if it was in a root system structure... but these are stand alone programs and should NOT affect each other.

does linux look at every folder named system as a true overall system folder?

Last edited by MadDogE134; 06-08-2004 at 01:15 AM.
 
Old 06-08-2004, 06:08 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

If you're using OSS (which you probably are if you're on a 2.4 kernel), then only one application (it may actually be only one thread...) can access the sound device (/dev/dsp) at one time, and locks out everything else. This is a limitation of the old OSS system.

Try installing ALSA.

The reason that TS doesn't work when you replace that file is because the file is probably a shared object file, so your standalone program isn't really standalone at all. Most (large) programs in Linux use shared objects, even the kernel itself if you're running a modular kernel, so moving and replacing these files can break apps. (Shared objects are effectively the same as DLLs in Windows.) Just because the file isn't in /lib or /usr/lib or whatever (I've never actually seen a directory called 'system' in a Linux filesystem) doesn't make it any less essential to the operation of the program.

Dave
 
Old 06-08-2004, 12:26 PM   #3
MadDogE134
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10
Posts: 9

Original Poster
Rep: Reputation: 0
thnx that helps a little. by the way, i am using Mandrake 10 Official Download Release... and it is all new to me so i do not know if i am using ALSA or OSS to be honest.

most games and things in windows all have a system folder and when it is ported over to linux, it builds the same file structure as if it were in windows.

how can i tell which sound setup i am using?

Last edited by MadDogE134; 06-08-2004 at 12:28 PM.
 
Old 06-09-2004, 09:29 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
If you're on Mandrake 10, then you should be on ALSA.

If 'uname -r' returns 2.6.x, then you'll be using ALSA. If this is the case, then you should be able to have two programs using the sound card at the same time.

I'm a bit stumped.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek Sound and Ubuntu Linux - No Sound meindl007 Linux - Hardware 22 10-05-2005 02:16 PM
Linux recognizes sound card, still no sound HuEsY Linux - Hardware 1 06-15-2004 10:10 PM
PLEASE help with sound .. i know, anather sound question tw001_tw Slackware 1 06-04-2004 09:13 PM
This may sound like the same old question but it's not.. kosmognov Linux - Networking 4 05-26-2003 03:48 PM
sound question starbreaker Linux - Distributions 1 02-11-2002 07:49 AM


All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration