diff -r 000000000000 -r bde4ae8d615e os/mm/mm_plat/audio_routing_api/inc/AudioInput.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mm_plat/audio_routing_api/inc/AudioInput.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,86 @@ +/* +* Copyright (c) 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: AudioInput API header +* +*/ + + +#ifndef CAUDIOINPUT_H +#define CAUDIOINPUT_H + +// INCLUDES +#include +#include + +// FORWARD DECLARATIONS +class CMdaAudioRecorderUtility; +class CMMFDevSound; +class MCustomInterface; +class MCustomCommand; +class CMdaAudioInputStream; +class CVideoRecorderUtility; + +// CLASS DECLARATION + +/** +* ?one_line_short_description. +* ?other_description_lines +*/ +class CAudioInput : public CBase + { + public: // Data Types + + enum TAudioInputPreference + { + EDefaultMic, + EOutputToSpeaker, + EFMRadio, + EVoiceCall, + ELineIn + }; + + typedef TArray TAudioInputArray; + + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + IMPORT_C static CAudioInput* NewL(CMdaAudioRecorderUtility& aUtility); +// IMPORT_C static CAudioInput* NewL(CMidiClientUtility& aUtility); + IMPORT_C static CAudioInput* NewL(CMMFDevSound& aDevSound); + IMPORT_C static CAudioInput* NewL(MCustomInterface& aUtility); + IMPORT_C static CAudioInput* NewL(MCustomCommand& aUtility); + IMPORT_C static CAudioInput* NewL(CMdaAudioInputStream& aUtility); + IMPORT_C static CAudioInput* NewL(CVideoRecorderUtility& aUtility); + + /** + * ?member_description. + * @param ?arg1 ?description + * @return ?description + */ + virtual TAudioInputArray AudioInput() = 0; + + /** + * ?member_description. + * @param ?arg1 ?description + * @return ?description + */ + virtual void SetAudioInputL(TAudioInputArray aAudioInputs) = 0; + + }; + +#endif // CAUDIOINPUT_H + +// End of File