Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-23-2008, 12:18 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Question ALSA Programming

Dear All,

I have some doubts on the ALSA programming,

1)My ALSA driver supports minimum Period Bytes size as 32 bytes, but when i set the period size as 512 bytes it is always setting to 1024 bytes.I am using the function "snd_pcm_hw_params_set_period_size_near()" . What might be wrong here?Is the function what i am using correct?

2)How the Library functions and the Driver functions interact, what is the interface between the library functions and driver functions?Is there any document which explains this. I got a document which explains how to write ALSA driver.But it does not mention the interface with the library.

3)How Can we achive MIC and LINEIN switching using the mixer?What library function do i need to use to achive this?

4)If i want to get the Timestamp for each buffer captured, what library function should be used?

Any help on these things is appreciated.
Thank you in advance.



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming with ALSA API muskvar Programming 9 12-15-2009 02:40 PM
ALSA Programming Santosh_2839 Linux - Software 0 09-25-2008 04:38 AM
ALSA programming hobase Programming 0 11-20-2007 08:53 AM
ALSA plugin programming question evilquesadilla Programming 0 10-22-2007 09:07 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:19 AM.

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