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

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 stream alaw audio?

How to stream alaw audio?

All your problems with Audio, Video and Images.

How to stream alaw audio?

Postby wirblix » Fri Mar 19, 2010 9:49 pm

Hello,

I've seen a few apps on the market that can stream audio in alaw format, but Android doesn't support alaw by default (only linear PCM):

http://developer.android.com/intl/de/gu ... rmats.html

Any idea how those devs are achieving this?
wirblix
Junior Developer
Junior Developer
 
Posts: 13
Joined: Wed Apr 29, 2009 12:10 am

Top

Postby mrco » Fri Mar 19, 2010 10:19 pm

This is possible with using AudioTrack & alaw native decoder (you can found it in libsnd project).
mrco
Experienced Developer
Experienced Developer
 
Posts: 71
Joined: Fri Jan 15, 2010 11:31 am
Location: 2V Software

Postby wirblix » Fri Mar 19, 2010 10:30 pm

Thanks for the response. Do you know of any sample source showing this in action?
wirblix
Junior Developer
Junior Developer
 
Posts: 13
Joined: Wed Apr 29, 2009 12:10 am

Postby mrco » Mon Mar 22, 2010 10:27 am

Yeah. Sorry, but i couldn't show it (i signed NDA).
mrco
Experienced Developer
Experienced Developer
 
Posts: 71
Joined: Fri Jan 15, 2010 11:31 am
Location: 2V Software

Postby wirblix » Fri Apr 02, 2010 10:49 pm

After reading through the AudioTrack docs, I don't think it's what I was looking for. I'm actually trying to play a network stream via RTSP. The stream contains Alaw PCM wave data. Did I miss something?
wirblix
Junior Developer
Junior Developer
 
Posts: 13
Joined: Wed Apr 29, 2009 12:10 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 9 guests