epoc32/include/mmf/server/mmfformat.inl
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // include\server\mmfformat.inl
    15 // CMMFFormatDecode
    16 // 
    17 //
    18 
    19 void CMMFFormatDecode::BufferEmptiedL(CMMFBuffer* /*aBuffer*/)
    20 {
    21 }
    22 
    23 void CMMFFormatDecode::EmptyBufferL(CMMFBuffer* /*aBuffer*/, MDataSource* /*aSupplier*/, TMediaId /*aMediaId*/)
    24 {
    25 }
    26 
    27 CMMFBuffer* CMMFFormatDecode::CreateSinkBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
    28 {
    29 	return NULL;
    30 }
    31 
    32 TFourCC CMMFFormatDecode::SinkDataTypeCode(TMediaId /*aMediaId*/)
    33 {
    34 	TFourCC fourCC; return fourCC;
    35 }
    36 
    37 void CMMFFormatDecode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
    38 {
    39 	User::Leave(KErrNotSupported);
    40 }
    41 
    42 CMMFMetaDataEntry* CMMFFormatDecode::MetaDataEntryL(TInt /*aIndex*/)
    43 {
    44 	User::Leave(KErrNotSupported); return NULL;
    45 }
    46 
    47 TInt CMMFFormatDecode::SetNumChannels(TUint /*aChannels*/)
    48 {
    49 	return KErrNotSupported;
    50 }
    51 
    52 TInt CMMFFormatDecode::SetSampleRate(TUint /*aSampleRate*/)
    53 {
    54 	return KErrNotSupported;
    55 }
    56 
    57 TInt CMMFFormatDecode::SetBitRate(TUint /*aBitRate*/)
    58 {
    59 	return KErrNotSupported;
    60 }
    61 
    62 void CMMFFormatDecode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
    63 {
    64 	User::Leave(KErrNotSupported);
    65 }
    66 
    67 void CMMFFormatDecode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
    68 {
    69 	User::Leave(KErrNotSupported);
    70 }
    71 
    72 void CMMFFormatDecode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
    73 {
    74 	User::Leave(KErrNotSupported);
    75 }
    76 
    77 void CMMFFormatDecode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
    78 {
    79 	User::Leave(KErrNotSupported);
    80 }
    81 
    82 void CMMFFormatDecode::SuggestSourceBufferSize(TUint /*aSuggestedBufferSize*/)
    83 {
    84 }
    85 
    86 void CMMFFormatDecode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
    87 {
    88 	User::Leave(KErrNotSupported);
    89 }
    90 
    91 // CMMFFormatEncode
    92 
    93 void CMMFFormatEncode::FillBufferL(CMMFBuffer* /*aBuffer*/, MDataSink* /*aConsumer*/, TMediaId /*aMediaId*/)
    94 {
    95 }
    96 
    97 CMMFBuffer* CMMFFormatEncode::CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
    98 {
    99 	return NULL;
   100 }
   101 
   102 TFourCC CMMFFormatEncode::SourceDataTypeCode(TMediaId /*aMediaId*/)
   103 {
   104 	TFourCC fourCC; return fourCC;
   105 }
   106 
   107 void CMMFFormatEncode::BufferFilledL(CMMFBuffer* /*aBuffer*/)
   108 {
   109 }
   110 
   111 void CMMFFormatEncode::CropL(TTimeIntervalMicroSeconds /*aPosition*/, TBool /*aToEnd*/)
   112 {
   113 	User::Leave(KErrNotSupported);
   114 }
   115 
   116 void CMMFFormatEncode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
   117 {
   118 	User::Leave(KErrNotSupported);
   119 }
   120 
   121 CMMFMetaDataEntry* CMMFFormatEncode::MetaDataEntryL(TInt /*aIndex*/)
   122 {
   123 	User::Leave(KErrNotSupported); return NULL;
   124 }
   125 
   126 void CMMFFormatEncode::AddMetaDataEntryL(const CMMFMetaDataEntry& /*aNewEntry*/)
   127 {
   128 	User::Leave(KErrNotSupported);
   129 }
   130 
   131 TInt CMMFFormatEncode::RemoveMetaDataEntry(TInt /*aIndex*/)
   132 {
   133 	return KErrNotSupported;
   134 }
   135 
   136 void CMMFFormatEncode::ReplaceMetaDataEntryL(TInt /*aIndex*/, const CMMFMetaDataEntry& /*aNewEntry*/)
   137 {
   138 	User::Leave(KErrNotSupported);
   139 }
   140 
   141 TInt CMMFFormatEncode::SetNumChannels(TUint /*aChannels*/)
   142 {
   143 	return KErrNotSupported;
   144 }
   145 
   146 TInt CMMFFormatEncode::SetSampleRate(TUint /*aSampleRate*/)
   147 {
   148 	return KErrNotSupported;
   149 }
   150 
   151 TInt CMMFFormatEncode::SetBitRate(TUint /*aBitRate*/)
   152 {
   153 	return KErrNotSupported;
   154 }
   155 
   156 void CMMFFormatEncode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
   157 {
   158 	User::Leave(KErrNotSupported);
   159 }
   160 
   161 void CMMFFormatEncode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
   162 {
   163 	User::Leave(KErrNotSupported);
   164 }
   165 
   166 void CMMFFormatEncode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
   167 {
   168 	User::Leave(KErrNotSupported);
   169 }
   170 
   171 void CMMFFormatEncode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
   172 {
   173 	User::Leave(KErrNotSupported);
   174 }
   175 
   176 void CMMFFormatEncode::SetMaximumClipSizeL(TInt /*aBytes*/)
   177 {
   178 	User::Leave(KErrNotSupported);
   179 }
   180 
   181 void CMMFFormatEncode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
   182 {
   183 	User::Leave(KErrNotSupported);
   184 }
   185