Results 1 to 2 of 2

Thread: ALSA Programming

  1. #1

    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.

    Regards,
    santosh

  2. #2
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,532

    Default

    Your questions are probably better answered on the Alsa mailing lists.

    http://www.alsa-project.org/main/ind.../Mailing-lists

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •