equal
deleted
inserted
replaced
24 |
24 |
25 #include "testsetvol.h" |
25 #include "testsetvol.h" |
26 |
26 |
27 class CSetVol; |
27 class CSetVol; |
28 |
28 |
|
29 enum TSetVolCommands |
|
30 { |
|
31 ETestSetVolIfSetVolCommand, |
|
32 ETestSetVolIfVolCommand, |
|
33 }; |
|
34 |
29 /** |
35 /** |
30 * |
36 * |
31 * CA3fClientCiStubExtn |
37 * CA3fClientCiStubExtn |
32 * |
38 * |
33 * stub version of MDevSoundCIClientExtension |
39 * stub version of MDevSoundCIClientExtension |
50 void Release(); |
56 void Release(); |
51 void PassDestructorKey(TUid aDestructorKey); |
57 void PassDestructorKey(TUid aDestructorKey); |
52 |
58 |
53 // from MTestSetVolIf |
59 // from MTestSetVolIf |
54 TInt SetVol(TInt aVolume); |
60 TInt SetVol(TInt aVolume); |
|
61 TInt Vol(TInt aMaxVolume); |
55 |
62 |
56 protected: |
63 protected: |
57 TUid iKey; |
64 TUid iKey; |
58 MCustomCommand* iCommand; // not owned |
65 MCustomCommand* iCommand; // not owned |
59 HBufC* iDummyBuffer; |
66 HBufC* iDummyBuffer; |
107 CSetVol(MCustomInterface& aCustomInterface); |
114 CSetVol(MCustomInterface& aCustomInterface); |
108 void ConstructL(); |
115 void ConstructL(); |
109 |
116 |
110 void UpdateA3fPointers(); |
117 void UpdateA3fPointers(); |
111 void SetVolumeL(TInt aVol); |
118 void SetVolumeL(TInt aVol); |
|
119 TInt VolumeL(TInt aMaxVolume); |
112 |
120 |
113 MCustomInterface* iInterface; // not owned |
121 MCustomInterface* iInterface; // not owned |
114 MAudioContext* iContext; |
122 MAudioContext* iContext; |
115 MAudioStream* iStream; |
123 MAudioStream* iStream; |
116 MAudioProcessingUnit* iGain; |
124 MAudioProcessingUnit* iGain; |