[疑問]好幾個程式同時都有audio,HOW?

找不到Code如何播放,不知道要用什麼播放程式等等相關問題都可以在這發問

Moderator: Forums Team

Post Reply
ckchen
Posts: 67
Joined: Mon Mar 24, 2003 12:43 am
Location: NTHU
Contact:

[疑問]好幾個程式同時都有audio,HOW?

Post by ckchen »

常常我一開xmms,
audio就被佔住了,
其它程式要用audio就會被block住,
有解嗎?
"The process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It's a disciplined way to clean up code that minimizes the changes of introducing bugs." -- M. F.
ranma37
Posts: 106
Joined: Sat Feb 22, 2003 11:24 am
Location: 風城購物袋中心
Contact:

Post by ranma37 »

有解
用artsd或esd來輸出

你的音效卡是用什麼晶片?
driver是用oss或alsa?
其實如果你的音效卡支援hardware mixing就不會有這個問題
ckchen
Posts: 67
Joined: Mon Mar 24, 2003 12:43 am
Location: NTHU
Contact:

Post by ckchen »

ranma37 wrote:有解
用artsd或esd來輸出

你的音效卡是用什麼晶片?
driver是用oss或alsa?
其實如果你的音效卡支援hardware mixing就不會有這個問題
我的是用ens1371這個module,
跑esd,
使用alsa,
要怎麼做呢?
"The process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It's a disciplined way to clean up code that minimizes the changes of introducing bugs." -- M. F.
ckchen
Posts: 67
Joined: Mon Mar 24, 2003 12:43 am
Location: NTHU
Contact:

Post by ckchen »

ckchen wrote:
ranma37 wrote:有解
用artsd或esd來輸出

你的音效卡是用什麼晶片?
driver是用oss或alsa?
其實如果你的音效卡支援hardware mixing就不會有這個問題
我的是用ens1371這個module,
跑esd,
使用alsa,
要怎麼做呢?
好久沒人回...

還是根本不用設定什麼,
只是我的卡不支援呢(我有用esd了)?

那麼大家推薦我一張好卡吧,有支援mixing的,

還有dvd光碟機,linux容易抓得到的,
我想順便換...

--
要不要一個硬體版啊,
推薦或分享/解決硬體的東西...
"The process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It's a disciplined way to clean up code that minimizes the changes of introducing bugs." -- M. F.
ranma37
Posts: 106
Joined: Sat Feb 22, 2003 11:24 am
Location: 風城購物袋中心
Contact:

Post by ranma37 »

你的卡是sound blaster ensonique audio嗎?
creative的東東應該功能不會太差才對
要不要換成oss的driver試試?

又你是用kde或gnome為主?
ranma37
Posts: 106
Joined: Sat Feb 22, 2003 11:24 am
Location: 風城購物袋中心
Contact:

Post by ranma37 »

我以kde+arts為例
在控制中心可以設自動啟動artsd
kde本身的聲音都可以從arts輸出
xmms的output plugin選arts
當然你要先emege xmms-arts
這樣mp3就可以和系統提示聲音共存了
或者乾脆用noatun取代xmms

在konqueror中強迫plugin轉向到arts
這樣有Flash的網頁也可以與其他音樂共存

有些非kde程式也支援arts
如mplayer可以設audio output到arts
遇到真的沒有支援arts的程式
可以用artsdsp來強迫轉向
ckchen
Posts: 67
Joined: Mon Mar 24, 2003 12:43 am
Location: NTHU
Contact:

Post by ckchen »

(我的卡就是那塊什麼PCI128的)
Oops!
我是用gnome,
browser是用mozilla,
不過我會去看xmms有沒選項指到esd的,
thanks
"The process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It's a disciplined way to clean up code that minimizes the changes of introducing bugs." -- M. F.
ranma37
Posts: 106
Joined: Sat Feb 22, 2003 11:24 am
Location: 風城購物袋中心
Contact:

Post by ranma37 »

號外號外!
Gentoo forum裡有人在研究用alsa的software mixer plugin
http://forums.gentoo.org/viewtopic.php?t=51260

因為我的換了SB Live後就沒有這方面的問題了
所以懶得去深入探討

有這個困擾的人要不要去研究研究
造福大家
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post by 【Palatis】 »

不然的話, 花 $500 去買張 YMF754 也是個好主意.
一張音效卡 = 五個 N95 口罩.
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
swallowman
Posts: 138
Joined: Sat Apr 05, 2003 12:04 am
Location: taichung
Contact:

Post by swallowman »

【Palatis】 wrote:不然的話, 花 $500 去買張 YMF754 也是個好主意.
一張音效卡 = 五個 N95 口罩.
小弟也贊同palatis的解決之道,平常有太多錢都花在沒意義的事情上,那為何會吝於投資那點小錢呢?搞過以前的dlink的朋友就會清楚,直接買螃蟹卡較快.^^"
Gentoo Linux is not really a distribution but a meta-distribution
ckchen
Posts: 67
Joined: Mon Mar 24, 2003 12:43 am
Location: NTHU
Contact:

Post by ckchen »

【Palatis】 wrote:不然的話, 花 $500 去買張 YMF754 也是個好主意.
一張音效卡 = 五個 N95 口罩.
是只要換這張卡,
再重編一下driver,
就有mixing了嗎?
如果不用再設定什麼東西那倒是個好辦法
"The process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It's a disciplined way to clean up code that minimizes the changes of introducing bugs." -- M. F.
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post by 【Palatis】 »

ckchen wrote:
【Palatis】 wrote:不然的話, 花 $500 去買張 YMF754 也是個好主意.
一張音效卡 = 五個 N95 口罩.
是只要換這張卡,
再重編一下driver,
就有mixing了嗎?
如果不用再設定什麼東西那倒是個好辦法
如果你 emerge alsa-driver 的時候沒有指定 ALSA_CARDS (或是 ALSA_CARDS="all"), 那連編都不用編.
直接去 /etc/modules.d/alsa 加入一行

Code: Select all

alias snd-card-0 snd-ymfpci
然後 /etc/init.d/alsasound restart
應該就好了.

大不了再調整一下音量, 例如使用 amixer 之類的. 我是 emerge alsa-utils 然後用 alsamixer.
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
ckchen
Posts: 67
Joined: Mon Mar 24, 2003 12:43 am
Location: NTHU
Contact:

Post by ckchen »

嗯嗯嗯,
這樣說來不是我現在用的軟體不能做mixing,
而是我的卡的問題囉?

順便問一下,有沒有其它卡也行的?
想說目標只有一張卡不知道會不會買不到...
"The process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It's a disciplined way to clean up code that minimizes the changes of introducing bugs." -- M. F.
User avatar
【Palatis】
Posts: 956
Joined: Wed Apr 02, 2003 4:21 pm
Location: 偶爾插花...</br>亞利安星球
Contact:

Post by 【Palatis】 »

ckchen wrote:嗯嗯嗯,
這樣說來不是我現在用的軟體不能做mixing,
而是我的卡的問題囉?

順便問一下,有沒有其它卡也行的?
想說目標只有一張卡不知道會不會買不到...
我覺得 driver 應該能夠提供 software mixing 的功能.
不過不知道你的卡怎麼設.

不過直接用提供 hardware mixing 的卡, 對提昇效能也有點幫助.
「從麻雀之城回來的時候,被問到『你要大的藤箱還是小的藤箱?』為此煩惱不已。大家都有過這種煩惱吧?」
「是啊是啊!大的藤箱可以放很多東西覺得很划算,小的藤箱小小的裡面也許放著很不錯的東西,真的很難取捨阿!」
「靠這個就能告別這種煩惱『中型的藤箱』!」
「好厲害!」
「不要再煩惱大小的問題了,現在還贈送可以煮出鐵質,增進健康的鐵銼刀。」
「這是一定要買的!」
「我要一個!」
kevwalker
Posts: 234
Joined: Sun Apr 25, 2004 3:23 pm

Post by kevwalker »

請問alsa是否也有像esd和arts一樣mixing的功能呢
有的話要怎麼設定??

我有安裝alsa
並用它模擬oss
如果我開機不啟動alsa
esd or arts會失效嗎??
=Kev=
Post Reply