BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-05-2007, 11:45 PM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: blackberry
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Codec supported for recording Audio..

Please Login to Remove!

Hi,

How to found the codec supporting for record the audio.we can found the audio Codec by using getSupportedContentTypes();like wise is there any thing to find out the recording codec....


Thanks in Advance..
Offline  
Old 09-06-2007, 02:50 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

blackberry can record amr and wav audio using mmapi
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 09-06-2007, 03:48 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Location: Bangladesh
Model: 8800
PIN: N/A
Carrier: EDGE
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi crazystar,

The BlackBerry device supports audio recording using two different formats, Adaptive Multi-Rate (AMR) and 8khz mono-16-bit Pulse Code Modulation (PCM). The default encoding used by the BlackBerry device is AMR. The encoding to be used is specified in the String passed to the "Manager.createPlayer(String locator)" method.

The following table shows a list of support locator strings.

String Resulting | Format
----------------------------------
capture://audio | AMR
capture://audio/amr | AMR
capture://audio/pcm | PCM

Enjoy,
ARIF

Last edited by arifzaman : 09-06-2007 at 03:49 AM.
Offline  
Old 09-06-2007, 11:41 PM   #4 (permalink)
Thumbs Must Hurt
 
Rose's Avatar
 
Join Date: Nov 2006
Location: India
Model: 9700
OS: Windows 7
Carrier: Airtel
Posts: 121
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by crazystar View Post
Hi,

How to found the codec supporting for record the audio.we can found the audio Codec by using getSupportedContentTypes();like wise is there any thing to find out the recording codec....


Thanks in Advance..
Hi,
This can be easily found by specifying the capture protocol for getting supported content types
getSupportedContentTypes("capture");

This will return all the capture audio formats and video formats if supported.
Offline  
Old 09-07-2007, 12:20 AM   #5 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: blackberry
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for all who replied me , your information was very helpful to me....
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Microchip Serial EEPROM Evaluation Board 10-00173 Untested
$15.76
Microchip Serial EEPROM Evaluation Board 10-00173 Untested pictureMITSUBISHI FX-EEPROM-4 *NEW IN BOX*
$40.0
MITSUBISHI FX-EEPROM-4 *NEW IN BOX* pictureSerial EEPROM 1024Kb (in 8 bit) 400Khz 24AA1025 DIP x4 USA genuine
$15.0
Serial EEPROM 1024Kb (in 8 bit) 400Khz 24AA1025 DIP  x4  USA genuine picture69-PCS IC 24LC02B/SN EEPROM 2KBIT 400KHZ 8-PIN SOIC MICROCHIP 24LC02 24LC02BSN
$12.07
69-PCS IC 24LC02B/SN EEPROM 2KBIT 400KHZ 8-PIN SOIC MICROCHIP 24LC02 24LC02BSN picture30-PCS IC AT24C164-10SC EEPROM 16KBIT 400KHZ SOIC ATMEL 24C16410 AT24C16410SC
$51.41
30-PCS IC AT24C164-10SC EEPROM 16KBIT 400KHZ SOIC ATMEL 24C16410 AT24C16410SC picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.