epoc32/include/mmf/server/mmfformat.inl
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/mmf/server/mmfformat.inl	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,184 @@
     1.4 +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// 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
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// include\server\mmfformat.inl
    1.18 +// CMMFFormatDecode
    1.19 +// 
    1.20 +//
    1.21 +
    1.22 +void CMMFFormatDecode::BufferEmptiedL(CMMFBuffer* /*aBuffer*/)
    1.23 +{
    1.24 +}
    1.25 +
    1.26 +void CMMFFormatDecode::EmptyBufferL(CMMFBuffer* /*aBuffer*/, MDataSource* /*aSupplier*/, TMediaId /*aMediaId*/)
    1.27 +{
    1.28 +}
    1.29 +
    1.30 +CMMFBuffer* CMMFFormatDecode::CreateSinkBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
    1.31 +{
    1.32 +	return NULL;
    1.33 +}
    1.34 +
    1.35 +TFourCC CMMFFormatDecode::SinkDataTypeCode(TMediaId /*aMediaId*/)
    1.36 +{
    1.37 +	TFourCC fourCC; return fourCC;
    1.38 +}
    1.39 +
    1.40 +void CMMFFormatDecode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
    1.41 +{
    1.42 +	User::Leave(KErrNotSupported);
    1.43 +}
    1.44 +
    1.45 +CMMFMetaDataEntry* CMMFFormatDecode::MetaDataEntryL(TInt /*aIndex*/)
    1.46 +{
    1.47 +	User::Leave(KErrNotSupported); return NULL;
    1.48 +}
    1.49 +
    1.50 +TInt CMMFFormatDecode::SetNumChannels(TUint /*aChannels*/)
    1.51 +{
    1.52 +	return KErrNotSupported;
    1.53 +}
    1.54 +
    1.55 +TInt CMMFFormatDecode::SetSampleRate(TUint /*aSampleRate*/)
    1.56 +{
    1.57 +	return KErrNotSupported;
    1.58 +}
    1.59 +
    1.60 +TInt CMMFFormatDecode::SetBitRate(TUint /*aBitRate*/)
    1.61 +{
    1.62 +	return KErrNotSupported;
    1.63 +}
    1.64 +
    1.65 +void CMMFFormatDecode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
    1.66 +{
    1.67 +	User::Leave(KErrNotSupported);
    1.68 +}
    1.69 +
    1.70 +void CMMFFormatDecode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
    1.71 +{
    1.72 +	User::Leave(KErrNotSupported);
    1.73 +}
    1.74 +
    1.75 +void CMMFFormatDecode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
    1.76 +{
    1.77 +	User::Leave(KErrNotSupported);
    1.78 +}
    1.79 +
    1.80 +void CMMFFormatDecode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
    1.81 +{
    1.82 +	User::Leave(KErrNotSupported);
    1.83 +}
    1.84 +
    1.85 +void CMMFFormatDecode::SuggestSourceBufferSize(TUint /*aSuggestedBufferSize*/)
    1.86 +{
    1.87 +}
    1.88 +
    1.89 +void CMMFFormatDecode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
    1.90 +{
    1.91 +	User::Leave(KErrNotSupported);
    1.92 +}
    1.93 +
    1.94 +// CMMFFormatEncode
    1.95 +
    1.96 +void CMMFFormatEncode::FillBufferL(CMMFBuffer* /*aBuffer*/, MDataSink* /*aConsumer*/, TMediaId /*aMediaId*/)
    1.97 +{
    1.98 +}
    1.99 +
   1.100 +CMMFBuffer* CMMFFormatEncode::CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
   1.101 +{
   1.102 +	return NULL;
   1.103 +}
   1.104 +
   1.105 +TFourCC CMMFFormatEncode::SourceDataTypeCode(TMediaId /*aMediaId*/)
   1.106 +{
   1.107 +	TFourCC fourCC; return fourCC;
   1.108 +}
   1.109 +
   1.110 +void CMMFFormatEncode::BufferFilledL(CMMFBuffer* /*aBuffer*/)
   1.111 +{
   1.112 +}
   1.113 +
   1.114 +void CMMFFormatEncode::CropL(TTimeIntervalMicroSeconds /*aPosition*/, TBool /*aToEnd*/)
   1.115 +{
   1.116 +	User::Leave(KErrNotSupported);
   1.117 +}
   1.118 +
   1.119 +void CMMFFormatEncode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
   1.120 +{
   1.121 +	User::Leave(KErrNotSupported);
   1.122 +}
   1.123 +
   1.124 +CMMFMetaDataEntry* CMMFFormatEncode::MetaDataEntryL(TInt /*aIndex*/)
   1.125 +{
   1.126 +	User::Leave(KErrNotSupported); return NULL;
   1.127 +}
   1.128 +
   1.129 +void CMMFFormatEncode::AddMetaDataEntryL(const CMMFMetaDataEntry& /*aNewEntry*/)
   1.130 +{
   1.131 +	User::Leave(KErrNotSupported);
   1.132 +}
   1.133 +
   1.134 +TInt CMMFFormatEncode::RemoveMetaDataEntry(TInt /*aIndex*/)
   1.135 +{
   1.136 +	return KErrNotSupported;
   1.137 +}
   1.138 +
   1.139 +void CMMFFormatEncode::ReplaceMetaDataEntryL(TInt /*aIndex*/, const CMMFMetaDataEntry& /*aNewEntry*/)
   1.140 +{
   1.141 +	User::Leave(KErrNotSupported);
   1.142 +}
   1.143 +
   1.144 +TInt CMMFFormatEncode::SetNumChannels(TUint /*aChannels*/)
   1.145 +{
   1.146 +	return KErrNotSupported;
   1.147 +}
   1.148 +
   1.149 +TInt CMMFFormatEncode::SetSampleRate(TUint /*aSampleRate*/)
   1.150 +{
   1.151 +	return KErrNotSupported;
   1.152 +}
   1.153 +
   1.154 +TInt CMMFFormatEncode::SetBitRate(TUint /*aBitRate*/)
   1.155 +{
   1.156 +	return KErrNotSupported;
   1.157 +}
   1.158 +
   1.159 +void CMMFFormatEncode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
   1.160 +{
   1.161 +	User::Leave(KErrNotSupported);
   1.162 +}
   1.163 +
   1.164 +void CMMFFormatEncode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
   1.165 +{
   1.166 +	User::Leave(KErrNotSupported);
   1.167 +}
   1.168 +
   1.169 +void CMMFFormatEncode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
   1.170 +{
   1.171 +	User::Leave(KErrNotSupported);
   1.172 +}
   1.173 +
   1.174 +void CMMFFormatEncode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
   1.175 +{
   1.176 +	User::Leave(KErrNotSupported);
   1.177 +}
   1.178 +
   1.179 +void CMMFFormatEncode::SetMaximumClipSizeL(TInt /*aBytes*/)
   1.180 +{
   1.181 +	User::Leave(KErrNotSupported);
   1.182 +}
   1.183 +
   1.184 +void CMMFFormatEncode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
   1.185 +{
   1.186 +	User::Leave(KErrNotSupported);
   1.187 +}