error opening sound device

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
dansawyer
Posts: 6
Joined: Sat Jan 05, 2008 7:42 pm
Operating System: Please select

error opening sound device

Post by dansawyer » Sat Jan 05, 2008 8:33 pm

All,

The system is a T41 with Fedora 7. Record and most features appear to work as documented. However attempts to play sound result in the above message. There is no other diagnostic. Any help on making this work?

If it any help mplayer works for root, but does not work for users. This is run as user.

Dan

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: error opening sound device

Post by steve » Sat Jan 05, 2008 9:19 pm

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

dansawyer
Posts: 6
Joined: Sat Jan 05, 2008 7:42 pm
Operating System: Please select

Re: error opening sound device

Post by dansawyer » Sun Jan 06, 2008 1:22 am

Thanks,

Yes it errors with:

Expression 'ValidateParameters( outputParameters, outputDeviceInfo, StreamMode_Out )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 1206

One of the suggestions was to explicitly set alsa. How is this done?

Thanks - Dan

dansawyer
Posts: 6
Joined: Sat Jan 05, 2008 7:42 pm
Operating System: Please select

Re: error opening sound device

Post by dansawyer » Sun Jan 06, 2008 1:35 am

Thanks for the pointers. Now it plays, the meters work, however there is no output. Other sound still works.

Dan

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: error opening sound device

Post by steve » Sun Jan 06, 2008 3:58 am

What do you mean "there is no output"? When you are recording or when you try to play a track?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

dansawyer
Posts: 6
Joined: Sat Jan 05, 2008 7:42 pm
Operating System: Please select

Re: error opening sound device

Post by dansawyer » Sun Jan 06, 2008 2:38 pm

There is no sound output on play. Record works, the meters work, etc.

On play everything else appears to work including the meters, however no sound is produced, Output works on other sound packages.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: error opening sound device

Post by steve » Sun Jan 06, 2008 4:47 pm

Try using "ALSA Default" as the playback device instead of OSS
(select it in "Edit->Preferences->Audio I/O")
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

dansawyer
Posts: 6
Joined: Sat Jan 05, 2008 7:42 pm
Operating System: Please select

Re: error opening sound device

Post by dansawyer » Sun Jan 06, 2008 8:11 pm

It was set to ALSA. The meters work and other sound works, mplayer, etc. However no sound.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: error opening sound device

Post by steve » Sun Jan 06, 2008 8:40 pm

That's weird - the error message that you are getting is to do with the OSS implementation of PortAudio.

This is going way over my head now, but there's some stuff about it here:
http://www.portaudio.com/trac/browser/p ... c?rev=1296
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked