devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptationbody.h
changeset 6 fe9d1bf55678
parent 0 b8ed18f6c07b
equal deleted inserted replaced
5:b220a9341636 6:fe9d1bf55678
   418 	* @return void
   418 	* @return void
   419 	*/
   419 	*/
   420 	void PlayToneSequenceL(const TDesC8& aData);
   420 	void PlayToneSequenceL(const TDesC8& aData);
   421 
   421 
   422 	/**
   422 	/**
   423 	* Initializes the audio device and starts playing the specified
       
   424 	* pre-defined tone sequence.
       
   425 	* Leaves on failure.
       
   426 	* @since
       
   427 	* @param TInt aSequenceNumber The index identifying the specific
       
   428 	*        pre-defined tone sequence. Index values are relative to zero.
       
   429 	*        This can be any value from zero to the value returned by a call
       
   430 	*        to FixedSequenceCount() - 1. The function raises a panic if the
       
   431 	*        sequence number is not within this range.
       
   432 	* @return void
       
   433 	*/
       
   434 	void PlayFixedSequenceL(TInt aSequenceNumber);
       
   435 
       
   436 	/**
       
   437 	* Defines the number of times the audio is to be repeated during the
   423 	* Defines the number of times the audio is to be repeated during the
   438 	* tone playback operation. A period of silence can follow each playing
   424 	* tone playback operation. A period of silence can follow each playing
   439 	* of a tone. The tone playing can be repeated indefinitely
   425 	* of a tone. The tone playing can be repeated indefinitely
   440 	* @since
   426 	* @since
   441 	* @param TInt aRepeatCount The number of times the tone, together with
   427 	* @param TInt aRepeatCount The number of times the tone, together with
   502 	* @return TAny* A pointer to the interface implementation, or NULL if
   488 	* @return TAny* A pointer to the interface implementation, or NULL if
   503 	*        the device does not implement the interface requested. The
   489 	*        the device does not implement the interface requested. The
   504 	*        return value must be cast to the correct type by the user.
   490 	*        return value must be cast to the correct type by the user.
   505 	*/
   491 	*/
   506 	TAny* CustomInterface(TUid aInterfaceId);
   492 	TAny* CustomInterface(TUid aInterfaceId);
   507 
       
   508 	/**
       
   509 	* Returns the number of available pre-defined tone sequences.
       
   510 	* This is the number of fixed sequence supported by DevSound by default.
       
   511 	* @since
       
   512 	* @return TInt  The fixed sequence count. This value is implementation
       
   513 	*        dependent.
       
   514 	*/
       
   515 	TInt FixedSequenceCount();
       
   516 
       
   517 	/**
       
   518 	* Returns the name assigned to a specific pre-defined tone sequence.
       
   519 	* This is the number of the fixed sequence supported by DevSound by
       
   520 	* default.
       
   521 	* The function raises a panic if sequence number specified is invalid.
       
   522 	* @since
       
   523 	* @param TInt aSequenceNumber The index identifying the specific
       
   524 	*        pre-defined tone sequence. Index values are relative to zero.
       
   525 	*        This can be any value from zero to the value returned by a call
       
   526 	*        to CMdaAudioPlayerUtility::FixedSequenceCount() - 1. The
       
   527 	*        function raises a panic if sequence number is not within this
       
   528 	*        range.
       
   529 	* @return const TDesC & A reference to a Descriptor containing the fixed
       
   530 	*        sequence name indexed by aSequenceNumber.
       
   531 	*/
       
   532 	const TDesC& FixedSequenceName(TInt aSequenceNumber);
       
   533 
   493 
   534 	/**
   494 	/**
   535 	* Returns a list of the supported input datatypes that can be sent to
   495 	* Returns a list of the supported input datatypes that can be sent to
   536 	* DevSound for playing audio. The datatypes returned are those that the
   496 	* DevSound for playing audio. The datatypes returned are those that the
   537 	* DevSound supports given the priority settings passed in
   497 	* DevSound supports given the priority settings passed in