1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // include\server\mmfformat.inl
19 void CMMFFormatDecode::BufferEmptiedL(CMMFBuffer* /*aBuffer*/)
23 void CMMFFormatDecode::EmptyBufferL(CMMFBuffer* /*aBuffer*/, MDataSource* /*aSupplier*/, TMediaId /*aMediaId*/)
27 CMMFBuffer* CMMFFormatDecode::CreateSinkBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
32 TFourCC CMMFFormatDecode::SinkDataTypeCode(TMediaId /*aMediaId*/)
34 TFourCC fourCC; return fourCC;
37 void CMMFFormatDecode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
39 User::Leave(KErrNotSupported);
42 CMMFMetaDataEntry* CMMFFormatDecode::MetaDataEntryL(TInt /*aIndex*/)
44 User::Leave(KErrNotSupported); return NULL;
47 TInt CMMFFormatDecode::SetNumChannels(TUint /*aChannels*/)
49 return KErrNotSupported;
52 TInt CMMFFormatDecode::SetSampleRate(TUint /*aSampleRate*/)
54 return KErrNotSupported;
57 TInt CMMFFormatDecode::SetBitRate(TUint /*aBitRate*/)
59 return KErrNotSupported;
62 void CMMFFormatDecode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
64 User::Leave(KErrNotSupported);
67 void CMMFFormatDecode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
69 User::Leave(KErrNotSupported);
72 void CMMFFormatDecode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
74 User::Leave(KErrNotSupported);
77 void CMMFFormatDecode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
79 User::Leave(KErrNotSupported);
82 void CMMFFormatDecode::SuggestSourceBufferSize(TUint /*aSuggestedBufferSize*/)
86 void CMMFFormatDecode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
88 User::Leave(KErrNotSupported);
93 void CMMFFormatEncode::FillBufferL(CMMFBuffer* /*aBuffer*/, MDataSink* /*aConsumer*/, TMediaId /*aMediaId*/)
97 CMMFBuffer* CMMFFormatEncode::CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
102 TFourCC CMMFFormatEncode::SourceDataTypeCode(TMediaId /*aMediaId*/)
104 TFourCC fourCC; return fourCC;
107 void CMMFFormatEncode::BufferFilledL(CMMFBuffer* /*aBuffer*/)
111 void CMMFFormatEncode::CropL(TTimeIntervalMicroSeconds /*aPosition*/, TBool /*aToEnd*/)
113 User::Leave(KErrNotSupported);
116 void CMMFFormatEncode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
118 User::Leave(KErrNotSupported);
121 CMMFMetaDataEntry* CMMFFormatEncode::MetaDataEntryL(TInt /*aIndex*/)
123 User::Leave(KErrNotSupported); return NULL;
126 void CMMFFormatEncode::AddMetaDataEntryL(const CMMFMetaDataEntry& /*aNewEntry*/)
128 User::Leave(KErrNotSupported);
131 TInt CMMFFormatEncode::RemoveMetaDataEntry(TInt /*aIndex*/)
133 return KErrNotSupported;
136 void CMMFFormatEncode::ReplaceMetaDataEntryL(TInt /*aIndex*/, const CMMFMetaDataEntry& /*aNewEntry*/)
138 User::Leave(KErrNotSupported);
141 TInt CMMFFormatEncode::SetNumChannels(TUint /*aChannels*/)
143 return KErrNotSupported;
146 TInt CMMFFormatEncode::SetSampleRate(TUint /*aSampleRate*/)
148 return KErrNotSupported;
151 TInt CMMFFormatEncode::SetBitRate(TUint /*aBitRate*/)
153 return KErrNotSupported;
156 void CMMFFormatEncode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
158 User::Leave(KErrNotSupported);
161 void CMMFFormatEncode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
163 User::Leave(KErrNotSupported);
166 void CMMFFormatEncode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
168 User::Leave(KErrNotSupported);
171 void CMMFFormatEncode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
173 User::Leave(KErrNotSupported);
176 void CMMFFormatEncode::SetMaximumClipSizeL(TInt /*aBytes*/)
178 User::Leave(KErrNotSupported);
181 void CMMFFormatEncode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
183 User::Leave(KErrNotSupported);