[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmms-devel
Subject:    [Fwd: [Fwd: [xmms-devel] Why I can't use esd output plugin]]
From:       Rocky Zhang <rocky () userful ! com>
Date:       2004-06-24 17:06:37
Message-ID: 1088096796.9382.9.camel () norma ! userful ! ca
[Download RAW message or body]

Hi,

I'd like to use esd output plugin to play songs. And I use esd -tcp
-port [port_number] to start esd daemon, configure xmms output plugin to
esound plugin: localhost:[port_number]. I tested for several days, the
port_number only work when it is set to 16001. I tested any other number
(such as 5001, 16002...), none of them works. The esd daemon seems to be
launched successfully, but xmms crashed. The message is as followed:

- using device hw:0
- accepting connections on port 16002
- accepting connections on port 16002
- using device hw:0
- accepting connections on port 16002
- accepting connections on port 16002
- using device hw:0
- accepting connections on port 16002
- accepting connections on port 16002
- using device hw:0
- accepting connections on port 16002
- accepting connections on port 16002
Unable to bind port 16002
 
Segmentation fault
 
You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.
 
Xlib: unexpected async reply (sequence 0xd22)!


I fell so frustrated about it. The reason why I use tcp port is that I'd
like to 2 USB headset play different songs at the same time.

Any one can help me? and does tcp port 16001 has special meaning? Which
tcp port I can use in esd to make xmms work?

Thanks a lot.

Rocky

[Attachment #3 (--=-nmjI11p3wdg9lbE6Ga87)]



Hi,

I test use either of the command lines: 

1) mpg123 test.mp3 |esdcat 
2) mpg123 test.mp3

It work well. But why it does not work in xmms and MPlayer? Any one has
any ideas about it?

Thanks.

Rocky


Return-Path: <xmms-devel-bounces@lists.xmms.org>
X-Original-To: rocky@userful.com
Delivered-To: rocky@userful.com
Received: from hellstone.grantgeo.com (unknown [216.207.51.185]) (using
	TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client
	certificate requested) by bubba.e-complex.com (Postfix) with ESMTP id
	B22E429C149 for <rocky@userful.com>;
	Thu, 17 Jun 2004 15:11:18 -0600 (MDT)
Received: from hstone.corporate.grantgeo.com (localhost.localdomain
	[127.0.0.1]) by hellstone.grantgeo.com (8.12.8/8.12.8) with ESMTP id
	i5HK0tK9002506; Thu, 17 Jun 2004 15:01:31 -0500
Received: from bubba.e-complex.com (new.userful.com [69.44.60.111] (may be
	forged)) by hellstone.grantgeo.com (8.12.8/8.12.8) with ESMTP id
	i5HK0lK7002485 for <xmms-devel@lists.xmms.org>;
	Thu, 17 Jun 2004 15:00:47 -0500
Received: from [192.168.123.5] (cal149-99-252-18.dedicated.sprintdsl.ca
	[149.99.252.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256
	bits)) (No client certificate requested) by bubba.e-complex.com
	(Postfix) with ESMTP id 0B5D429C149 for <xmms-devel@lists.xmms.org>;
	Thu, 17 Jun 2004 14:56:05 -0600 (MDT)
From: Rocky Zhang <rocky@userful.com>
To: xmms-devel@lists.xmms.org
Content-Type: text/plain
Message-Id: <1087502551.13957.29.camel@norma.userful.ca>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) 
Date: Thu, 17 Jun 2004 14:02:31 -0600
X-hellstone-MailScanner: Found to be clean, Found to be clean
Subject: [xmms-devel] Why I can't use esd output plugin
X-BeenThere: xmms-devel@lists.xmms.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: XMMS Development  <xmms-devel.lists.xmms.org>
List-Unsubscribe: <http://lists.xmms.org/mailman/listinfo/xmms-devel>,
	<mailto:xmms-devel-request@lists.xmms.org?subject=unsubscribe>
List-Archive: <http://lists.xmms.org/pipermail/xmms-devel>
List-Post: <mailto:xmms-devel@lists.xmms.org>
List-Help: <mailto:xmms-devel-request@lists.xmms.org?subject=help>
List-Subscribe: <http://lists.xmms.org/mailman/listinfo/xmms-devel>,
	<mailto:xmms-devel-request@lists.xmms.org?subject=subscribe>
Sender: xmms-devel@lists.xmms.org
Errors-To: xmms-devel-bounces@lists.xmms.org
X-hellstone-MailScanner-Information: Please contact the ISP for more
	information
X-MailScanner-From: xmms-devel-bounces@lists.xmms.org
Content-Transfer-Encoding: 7bit

Hi,

Xmms is great tool for me. I can use ALSA output plugin to play
different songs through Labtec USB headsets at the same time. But I
can't get eSound Ooutput Plugin work. I install Fedora 2 and ALSA drive
on my machine.

Here is steps how I use it:

1) "esd -h" output is:

   Possible devices are:  hw:0  (Labtec USB Headset)
                       hw:1  (Labtec USB Headset)
                       hw:2  (VIA 8233A)

2) Edit $HOME/.esd.conf. The reason why I use tcp port is that I have 3
audio device, and I'd like each one use different port. It is as
followed:

  [esd]
  auto_spawn=1 
  spawn_options=-d hw:0 -tcp -port 7878 -bind localhost -terminate  
-nobeeps
  spawn_wait_ms=100

3) Edit $HOME/.bash, add 1 more line:
   export ESPEAKER=localhost:7678

4) Logout and log in, I saw the esd daemon is there.

/usr/bin/esd -d hw:0 -tcp -port 7878 -bind localhost -terminate -nobeeps
-spawnfd 4

5) I use "esdcat test.wav" command, it works.

6) Launch xmms, config esound output plugin drive, toggle "Use Remote
host", and fill in host: localhost, Port:7878.

7) Play $HOME/test.mp3 file, get following messages:

- using device hw:0
- accepting connections on port 7878
- accepting connections on port 7878
- using device hw:0
- accepting connections on port 7878
- accepting connections on port 7878
- using device hw:0
- accepting connections on port 7878
- accepting connections on port 7878
- using device hw:0
- accepting connections on port 7878
- accepting connections on port 7878
Unable to bind port 7878
 
Segmentation fault
 
You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.
 
Xlib: unexpected async reply (sequence 0xd22)!

And xmms seems hang there.


Is there anything I can do to fix it or anything wrong with my step?

Thanks a lot.


Rocky

_______________________________________________
xmms-devel mailing list
xmms-devel@lists.xmms.org
http://lists.xmms.org/mailman/listinfo/xmms-devel


_______________________________________________
xmms-devel mailing list
xmms-devel@lists.xmms.org
http://lists.xmms.org/mailman/listinfo/xmms-devel


_______________________________________________
xmms-devel mailing list
xmms-devel@lists.xmms.org
http://lists.xmms.org/mailman/listinfo/xmms-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic