LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-15-2006, 04:27 PM   #1
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,019

Rep: Reputation: 157Reputation: 157
alsa opens 2 media player instances


i just noticed this yesterday, and i'm stumped.

fc4, using alsa.

when i open a media player (vlc or xmms, so far, haven't tried any others yet), sysmon show the correct process open. however, as soon as a file, url, etc, is played, a second, identical process is opened, with the same command line options as the first instance.

however, no sound comes from the second instance, and if i close the first instance, the second also closes. the reverse is not true. if i kill the second process, the original process continues unabated (which is what i want...)

in digging deeper into the gnome system monitor gui, it shows that the second process has opened only a couple of files.

here's the open files for the initial instance:
0: /dev/null
1: pipe
2: pipe
3: pipe
4: pipe
5: local socket
6: network connection 192.xxxxxxxx : port
7: /dev/snd/timer
8: /dev/snd/pcmC0D0p

and for the second instance:
7: local socket /dev/alsa-dmix-15633-1142461391-748301
8: /dev/snd/pcmC0D0p

so, can this be avoided (the memory use for each process is similar, 130mb or so)?

how, and why is it happening?

would you like cream with your coffee?

cheers,
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Media Player ? Dark_Sniper* Debian 3 12-28-2005 11:19 PM
Is there an audio player with content library like Media Player? Merlin53 Linux - Software 4 11-24-2004 06:42 PM
Best Media Player?? Rosmo Linux - Software 4 11-01-2004 01:13 PM
Media Player jsul255227 Linux - Software 4 07-24-2003 11:53 PM
which media player do you use? andrewlkho Linux - Software 19 07-23-2003 03:50 PM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration