equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 // |
|
15 |
|
16 |
|
17 #ifndef __MDABTHWINFO_H__ |
|
18 #define __MDABTHWINFO_H__ |
|
19 |
|
20 #include <e32base.h> |
|
21 #include "mdasound.h" |
|
22 |
|
23 class CMdaHwInfo : public CBase |
|
24 { |
|
25 |
|
26 public: |
|
27 static CMdaHwInfo* NewL(); |
|
28 ~CMdaHwInfo(); |
|
29 inline RMdaDevSound::TSoundFormatsSupportedBuf& GetPlayFormatsSupported() {return iPlayFormatsSupported;} |
|
30 inline RMdaDevSound::TCurrentSoundFormatBuf& GetPlayFormat() {return iPlayFormat;} |
|
31 inline RMdaDevSound::TSoundFormatsSupportedBuf& GetRecordFormatsSupported() { return iRecordFormatsSupported;} |
|
32 inline RMdaDevSound::TCurrentSoundFormatBuf& GetRecordFormat() { return iRecordFormat;} |
|
33 |
|
34 protected: |
|
35 CMdaHwInfo(); |
|
36 private: |
|
37 void ConstructL(); |
|
38 void GetHwInfoL(); |
|
39 |
|
40 RMdaDevSound::TSoundFormatsSupportedBuf iPlayFormatsSupported; |
|
41 RMdaDevSound::TCurrentSoundFormatBuf iPlayFormat; |
|
42 RMdaDevSound::TSoundFormatsSupportedBuf iRecordFormatsSupported; |
|
43 RMdaDevSound::TCurrentSoundFormatBuf iRecordFormat; |
|
44 RMdaDevSound iDevice; |
|
45 |
|
46 }; |
|
47 |
|
48 #endif |
|
49 |