datazuul / yoyoplayer

Automatically exported from code.google.com/p/yoyoplayer
0 stars 1 forks source link

在ubuntu下不能播放 #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. java -jar YOYOplayer.jar
2. 任意打开一首歌
3. 播放

What is the expected output? What do you see instead?
本来应该开始播放的,但是没有播放,控制台输出
2010-2-15 16:30:16 com.hadeslee.yoyoplayer.player.BasicPlayer openLine    

信息: Controls : Volume with current value: 65536.0 pulseaudio units
(range: 0.0 - 65536.0)          
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException:
Master Gain not supported 
        at
org.classpath.icedtea.pulseaudio.PulseAudioLine.getControl(PulseAudioLine.java:8
9)

        at
org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.getControl(PulseAudioS
ourceDataLine.java:51)

        at
com.hadeslee.yoyoplayer.player.BasicPlayer.openLine(BasicPlayer.java:429) 

        at
com.hadeslee.yoyoplayer.player.BasicPlayer.initLine(BasicPlayer.java:338) 

        at
com.hadeslee.yoyoplayer.player.BasicPlayer.startPlayback(BasicPlayer.java:529)

        at
com.hadeslee.yoyoplayer.player.BasicPlayer.play(BasicPlayer.java:842)
        at
com.hadeslee.yoyoplayer.player.ui.PlayerUI.processPlay(PlayerUI.java:1382)
        at
com.hadeslee.yoyoplayer.player.ui.PlayerUI.setCurrentSong(PlayerUI.java:1293)
        at
com.hadeslee.yoyoplayer.playlist.PlayListUI.mouseClicked(PlayListUI.java:427)
        at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
        at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
        at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
        at java.awt.Component.processMouseEvent(Component.java:6111)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:5873)
        at java.awt.Container.processEvent(Container.java:2105)
        at java.awt.Component.dispatchEventImpl(Component.java:4469)
        at java.awt.Container.dispatchEventImpl(Container.java:2163)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4134)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
        at java.awt.Container.dispatchEventImpl(Container.java:2149)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275
)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190
)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

What version of the product are you using? On what operating system?
yoyoplayer1.2,ubuntu 9.10

Please provide any additional information below.

Original issue reported on code.google.com by huangyan...@gmail.com on 15 Feb 2010 at 8:35

GoogleCodeExporter commented 9 years ago
这个应该是你有应用程序在占用 声卡,JRE 
对声卡也是独占式的。所以冲突了。

Original comment by guanming...@gmail.com on 14 Jun 2010 at 5:48

GoogleCodeExporter commented 9 years ago
这个应该是你有应用程序在占用 声卡,JRE 
对声卡也是独占式的。所以冲突了。

Original comment by guanming...@gmail.com on 14 Jun 2010 at 5:48