Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to configure the sampling rate/period while audio captur

How to configure the sampling rate/period while audio captur

All your problems with Audio, Video and Images.

How to configure the sampling rate/period while audio captur

Postby vishalgaonkar » Wed Sep 23, 2009 10:31 am

I am working on a VOIP based application. I need to capture the audio at 8000 hz sampling rate, get the 20msec packets, encode and send the packets over the network.
Can somebody tell me how to configure the mic for the desired sampling rate?

Thanks in advance,
Vishal
vishalgaonkar
Junior Developer
Junior Developer
 
Posts: 11
Joined: Wed Sep 23, 2009 10:03 am

Top

Postby vishalgaonkar » Thu Sep 24, 2009 8:56 am

How to capture the audio data from mic into a buffer instead of a
file?
vishalgaonkar
Junior Developer
Junior Developer
 
Posts: 11
Joined: Wed Sep 23, 2009 10:03 am

Postby vishalgaonkar » Fri Oct 16, 2009 1:35 pm

Have found the solution. Used AudioRecord and AudioTrack interfaces.
vishalgaonkar
Junior Developer
Junior Developer
 
Posts: 11
Joined: Wed Sep 23, 2009 10:03 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 7 guests