Revision: 201027
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:03:31 +0300
changeset 31 931072794a66
parent 27 7fd5a1cdf0d8
child 33 bb052355fab9
child 39 65e91466a14b
Revision: 201027 Kit: 2010127
btaudioadaptation_stub/EABI/btaudioadaptationU.DEF
btaudioadaptation_stub/bwins/btaudioadaptationU.DEF
btaudioadaptation_stub/group/bld.inf
btaudioadaptation_stub/group/btaudiostreaminputadaptation.mmp
btaudioadaptation_stub/inc/btaudioadaptationdebug.h
btaudioadaptation_stub/inc/btaudiostreaminputadaptation.h
btaudioadaptation_stub/layers.sysdef.xml
btaudioadaptation_stub/rom/btaudioadaptation.iby
btaudioadaptation_stub/src/btaudiostreaminputadaptation.cpp
btaudioadaptation_stub/sysdef_1_4_0.dtd
--- a/btaudioadaptation_stub/EABI/btaudioadaptationU.DEF	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-EXPORTS
-	_ZN23CBTAudioStreamInputBase4NewLER22MBTAudioStreamObserverR21MBTAudioErrorObserver @ 1 NONAME
-	_ZN29CBTAudioStreamInputAdaptation10DisconnectEv @ 2 NONAME
-	_ZN29CBTAudioStreamInputAdaptation13BufferEmptiedERK6TDesC8 @ 3 NONAME
-	_ZN29CBTAudioStreamInputAdaptation16EncoderInterfaceE4TUid @ 4 NONAME
-	_ZN29CBTAudioStreamInputAdaptation4StopEv @ 5 NONAME
-	_ZN29CBTAudioStreamInputAdaptation5StartEv @ 6 NONAME
-	_ZN29CBTAudioStreamInputAdaptation7ConnectEv @ 7 NONAME
-	_ZN29CBTAudioStreamInputAdaptation9SetFormatE7TFourCC @ 8 NONAME
-
--- a/btaudioadaptation_stub/bwins/btaudioadaptationU.DEF	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-EXPORTS
-	?NewL@CBTAudioStreamInputBase@@SAPAV1@AAVMBTAudioStreamObserver@@AAVMBTAudioErrorObserver@@@Z @ 1 NONAME ; class CBTAudioStreamInputBase * CBTAudioStreamInputBase::NewL(class MBTAudioStreamObserver &, class MBTAudioErrorObserver &)
-	?BufferEmptied@CBTAudioStreamInputAdaptation@@UAEXABVTDesC8@@@Z @ 2 NONAME ; void CBTAudioStreamInputAdaptation::BufferEmptied(class TDesC8 const &)
-	?Connect@CBTAudioStreamInputAdaptation@@UAEHXZ @ 3 NONAME ; int CBTAudioStreamInputAdaptation::Connect(void)
-	?Disconnect@CBTAudioStreamInputAdaptation@@UAEXXZ @ 4 NONAME ; void CBTAudioStreamInputAdaptation::Disconnect(void)
-	?EncoderInterface@CBTAudioStreamInputAdaptation@@UAEPAXVTUid@@@Z @ 5 NONAME ; void * CBTAudioStreamInputAdaptation::EncoderInterface(class TUid)
-	?SetFormat@CBTAudioStreamInputAdaptation@@UAEHVTFourCC@@@Z @ 6 NONAME ; int CBTAudioStreamInputAdaptation::SetFormat(class TFourCC)
-	?Start@CBTAudioStreamInputAdaptation@@UAEHXZ @ 7 NONAME ; int CBTAudioStreamInputAdaptation::Start(void)
-	?Stop@CBTAudioStreamInputAdaptation@@UAEXXZ @ 8 NONAME ; void CBTAudioStreamInputAdaptation::Stop(void)
-
--- a/btaudioadaptation_stub/group/bld.inf	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-/*
-* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Build information file for project btaudioadaptation_stub
-*
-*/
-
-
-PRJ_PLATFORMS
-DEFAULT
-
-#if defined __BT_STEREO_AUDIO
-
-PRJ_MMPFILES
-../group/btaudiostreaminputadaptation.mmp	
-
-#endif // __BT_STEREO_AUDIO 
--- a/btaudioadaptation_stub/group/btaudiostreaminputadaptation.mmp	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/*
-* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Project definition file for project btaudioadaptation_stub 
-*
-*/
-
-
-#include <platform_paths.hrh>
-
-#if defined(WINS) || defined(WINSCW)
-TARGET        btaudioadaptation.dll
-#else 
-TARGET        btaudioadaptation_stub.dll
-#endif
-
-CAPABILITY 	CAP_GENERAL_DLL 
-TARGETTYPE	DLL
-UID 	0x1000008d   0x10208977
-
-VENDORID 	VID_DEFAULT
-
-SOURCEPATH	../src
-SOURCE		btaudiostreaminputadaptation.cpp
-
-USERINCLUDE	../inc
-
-OS_LAYER_SYSTEMINCLUDE
-
-LIBRARY		euser.lib	// user library 
-
-DEBUGLIBRARY         flogger.lib	// file logging services 
-
-EXPORTLIBRARY 	btaudioadaptation.lib 
-LINKAS 					btaudioadaptation.dll 
--- a/btaudioadaptation_stub/inc/btaudioadaptationdebug.h	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,150 +0,0 @@
-/*
-* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Debug definitions for BT Audio Adaptation 
-*
-*/
-
-
-#ifndef BT_AUDIO_ADAPTATION_DEBUG_H 
-#define BT_AUDIO_ADAPTATION_DEBUG_H 
-
-#include <f32file.h>
-
-
-#ifdef _DEBUG
-
-// Print options
-
-#define KPRINTERROR		0x00000001 // Print error
-#define KPRINTFTRACE	0x00000002 // Print function trace
-#define KPRINTSTATE		0x00000004 // Print state machine infos
-
-const TInt KDebugMask = KPRINTERROR	| KPRINTFTRACE | KPRINTSTATE ; 
-
-
-// Un-comment/comment this definition to enable/disable memory tracing
-//#define MEMTRACE
-
-#ifdef __WINS__
-
-// File logging for WINS
-#define __FLOGGING__
-
-#else
-
-// Logging with RDebug for target HW
-#define __CLOGGING__
-
-#endif //__WINS__
-
-#endif // _DEBUG
-
-
-// ==================================================================
-// File logging
-// ==================================================================
-//
-#if  defined(__FLOGGING__)
-
-#include <e32std.h>
-
-_LIT(KLogFile,"BTAudioAdaptationLog.txt");
-_LIT(KLogDirFullName,"c:\\logs\\bt\\");
-_LIT(KLogDir,"BT");
-
-#include <f32file.h>
-#include <flogger.h>
-
-#define FLOG(a) { FPrint(a); }
-  
-#define FTRACE(a) { a; }
-
-#define BT_AUDIO_ADAPTATION_TRACE_OPT(a,p) {if((KDebugMask)&(a))p;}
-
-
-
-
-inline void FPrint(const TRefByValue<const TDesC> aFmt, ...)
-    {
-    VA_LIST list;
-    VA_START(list,aFmt);
-    RFileLogger::WriteFormat(KLogDir, KLogFile, EFileLoggingModeAppend, aFmt, list);
-#ifdef MEMTRACE
-    TInt size;
-    User::Heap().AllocSize(size);   
-    RFileLogger::WriteFormat(KLogDir, KLogFile, EFileLoggingModeAppend, _L("[BTAudioAdaptation]\t MEM\tAllocated from heap: %d B. Total heap size: %d B"), size, User::Heap().Size());
-#endif
-    }
-
-
-inline void FHex(const TUint8* aPtr, TInt aLen)
-    {
-    RFileLogger::HexDump(KLogDir, KLogFile, EFileLoggingModeAppend, 0, 0, aPtr, aLen);
-    }
-
-
-inline void FHex(const TDesC8& aDes)
-    {
-    FHex(aDes.Ptr(), aDes.Length());
-    }
-
-
-// ==================================================================
-// RDebug logging
-// ==================================================================
-//
-#elif defined(__CLOGGING__)
-
-#include <e32svr.h>
-
-#define FLOG(a) { RDebug::Print(a);  }
-
-#define FHex(a)
-
-#define FTRACE(a) { a; }
-
-#define BT_AUDIO_ADAPTATION_TRACE_OPT(a,p) {if((KDebugMask)&(a))p;}
-
-
-inline void FPrint(const TRefByValue<const TDesC> aFmt, ...)
-    {
-    VA_LIST list;
-    VA_START(list,aFmt);
-    TInt tmpInt = VA_ARG(list, TInt);
-    TInt tmpInt2 = VA_ARG(list, TInt);
-    TInt tmpInt3 = VA_ARG(list, TInt);
-    VA_END(list);
-    RDebug::Print(aFmt, tmpInt, tmpInt2, tmpInt3);
-    }
-
-
-// ==================================================================
-// No loggings --> Reduced binary size
-// ==================================================================
-//
-#else // if no __FLOGGING__ and no __CLOGGING__
-
-#define FLOG(a)
-
-#define FTRACE(a)
-
-#define FHex(a)
-
-#define BT_AUDIO_ADAPTATION_TRACE_OPT(a,p)
-
-#endif // ...loggings 
-
-#endif // BTAUDIOADAPTATION_DEBUG_H
-
-// End of File
--- a/btaudioadaptation_stub/inc/btaudiostreaminputadaptation.h	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,146 +0,0 @@
-/*
-* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  This header specifies the implementation of BT Audio Adaptation API. 
-*
-*/
-
-
-#ifndef __BTAUDIOSTREAMINPUTADAPTATION_H__
-#define __BTAUDIOSTREAMINPUTADAPTATION_H__
-
-#include <e32base.h>
-#include <e32std.h>
-#include "btaudiostreaminputbase.h" 
-
-/**
- *  This class implements the interface specified by CBTAudioStreamInputBase. 
- *
- *  This class contains the stub implementation of the CAudioStreamInputAdaptation, 
- *  that inherits from CBTAudioStreamInputBase. 
- *  
- *  To the user it seems as if he's operating with the base class, because he calls, 
- *  but in practice the class he uses is an instance of this class. 
- *
- *  @lib btaudioadaptation.lib
- *  @since S60 v3.1 
- */
-NONSHARABLE_CLASS(CBTAudioStreamInputAdaptation) : public CBTAudioStreamInputBase 
-    {
-    public:  
-    static CBTAudioStreamInputAdaptation* NewL( MBTAudioStreamObserver& aStreamObserver, MBTAudioErrorObserver& aErrorObserver );
-    virtual ~CBTAudioStreamInputAdaptation();
-
-    public: 
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is called when the client has processed the buffer it got 
-     * from the Receive method. 
-     * 
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param aBuffer refers to the buffer that was received earlier in the Receive method. 
-     * @return  void
-     */
-        IMPORT_C void BufferEmptied( const TDesC8& aBuffer );
-
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is for connecting to the audio subsystem. 
-     *
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param void. 
-     * @return a Symbian OS wide error code. 
-     */
-        IMPORT_C TInt Connect();
-
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is for disconnecting from the audio subsystem. 
-     *
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param void. 
-     * @return void
-     */
-        IMPORT_C void Disconnect();
-
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is for passing the custom interfaces that are 
-     * needed sometimes for configuring the hardware encoder. 
-     *
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param aInterfaceId specifies the id of custom interface that the client 
-     *        wants to get. 
-     * @return  A pointer to the requested interface. Client must cast it into a correct class. 
-     */
-        IMPORT_C TAny* EncoderInterface(TUid aInterfaceId);
-
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is for choosing the encoder for the audio data. 
-     *
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param aDesiredFourCC specifies the encoder that the client wants to use. 
-     * @return a Symbian OS wide error code. 
-     */
-        IMPORT_C TInt SetFormat(TFourCC aDesiredFourCC);
-
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is for starting the recording from the audio subsystem. 
-     *
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param void. 
-     * @return a Symbian OS wide error code. 
-     */
-        IMPORT_C TInt Start();
-
-    /**
-     * From CBTAudioStreamInputBase.
-     * This method is for stopping the recording from the audio subsystem. 
-     *
-     * See BT Audio Adaptation API and BT Audio Adaptation Design specifications 
-     * for detailed explanation. 
-     *
-     * @since S60 v3.1
-     * @param void. 
-     * @return a Symbian OS wide error code. 
-     */
-        IMPORT_C void Stop();
-
-    private:
-        CBTAudioStreamInputAdaptation(MBTAudioStreamObserver& aStreamObserver, MBTAudioErrorObserver& aErrorObserver);
-        void ConstructL();
-        void RunL(); 
-        void DoCancel();
-   }; 
-
-#endif 
--- a/btaudioadaptation_stub/layers.sysdef.xml	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE SystemDefinition SYSTEM "sysdef_1_4_0.dtd" [
-  <!ENTITY layer_real_source_path "sf/adaptation/stubs/btaudioadaptation_stub" >
-]>
-
-<SystemDefinition name="btaudioadaptation_stub" schema="1.4.0">
-  <systemModel>
-    <layer name="stubs_layer">
-      <module name="btaudioadaptation_stub">
-        <unit unitID="lcdo.btaudioadaptation_stub" mrp="" bldFile="&layer_real_source_path;/group" name="btaudioadaptation_stub" filter="oem_build"/>
-      </module>
-    </layer>
-  </systemModel>
-</SystemDefinition>
--- a/btaudioadaptation_stub/rom/btaudioadaptation.iby	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef __BTAUDIOADAPTATION_IBY__
-#define __BTAUDIOADAPTATION_IBY__
-
-file=ABI_DIR\BUILD_DIR\btaudioadaptation_stub.dll		SHARED_LIB_DIR\btaudioadaptation.dll
-
-#endif
--- a/btaudioadaptation_stub/src/btaudiostreaminputadaptation.cpp	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,150 +0,0 @@
-/*
-* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Contains stub implementation of CBTAudioStreamInputAdaptation class, 
-*                which implements BT Audio Adaptation API. 
-*
-*/
-
-
-#include <e32std.h> 
-
-#include "btaudiostreaminputadaptation.h"
-#include "btaudioadaptationdebug.h"
-
-CBTAudioStreamInputAdaptation::CBTAudioStreamInputAdaptation(MBTAudioStreamObserver& /*aStreamObserver*/, MBTAudioErrorObserver& /*aErrorObserver*/) 
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::CBTAudioStreamInputAdaptation() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::CBTAudioStreamInputAdaptation() <-")));
-    }
-
-void CBTAudioStreamInputAdaptation::ConstructL()
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::ConstructL() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::ConstructL() <-")));
-    }
-
-// ---------------------------------------------------------------------------
-// Static factory method for the abstract base class. 
-// This just calls the factory method of the concrete implementation class. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C CBTAudioStreamInputBase* CBTAudioStreamInputBase::NewL(MBTAudioStreamObserver& aStreamObserver, MBTAudioErrorObserver& aErrorObserver)
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioInput::NewL() ->")));
-    CBTAudioStreamInputBase* audioInput = (CBTAudioStreamInputAdaptation::NewL(aStreamObserver, aErrorObserver)); 
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioInput::NewL() <-")));
-    return audioInput; 
-    }
-
-// ---------------------------------------------------------------------------
-// Static factory method. 
-// ---------------------------------------------------------------------------
-//
-CBTAudioStreamInputAdaptation* CBTAudioStreamInputAdaptation::NewL(MBTAudioStreamObserver& aStreamObserver, MBTAudioErrorObserver& aErrorObserver)
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::NewL() ->")));
-    CBTAudioStreamInputAdaptation* self = new (ELeave) CBTAudioStreamInputAdaptation(aStreamObserver, aErrorObserver);
-    CleanupStack::PushL(self); 
-    self->ConstructL();
-    CleanupStack::Pop(self);
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::NewL() <-")));
-    return self;
-    }
-
-CBTAudioStreamInputAdaptation::~CBTAudioStreamInputAdaptation()
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::~CBTAudioStreamInputAdaptation() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::~CBTAudioStreamInputAdaptation() <-")));
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Returns KErrNotSupported always - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C TInt CBTAudioStreamInputAdaptation::Start()
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Start() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Start() <-")));
-    return KErrNotSupported;
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Returns a NULL pointer always - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C TAny* CBTAudioStreamInputAdaptation::EncoderInterface(TUid /*aInterfaceId*/)
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::EncoderInterface() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::EncoderInterface() <-")));
-    return (TAny *) 0;
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Doesn't do anything - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C void CBTAudioStreamInputAdaptation::BufferEmptied( const TDesC8& /*aBuffer*/ )
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::BufferEmptied() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::BufferEmptied() <-")));
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Doesn't do anything - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C void CBTAudioStreamInputAdaptation::Stop()
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Stop() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Stop() <-")));
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Returns KErrNotSupported always - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C TInt CBTAudioStreamInputAdaptation::SetFormat(TFourCC /*aDesiredFourCC*/)
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::SetFormat() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::SetFormat() <-")));
-    return KErrNotSupported; 
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Returns KErrNotSupported always - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C TInt CBTAudioStreamInputAdaptation::Connect() 
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Connect() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Connect() <-")));
-    return KErrNotSupported; 
-    }
-
-// ---------------------------------------------------------------------------
-// From class CBTAudioStreamInputBase.
-// Doesn't do anything - this is the stub implementation. 
-// ---------------------------------------------------------------------------
-//
-EXPORT_C void CBTAudioStreamInputAdaptation::Disconnect()
-    {
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Disconnect() ->")));
-    BT_AUDIO_ADAPTATION_TRACE_OPT( KPRINTFTRACE, FLOG(_L("[BTAudioAdaptation]\t CBTAudioStreamInputAdaptation::Disconnect() <-")));
-    }
--- a/btaudioadaptation_stub/sysdef_1_4_0.dtd	Thu May 27 12:42:47 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
- <!ELEMENT SystemDefinition (systemModel?, build?)>
- <!ATTLIST SystemDefinition
-  name CDATA #REQUIRED
-  schema CDATA #REQUIRED>
- <!ELEMENT systemModel (layer+)>
- <!ELEMENT layer (logicalset* | module*)*>
- <!ATTLIST layer
-  name CDATA #REQUIRED
-  levels CDATA #IMPLIED
-  span CDATA #IMPLIED>
- <!ELEMENT logicalset (logicalsubset* | module* | unit* | package* | prebuilt*)*>
- <!ATTLIST logicalset name CDATA #REQUIRED>
- <!ELEMENT logicalsubset (module* | unit* | package* | prebuilt*)*>
- <!ATTLIST logicalsubset name CDATA #REQUIRED>
- <!ELEMENT module (component* | unit* | package* | prebuilt*)*>
- <!ATTLIST module
-  name CDATA #REQUIRED
-  level CDATA #IMPLIED>
- <!ELEMENT component (unit* | package* | prebuilt*)*>
- <!ATTLIST component name CDATA #REQUIRED>
- <!ELEMENT unit EMPTY>
- <!ATTLIST unit
-  unitID ID #REQUIRED
-  name CDATA #REQUIRED
-  mrp CDATA #REQUIRED
-  filter CDATA #IMPLIED
-  bldFile CDATA #REQUIRED
-  priority CDATA #IMPLIED
-  contract CDATA #IMPLIED>
- <!ELEMENT package EMPTY>
- <!ATTLIST package
-  name CDATA #REQUIRED
-  mrp CDATA #REQUIRED
-  filter CDATA #IMPLIED
-  contract CDATA #IMPLIED>
- <!ELEMENT prebuilt EMPTY>
- <!ATTLIST prebuilt
-  name CDATA #REQUIRED
-  version CDATA #REQUIRED
-  late (Y|N) #IMPLIED
-  filter CDATA #IMPLIED
-  contract CDATA #IMPLIED>
- <!ELEMENT build (option* | target+ | targetList+ | unitList+ | configuration+)*>
- <!ELEMENT unitList (unitRef+)>
- <!ATTLIST unitList
-  name ID #REQUIRED
-  description CDATA #REQUIRED>
- <!ELEMENT unitRef EMPTY>
- <!ATTLIST unitRef unit IDREF #REQUIRED>
- <!ELEMENT targetList EMPTY>
- <!ATTLIST targetList
-  name ID #REQUIRED
-  description CDATA #REQUIRED
-  target IDREFS #REQUIRED>
- <!ELEMENT target EMPTY>
- <!ATTLIST target
-  name ID #REQUIRED
-  abldTarget CDATA #REQUIRED
-  description CDATA #REQUIRED>
- <!ELEMENT option EMPTY>
- <!ATTLIST option
-  name ID #REQUIRED
-  abldOption CDATA #REQUIRED
-  description CDATA #REQUIRED
-  enable (Y | N | y | n) #REQUIRED>
- <!ELEMENT configuration (unitListRef+ | layerRef+ | task+)*>
- <!ATTLIST configuration
-  name ID #REQUIRED
-  description CDATA #REQUIRED
-  filter CDATA #REQUIRED>
- <!ELEMENT task ( unitListRef* , (buildLayer | specialInstructions))>
- <!ELEMENT unitListRef EMPTY>
- <!ATTLIST unitListRef unitList IDREF #REQUIRED>
- <!ELEMENT layerRef EMPTY>
- <!ATTLIST layerRef layerName CDATA #REQUIRED>
- <!ELEMENT buildLayer EMPTY>
- <!ATTLIST buildLayer
-  command CDATA #REQUIRED
-  targetList IDREFS #IMPLIED
-  unitParallel (Y | N | y | n) #REQUIRED
-  targetParallel (Y | N | y | n) #IMPLIED>
- <!ELEMENT specialInstructions EMPTY>
- <!ATTLIST specialInstructions
-  name CDATA #REQUIRED
-  cwd CDATA #REQUIRED
-  command CDATA #REQUIRED>