epoc32/include/mda/common/audio.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    99 	*/
    99 	*/
   100 	TInt iPriority;
   100 	TInt iPriority;
   101 	/**
   101 	/**
   102     The priority preference that expresses the nature of the priority that can be none, 
   102     The priority preference that expresses the nature of the priority that can be none, 
   103 	time (or speed), quality or both time and quality.
   103 	time (or speed), quality or both time and quality.
   104 
   104 	
   105 	If this is set to EMdaPriorityPreferenceTime then the audio data is time sensitive. The playback 
   105 	 Values are known to the adaptation and will be iterpreted accordingly.
   106 	operation fails if it cannot happen when requested but degraded output such as mixing or muting 
   106 
   107 	is allowed.
   107 	*/
   108 
   108 	TInt iPref;
   109 	If this is set to EMdaPriorityPreferenceQuality then the audio data must be played at the best possible 
       
   110 	quality (for example, it must not be degraded by muting or mixing). The playback operation is delayed
       
   111 	until the sound device is available for exclusive use.
       
   112 
       
   113 	If this is set to EMdaPriorityPreferenceTimeAndQuality then the audio data is both time and quality 
       
   114 	sensitive. The playback operation fails if it cannot happen immediately at the highest quality.
       
   115 	*/
       
   116 	TMdaPriorityPreference iPref;
       
   117 	};
   109 	};
   118 
   110 
   119 /**
   111 /**
   120 @publishedAll
   112 @publishedAll
   121 @deprecated
   113 @deprecated
   133 inline TMdaDatatypeSettings::TMdaDatatypeSettings(TUid aUid,TInt aDerivedSize) :
   125 inline TMdaDatatypeSettings::TMdaDatatypeSettings(TUid aUid,TInt aDerivedSize) :
   134 TMdaPackage(KUidMdaDataTypeSettings,aUid,aDerivedSize) {}
   126 TMdaPackage(KUidMdaDataTypeSettings,aUid,aDerivedSize) {}
   135 
   127 
   136 /**
   128 /**
   137 @publishedAll
   129 @publishedAll
   138 @deprecated
   130 @released
   139 
   131 
   140 The settings for audio data played through the media server.
   132 The settings for audio data played through the media server.
   141 
   133 
   142 These can be the settings for an audio clip, for streamed audio data, or can be the capabilities
   134 These can be the settings for an audio clip, for streamed audio data, or can be the capabilities
   143 of the sound device. The sample rate and number of channels apply to the audio sample, the maximum
   135 of the sound device. The sample rate and number of channels apply to the audio sample, the maximum