Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 02-05-2004, 06:25 PM   #1
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
esound problems (with Apple X11)

Running 10.3.2,

I attempt to run anything using esound and that ends in a failure. In my reading of the fink FAQs I have found a test to be run, but this fails as well. When I attempt to run esd manually I get

using device Built-in Audio for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

and this occurs with any device I choose. I looked for a directory /tmp/.esd but it does not exist as far as I can tell. I've rebuilt it at least once with Fink as well.

Any ideas on how to get this working?

Evan
muchmusic is offline   Reply With Quote
Old 02-05-2004, 07:57 PM   #2
rusto
MVP
 
Join Date: Jan 2002
Location: Boston, MA
Posts: 1,489
What version of esound you running?

Code:
esound           0.2.32-3
esound-bin       0.2.32-3
esound-common    0.2.32-3
esound-shlibs    0.2.32-3
__________________
:: 3.4GHz Core i7 iMac 4GB RAM :: Black MacBook SR :: 10.7.2 :: iPhone 4 / iOS 5 ::
rusto is offline   Reply With Quote
Old 02-05-2004, 08:20 PM   #3
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
that's the version I am running as well.
muchmusic is offline   Reply With Quote
Old 02-06-2004, 01:33 AM   #4
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
muchmusic,

I read your post at the fink-beginners list. Please, more info:

fink -V

We have discussed this problem in the following thread:
http://forums.macosxhints.com/showth...threadid=14993

Make sure you haven't muted sound output in Mac OS X and try running:

esd (without the amperstand)
sao is offline   Reply With Quote
Old 02-06-2004, 02:18 AM   #5
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
Thank you for the offer of help!

% fink -V
Package manager version: 0.18.1
Distribution version: 0.6.2.cvs

% esd
set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

Killed the root esd and it came right back!

root 23372 0.0 0.1 27968 844 ?? Ss 11:11PM 0:00.07 /System/Library/CoreServices/coreservicesd
evan 23530 0.0 0.0 8984 8 std R+ 11:11PM 0:00.00 grep esd

start esd again after?

% esd
set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

run xmms after this from xterm?

$ xmms &
[1] 543
bash: xmms: command not found
Evan-McNultys-Computer:~ evan$ /sw/bin/xmms &
[2] 1170
[1] Exit 127 xmms

and xmms is running.

Play sound?

n$ set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.
set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

for info:

% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

I hope this gives you helpful info.

Thanks again!
muchmusic is offline   Reply With Quote
Old 02-06-2004, 02:56 AM   #6
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
muchmusic,

Please, post the result of:

% echo $PATH

Try again from terminal.app, run:

/sw/bin/esd &

Do you hear any sound? If yes, open X11.app and try running:

/sw/bin/xmms &

Be sure to select the "eSound Output Plugin" in the xmms preferences.

Also, as you have "using device Revolution Digital Out for output", have you tried the -d option (check man esd)
Code:
-d DEVICE     force esd to use sound device DEVICE

Last edited by sao; 02-06-2004 at 03:03 AM.
sao is offline   Reply With Quote
Old 02-06-2004, 10:40 AM   #7
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
It is strange!

% echo $PATH
/sw/share/Geomview/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/Users/evan/geant4/bin/Darwin-g++:/usr/local/bin:/opt/local/bin

% /sw/bin/esd
set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

% esd -d
set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

% /sw/bin/esd -d
set device property failed, status = 1852797029
using device Revolution Digital Out for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

I wonder what can be causing this

I tried the built in audio just to be certain it was not the card I have...

% esd

using device Built-in Audio for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.

Last edited by muchmusic; 02-06-2004 at 10:43 AM.
muchmusic is offline   Reply With Quote
Old 02-23-2004, 02:32 PM   #8
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
ok, tried 2 more things

reformatted entire drive (yes, extreme, I know) and then installed 10.3 and all updates. then installed fink and esound 2.28 from stable. esd came up with same unsupported device as before. I then changed to unstable 2.32 and still same. I removed the PCI sound card just in case (had not installed the kext for it yet but still...) and yet still same result.

Any ideas?
muchmusic is offline   Reply With Quote
Old 02-23-2004, 02:59 PM   #9
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
muchmusic,

Unfortunately, I'm running out of ideas, but what's you xmms version?

Have you tried to install xmms 1.2.8-1 from unstable?
sao is offline   Reply With Quote
Old 02-23-2004, 04:24 PM   #10
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
Installed the newest xmms.

A few interesting things from running in xterm...

the oss sound driver seems to look for the device /dev/dsp

esound seems to be looking for this same device.

Of course this /dev/dsp won't necessarily show up as a file, as /dev/cdrom etc dont show up as files...

I have an ibook here that I had on load, I will install esound on it and see if the same problems crop up...
muchmusic is offline   Reply With Quote
Old 02-24-2004, 02:42 AM   #11
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
ok. Installed BINARY only (no xcode or X11 on the ibook) of the stable versions of esound and it works fine with esd at the shell! I hear sound!

Now I have to find what the difference is. I will install a fresh copy of 10.3 on a different drive and try no xcode, binary only, etc. Sound like an ok plan? I am very curious to figure this out, it is the first problem I have not been able to work through on my own like this.
muchmusic is offline   Reply With Quote
Old 02-24-2004, 04:29 AM   #12
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
muchmusic wrote:
Installed BINARY only (no xcode or X11 on the ibook) of the stable versions of esound and it works fine with esd at the shell! I hear sound!

Great news, keep testing and let me know...
sao is offline   Reply With Quote
Old 02-24-2004, 01:07 PM   #13
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
Quote:
Originally posted by muchmusic
... I removed the PCI sound card just in case (had not installed the kext for it yet but still...) and yet still same result.

whaaaaa?! PCI sound card? whose? removed? driver installed? please give us hardware profile.
mervTormel is offline   Reply With Quote
Old 02-24-2004, 04:32 PM   #14
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
Sorry! Forgot others didn't get to read the original post to the fink mailing list

Power Mac g4 quicksilver 2x 1ghz
1.5 GB RAM
10.3.2
Xcode tools 1.1
Fink 0.19.0
X11 sdk installed, etc
Esound version 0.2.32

and in terms of audio...

I have run all the tests and solutions so far with the built in audio and built in digital audio, and the card I refer to is an m-audio revolution 7.1 that I use for the digital (S/PDIF) audio out it offers. The drivers include a kernel extension. which I thought might have been causing problems. I opted not to install it yet and removed the card.
muchmusic is offline   Reply With Quote
Old 02-26-2004, 12:59 PM   #15
muchmusic
Prospect
 
Join Date: Oct 2003
Location: Palo Alto, CA
Posts: 14
Ok, here we go:

A complete fresh start, to mimic the ibook install and test that was successful

Machine: Quicksilver dual 1ghz g4
1.5 GB ram

installed OS X 10.3 into a newly formatted HFS + journaled partition with NO X11 or XCode Tools installed. Just BSD Subsystem. Install Fink Binary 1.6.2 and apt-get update, apt-get dist-upgrade to current stable for 10.3 tree. I then installed esound binary package. went to terminal, and ran esd. I got the same error message!

This exact same set of steps worked on the ibook I cross-tested with. Since this is a fresh install, I am at a loss. I have now emailed the package maintainer for help as well.
muchmusic is offline   Reply With Quote
Old 10-31-2004, 02:53 AM   #16
SinceWhen
Prospect
 
Join Date: Oct 2004
Posts: 3
I realize I am posting this article almost one year later. In case others are trying to solve this problem, here is what I discovered since I had a similar problem. EsoundD was working for me and it suddenly stopped and started giving me the error "unsupported device".

I found this code at http://www.opendarwin.org/pipermail/...ch/018344.html

if ( (streamDesc.mSampleRate != 44100.0) ||
(streamDesc.mFormatID != kAudioFormatLinearPCM) ||
!(streamDesc.mFormatFlags & kLinearPCMFormatFlagIsFloat) ||
(streamDesc.mChannelsPerFrame != 2))
(streamDesc.mChannelsPerFrame != 2 &&
streamDesc.mChannelsPerFrame != 1))
{
fprintf (stderr, "unsupported device.\n");
return (-2);
}


Therefore, I went to my MIDI setup and I discovered that my Output Line device was set to 48000 Hz. I had no idea how it flipped. I changed it back to 44100 and everything ran smooth!

Hope this helps.

Last edited by SinceWhen; 10-31-2004 at 04:57 AM.
SinceWhen is offline   Reply With Quote
Old 11-02-2004, 12:38 PM   #17
SenorCovert
Prospect
 
Join Date: Nov 2004
Posts: 1
attn: SinceWhen, HOW?

Quote:
Originally Posted by SinceWhen
Therefore, I went to my MIDI setup and I discovered that my Output Line device was set to 48000 Hz. I had no idea how it flipped. I changed it back to 44100 and everything ran smooth!

Esound stopped working for me too yet i have no idea how i go about doint the fixit you just described how do i check my midi setup and change it if need be?
SenorCovert is offline   Reply With Quote
Old 11-04-2004, 12:20 PM   #18
DavidRavenMoon
Triple-A Player
 
Join Date: Jan 2002
Location: Bloomfield, NJ
Posts: 188
You don't need eSound. CoreAudio is already multi channel. If you use the M-Audio drivers, select the "Delta Multichannel" driver (or what ever it's called... for my Audiophile 2496 it's the "Delta AP Multichannel" option). This prevents audio events from cutting each other off.
__________________
24" iMac 2.93 GHz Core 2 Duo, Mac OS X 10.10, 8 GB RAM.
DavidRavenMoon is offline   Reply With Quote
Old 11-15-2004, 09:07 PM   #19
SinceWhen
Prospect
 
Join Date: Oct 2004
Posts: 3
Quote:
Originally Posted by SenorCovert
Esound stopped working for me too yet i have no idea how i go about doint the fixit you just described how do i check my midi setup and change it if need be?

Easy, just go to Finder --> Applications --> Utilities --> Audio MIDI Setup

Once you open the Audio MIDI Setup, go to the Audio Devices tab and set the following under Audio Output (left side)

Source: Line Out (or Digital Out if you are using digital)
Format: 44100 2ch-16bit

That is all to it. I discovered that my Format changes after using Skype. If you use an audio application that needs an output other than 44100, it can change it in the MIDI configuration without you knowing.

Cheers.
SinceWhen is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.