LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-15-2006, 05:21 PM   #1
Spike2097
LQ Newbie
 
Registered: Nov 2004
Location: Lancaster, England, UK
Distribution: Ubuntu 10.04
Posts: 25

Rep: Reputation: 15
Audacity Problems


Im having a problem with audacity. i get this message when it starts up:

There was an error initializing the audio i/o layer.
You will not be able to play or record audio.

Error: Host error

any help would be gratefully recieved

thanks

spike

p.s
im running slackware 10.2 if it makes any difference.
 
Old 03-16-2006, 10:08 AM   #2
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
It has to do with your sound card... For some reason it can't find it.

I have the same issue, on Arch, but haven't gotten around to finding a fix for it.
 
Old 09-19-2006, 07:03 PM   #3
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Rep: Reputation: 15
Audacity error

I have had the same problem.

To solve the problem I installed alsa-oss

I use Ubuntu so I apt-get install alsa-oss

once that was installed I have to open audacity in the terminal by using this command:

aoss audacity
not audacity
regards
 
Old 09-19-2006, 07:21 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 62
Audacity uses the OSS drivers. AFAIK, programs which use these drivers want the soundcard all to themselves, so if you have any other programs which use the soundcard you have to close them.

The alsa oss thing sometimes works to make OSS programs play nice with others, although I think this depends a lot on your soundcard. Personally I've never had much luck with it.

The most likely program using the soundcard is some sort of sound server. I'm not sure about slackware, but I know lots of distros enable these damn things by default, causing no end of headaches like the one you describe.

In gnome you can disable the sound server in the System -> Preferences -> Sound -> Enable software sound mixing (ESD) [checkbox]

In KDE you can disable the sound server (if one is running) in the System Settings panel -> Sound & Multimedia -> Sound System -> Enable the sound system [checkbox].

Disclaimer, both these config panel instructions are for Ubuntu Dapper, your distro may vary!

Other notable programs which use OSS:

Skype < 1.3 (The new 1.3 beta uses ALSA - yay!)

Enemy Territory and many other games

Flashplayer 7 (version 9 - when it finally arrives will use ALSA apparently)


It's amazing anything still uses it. OSS has been deprecated in the kernel for donkeys years, but somehow the message didn't get out to a lot of people.
 
Old 09-20-2006, 02:58 PM   #5
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Rep: Reputation: 15
Great adice.

I disabled the sound server in Ubuntu and Audacity worked fine.

The time it started giving me the host problem was when I had installed realplayer.


It all seems ok now.

Regards
 
  


Reply

Tags
audacity, error, oss


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot run Audacity : "Audacity is already running" tuanito Linux - Software 7 06-11-2009 06:02 PM
Audacity storywizard Suse/Novell 10 03-10-2006 12:56 AM
Problems with audacity SimeonV Suse/Novell 2 05-16-2005 12:19 PM
Stereo problems - SB live, audacity and others tw001_tw Linux - Hardware 1 03-26-2005 09:01 PM
Audacity Problems gbj Linux - Software 1 12-29-2004 03:15 AM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration