[alsa-devel] Writing 20ms of AUDIO data

Irfan Shaikh irfan.shaikh at sasken.com
Mon Nov 29 10:26:31 CET 2010

Hello developers,

         Please can some tell me how can i configure my snd_pcm_writei so that i can write 20ms of audio data each time.
Is there any way to find out the time duration interval of PCM frames we write to playback device {So that soem i can write each tie 20 millisec of audio data to device}.

Thanks and regards,

SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html

More information about the Alsa-devel mailing list