LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-19-2008, 12:01 AM   #1
fariborz
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Rep: Reputation: 0
how to asynchronous playback with ALSA


i want to play sound asynchronously by linux programming
i test OSS, but it cann't support asyncronous playback
then, i test ALSA, it can support asynchronous playback, but when i wrote a sample programme, its callback function didn't work

please help me
 
Old 04-19-2008, 08:31 AM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
whats asynchronous playback ?

and no need to create multiple threads ...
 
Old 04-21-2008, 12:50 AM   #3
fariborz
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Original Poster
Rep: Reputation: 0
asynchronous means alsa playback sound, and concurrently with it programme do other work(graphics,...)whitout wait until finish playback
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to asynchronous playback with ALSA fariborz Linux - Newbie 1 04-19-2008 03:51 PM
amaroK, alsa rapid playback peppill Linux - Newbie 1 04-27-2007 04:22 PM
Alsa and OSS playback is too fast... Belboz99 Linux - Software 1 06-25-2005 07:57 AM
Setting up xmms/alsa for 5.1 playback magus0216 Linux - Software 1 03-08-2005 06:12 AM
CreativeAudioPCI128+ALSA - No midi playback? leadazide Linux - Hardware 1 07-29-2004 12:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:14 AM.

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