os/mm/mmlibs/mmfw/inc/mmf/server/mmfformat.inl
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// include\server\mmfformat.inl
sl@0
    15
// CMMFFormatDecode
sl@0
    16
// 
sl@0
    17
//
sl@0
    18
sl@0
    19
void CMMFFormatDecode::BufferEmptiedL(CMMFBuffer* /*aBuffer*/)
sl@0
    20
{
sl@0
    21
}
sl@0
    22
sl@0
    23
void CMMFFormatDecode::EmptyBufferL(CMMFBuffer* /*aBuffer*/, MDataSource* /*aSupplier*/, TMediaId /*aMediaId*/)
sl@0
    24
{
sl@0
    25
}
sl@0
    26
sl@0
    27
CMMFBuffer* CMMFFormatDecode::CreateSinkBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
sl@0
    28
{
sl@0
    29
	return NULL;
sl@0
    30
}
sl@0
    31
sl@0
    32
TFourCC CMMFFormatDecode::SinkDataTypeCode(TMediaId /*aMediaId*/)
sl@0
    33
{
sl@0
    34
	TFourCC fourCC; return fourCC;
sl@0
    35
}
sl@0
    36
sl@0
    37
void CMMFFormatDecode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
sl@0
    38
{
sl@0
    39
	User::Leave(KErrNotSupported);
sl@0
    40
}
sl@0
    41
sl@0
    42
CMMFMetaDataEntry* CMMFFormatDecode::MetaDataEntryL(TInt /*aIndex*/)
sl@0
    43
{
sl@0
    44
	User::Leave(KErrNotSupported); return NULL;
sl@0
    45
}
sl@0
    46
sl@0
    47
TInt CMMFFormatDecode::SetNumChannels(TUint /*aChannels*/)
sl@0
    48
{
sl@0
    49
	return KErrNotSupported;
sl@0
    50
}
sl@0
    51
sl@0
    52
TInt CMMFFormatDecode::SetSampleRate(TUint /*aSampleRate*/)
sl@0
    53
{
sl@0
    54
	return KErrNotSupported;
sl@0
    55
}
sl@0
    56
sl@0
    57
TInt CMMFFormatDecode::SetBitRate(TUint /*aBitRate*/)
sl@0
    58
{
sl@0
    59
	return KErrNotSupported;
sl@0
    60
}
sl@0
    61
sl@0
    62
void CMMFFormatDecode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
sl@0
    63
{
sl@0
    64
	User::Leave(KErrNotSupported);
sl@0
    65
}
sl@0
    66
sl@0
    67
void CMMFFormatDecode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
sl@0
    68
{
sl@0
    69
	User::Leave(KErrNotSupported);
sl@0
    70
}
sl@0
    71
sl@0
    72
void CMMFFormatDecode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
sl@0
    73
{
sl@0
    74
	User::Leave(KErrNotSupported);
sl@0
    75
}
sl@0
    76
sl@0
    77
void CMMFFormatDecode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
sl@0
    78
{
sl@0
    79
	User::Leave(KErrNotSupported);
sl@0
    80
}
sl@0
    81
sl@0
    82
void CMMFFormatDecode::SuggestSourceBufferSize(TUint /*aSuggestedBufferSize*/)
sl@0
    83
{
sl@0
    84
}
sl@0
    85
sl@0
    86
void CMMFFormatDecode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
sl@0
    87
{
sl@0
    88
	User::Leave(KErrNotSupported);
sl@0
    89
}
sl@0
    90
sl@0
    91
// CMMFFormatEncode
sl@0
    92
sl@0
    93
void CMMFFormatEncode::FillBufferL(CMMFBuffer* /*aBuffer*/, MDataSink* /*aConsumer*/, TMediaId /*aMediaId*/)
sl@0
    94
{
sl@0
    95
}
sl@0
    96
sl@0
    97
CMMFBuffer* CMMFFormatEncode::CreateSourceBufferL(TMediaId /*aMediaId*/, TBool &/*aReference*/)
sl@0
    98
{
sl@0
    99
	return NULL;
sl@0
   100
}
sl@0
   101
sl@0
   102
TFourCC CMMFFormatEncode::SourceDataTypeCode(TMediaId /*aMediaId*/)
sl@0
   103
{
sl@0
   104
	TFourCC fourCC; return fourCC;
sl@0
   105
}
sl@0
   106
sl@0
   107
void CMMFFormatEncode::BufferFilledL(CMMFBuffer* /*aBuffer*/)
sl@0
   108
{
sl@0
   109
}
sl@0
   110
sl@0
   111
void CMMFFormatEncode::CropL(TTimeIntervalMicroSeconds /*aPosition*/, TBool /*aToEnd*/)
sl@0
   112
{
sl@0
   113
	User::Leave(KErrNotSupported);
sl@0
   114
}
sl@0
   115
sl@0
   116
void CMMFFormatEncode::GetNumberOfMetaDataEntriesL(TInt& /*aNumberOfEntries*/)
sl@0
   117
{
sl@0
   118
	User::Leave(KErrNotSupported);
sl@0
   119
}
sl@0
   120
sl@0
   121
CMMFMetaDataEntry* CMMFFormatEncode::MetaDataEntryL(TInt /*aIndex*/)
sl@0
   122
{
sl@0
   123
	User::Leave(KErrNotSupported); return NULL;
sl@0
   124
}
sl@0
   125
sl@0
   126
void CMMFFormatEncode::AddMetaDataEntryL(const CMMFMetaDataEntry& /*aNewEntry*/)
sl@0
   127
{
sl@0
   128
	User::Leave(KErrNotSupported);
sl@0
   129
}
sl@0
   130
sl@0
   131
TInt CMMFFormatEncode::RemoveMetaDataEntry(TInt /*aIndex*/)
sl@0
   132
{
sl@0
   133
	return KErrNotSupported;
sl@0
   134
}
sl@0
   135
sl@0
   136
void CMMFFormatEncode::ReplaceMetaDataEntryL(TInt /*aIndex*/, const CMMFMetaDataEntry& /*aNewEntry*/)
sl@0
   137
{
sl@0
   138
	User::Leave(KErrNotSupported);
sl@0
   139
}
sl@0
   140
sl@0
   141
TInt CMMFFormatEncode::SetNumChannels(TUint /*aChannels*/)
sl@0
   142
{
sl@0
   143
	return KErrNotSupported;
sl@0
   144
}
sl@0
   145
sl@0
   146
TInt CMMFFormatEncode::SetSampleRate(TUint /*aSampleRate*/)
sl@0
   147
{
sl@0
   148
	return KErrNotSupported;
sl@0
   149
}
sl@0
   150
sl@0
   151
TInt CMMFFormatEncode::SetBitRate(TUint /*aBitRate*/)
sl@0
   152
{
sl@0
   153
	return KErrNotSupported;
sl@0
   154
}
sl@0
   155
sl@0
   156
void CMMFFormatEncode::GetSupportedSampleRatesL(RArray<TUint>& /*aSampleRates*/)
sl@0
   157
{
sl@0
   158
	User::Leave(KErrNotSupported);
sl@0
   159
}
sl@0
   160
sl@0
   161
void CMMFFormatEncode::GetSupportedBitRatesL(RArray<TUint>& /*aBitRates*/)
sl@0
   162
{
sl@0
   163
	User::Leave(KErrNotSupported);
sl@0
   164
}
sl@0
   165
sl@0
   166
void CMMFFormatEncode::GetSupportedNumChannelsL(RArray<TUint>& /*aNumChannels*/)
sl@0
   167
{
sl@0
   168
	User::Leave(KErrNotSupported);
sl@0
   169
}
sl@0
   170
sl@0
   171
void CMMFFormatEncode::GetSupportedDataTypesL(TMediaId /*aMediaId*/, RArray<TFourCC>& /*aDataTypes*/)
sl@0
   172
{
sl@0
   173
	User::Leave(KErrNotSupported);
sl@0
   174
}
sl@0
   175
sl@0
   176
void CMMFFormatEncode::SetMaximumClipSizeL(TInt /*aBytes*/)
sl@0
   177
{
sl@0
   178
	User::Leave(KErrNotSupported);
sl@0
   179
}
sl@0
   180
sl@0
   181
void CMMFFormatEncode::SetPositionL(const TTimeIntervalMicroSeconds& /*aPosition*/)
sl@0
   182
{
sl@0
   183
	User::Leave(KErrNotSupported);
sl@0
   184
}
sl@0
   185