LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-03-2004, 12:17 PM   #1
dahuja76
LQ Newbie
 
Registered: Sep 2004
Location: India
Posts: 2

Rep: Reputation: 0
Libao error: Error Opening Device


Hi All,

I am working with libao audio library and wants to play a wav file via libao library. I have Avance Logic 4000 sound card and I have build and installed Kernel 2.6.8 on my machine. I am using ALSA Version 1.04 which comes in built with Kernel 2.6.8.
I am able to see "snd_als4000" module loaded in the Kernel and able to play .wav file with aplay command and able to manage the volume control via amixer command.

But when I try to execute the sample code i.e. ao_example which comes along with libao tarball file. the source code gives me an error "Error Opening Device" in the function ao_driver_id. Can anyone suggest me who to play .wav file using libao library via ALSA drivers.

I have tried ao_driver_id("alsa09") and ao_driver_id("alsa10") but both doesn't works. Please guide me over this issue.


Regards
Dinesh
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer error opening/initializing the selected video_out (-vo) device caulfiek Slackware 9 04-06-2010 05:15 AM
Error opening/initializing the selected video_out (-vo) device. Kdr Kane Suse/Novell 1 02-25-2005 05:54 PM
gmplayer Error opening/initializing device cythrawll Slackware 3 12-08-2004 07:25 AM
ogg123 - error opening device oss iTux Linux - Software 1 12-15-2003 11:02 PM
Error opening/initializing the selected video_out(-vo) device zyxxm Linux - Software 1 06-29-2003 12:18 AM


All times are GMT -5. The time now is 04:50 AM.

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
Open Source Consulting | Domain Registration