# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1278414211 -10800 # Node ID 931072794a66cc88a215cd4f8fa6485494d6d677 # Parent 7fd5a1cdf0d8013e6ac24eee4fb51c6b373cfb24 Revision: 201027 Kit: 2010127 diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/EABI/btaudioadaptationU.DEF --- 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 - diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/bwins/btaudioadaptationU.DEF --- 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) - diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/group/bld.inf --- 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 diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/group/btaudiostreaminputadaptation.mmp --- 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 - -#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 diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/inc/btaudioadaptationdebug.h --- 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 - - -#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 - -_LIT(KLogFile,"BTAudioAdaptationLog.txt"); -_LIT(KLogDirFullName,"c:\\logs\\bt\\"); -_LIT(KLogDir,"BT"); - -#include -#include - -#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 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 - -#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 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 diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/inc/btaudiostreaminputadaptation.h --- 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 -#include -#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 diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/layers.sysdef.xml --- 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 @@ - - -]> - - - - - - - - - - diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/rom/btaudioadaptation.iby --- 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 diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/src/btaudiostreaminputadaptation.cpp --- 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 - -#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() <-"))); - } diff -r 7fd5a1cdf0d8 -r 931072794a66 btaudioadaptation_stub/sysdef_1_4_0.dtd --- 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -