sl@0: // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // include\server\mmfformat.inl sl@0: // CMMFFormatDecode sl@0: // sl@0: // sl@0: sl@0: void CMMFFormatDecode::BufferEmptiedL(CMMFBuffer* /*aBuffer*/) sl@0: { sl@0: } sl@0: sl@0: void CMMFFormatDecode::EmptyBufferL(CMMFBuffer* /*aBuffer*/, MDataSource* /*aSupplier*/, TMediaId /*aMediaId*/) sl@0: { sl@0: } sl@0: sl@0: CMMFBuffer* CMMFFormatDecode::CreateSinkBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/) sl@0: { sl@0: return NULL; sl@0: } sl@0: sl@0: TFourCC CMMFFormatDecode::SinkDataTypeCode(TMediaId /*aMediaId*/) sl@0: { sl@0: TFourCC fourCC; return fourCC; sl@0: } sl@0: sl@0: void CMMFFormatDecode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: CMMFMetaDataEntry* CMMFFormatDecode::MetaDataEntryL(TInt /*aIndex*/) sl@0: { sl@0: User::Leave(KErrNotSupported); return NULL; sl@0: } sl@0: sl@0: TInt CMMFFormatDecode::SetNumChannels(TUint /*aChannels*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt CMMFFormatDecode::SetSampleRate(TUint /*aSampleRate*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt CMMFFormatDecode::SetBitRate(TUint /*aBitRate*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void CMMFFormatDecode::GetSupportedSampleRatesL(RArray& /*aSampleRates*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatDecode::GetSupportedBitRatesL(RArray& /*aBitRates*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatDecode::GetSupportedNumChannelsL(RArray& /*aNumChannels*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatDecode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray& /*aDataTypes*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatDecode::SuggestSourceBufferSize(TUint /*aSuggestedBufferSize*/) sl@0: { sl@0: } sl@0: sl@0: void CMMFFormatDecode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: // CMMFFormatEncode sl@0: sl@0: void CMMFFormatEncode::FillBufferL(CMMFBuffer* /*aBuffer*/, MDataSink* /*aConsumer*/, TMediaId /*aMediaId*/) sl@0: { sl@0: } sl@0: sl@0: CMMFBuffer* CMMFFormatEncode::CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/) sl@0: { sl@0: return NULL; sl@0: } sl@0: sl@0: TFourCC CMMFFormatEncode::SourceDataTypeCode(TMediaId /*aMediaId*/) sl@0: { sl@0: TFourCC fourCC; return fourCC; sl@0: } sl@0: sl@0: void CMMFFormatEncode::BufferFilledL(CMMFBuffer* /*aBuffer*/) sl@0: { sl@0: } sl@0: sl@0: void CMMFFormatEncode::CropL(TTimeIntervalMicroSeconds /*aPosition*/, TBool /*aToEnd*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatEncode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: CMMFMetaDataEntry* CMMFFormatEncode::MetaDataEntryL(TInt /*aIndex*/) sl@0: { sl@0: User::Leave(KErrNotSupported); return NULL; sl@0: } sl@0: sl@0: void CMMFFormatEncode::AddMetaDataEntryL(const CMMFMetaDataEntry& /*aNewEntry*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: TInt CMMFFormatEncode::RemoveMetaDataEntry(TInt /*aIndex*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void CMMFFormatEncode::ReplaceMetaDataEntryL(TInt /*aIndex*/, const CMMFMetaDataEntry& /*aNewEntry*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: TInt CMMFFormatEncode::SetNumChannels(TUint /*aChannels*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt CMMFFormatEncode::SetSampleRate(TUint /*aSampleRate*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt CMMFFormatEncode::SetBitRate(TUint /*aBitRate*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: void CMMFFormatEncode::GetSupportedSampleRatesL(RArray& /*aSampleRates*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatEncode::GetSupportedBitRatesL(RArray& /*aBitRates*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatEncode::GetSupportedNumChannelsL(RArray& /*aNumChannels*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatEncode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray& /*aDataTypes*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatEncode::SetMaximumClipSizeL(TInt /*aBytes*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: sl@0: void CMMFFormatEncode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/) sl@0: { sl@0: User::Leave(KErrNotSupported); sl@0: } sl@0: