Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:39, 2 February 2008.

MMFDevSound API

From Forum Nokia Wiki

Note!
This API is not part of the public SDK. It can be found in the SDK API Plug-in.


API Purpose

CMMFDevSound is the interface from Symbian OS to the raw audio functions on the device hardware.

DevSound is currently loaded as a DLL, and implements the VCR-type functions to be expected for such an interface.

The audio functions include the following functionality:

(i)Initialisation and configuration of hardware devices, for example, setting microphone gain, setting stereo balance and so on.

(ii)The playing and recording of raw audio data.

(iii)The playing and dynamic control of tones with user specified frequencies.

(iv)The playing of DTMF strings.


Use case

To stream and play an audio file( of type AMR ) from the local phone memory to the speaker.

Example project

Here is the URL for the basic DevSound player sample application, which demonstrates the following things:

(i) How to initialize the DevSound object.

(ii) How to load the audio data in to data buffers of DevSound.

(iii) How to handle the callbacks of the MDevSoundObserver class and play the audio content accordingly.

Example application

Note that the same application can be used to develop a DevSound recorder by implementing and initializing the DevSound object appropriately.


Known Issues

http://wiki.forum.nokia.com/index.php/KIS000293_-_Audio_stream_is_left_in_inconsistent_state_after_a_panic

Related Discussions
Thread Thread Starter Forum Replies Last Post
Location Provider API? oasisfeng Location Based Services and Navigation 1 2007-11-21 21:43
QoS API in the sdk enrique_jb General Symbian C++ 2 2004-03-03 08:03
Symbian OS series 60 CPU Clock and IP header API anitaan@ifi.uio.no General Symbian C++ 2 2005-07-28 14:38
can I find No.7 singaling(Signaling System 7) API? Qing Ding General Symbian C++ 1 2008-04-03 05:33
jsr-205 and J2ME?? smaatta Mobile Java General 5 2005-07-13 13:00
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZaudioQ
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX