equal
deleted
inserted
replaced
29 // Forward declarations |
29 // Forward declarations |
30 class CAknKeySoundSystem; |
30 class CAknKeySoundSystem; |
31 class CCamAppController; |
31 class CCamAppController; |
32 class MCamAudioPlayerObserver; |
32 class MCamAudioPlayerObserver; |
33 class CCamPlayerWrapperBase; |
33 class CCamPlayerWrapperBase; |
34 class CCamTonePlayerWrapper; |
|
35 |
34 |
36 // =========================================================================== |
35 // =========================================================================== |
37 // Class definitions |
36 // Class definitions |
38 |
37 |
39 /** |
38 /** |
79 /** |
78 /** |
80 * @param aCallback If set ETrue, calling method this results in one |
79 * @param aCallback If set ETrue, calling method this results in one |
81 * callback to MCamAudioPlayerObserver::PlayComplete |
80 * callback to MCamAudioPlayerObserver::PlayComplete |
82 */ |
81 */ |
83 void PlaySound( TInt aSoundId, |
82 void PlaySound( TInt aSoundId, |
84 TBool aCallback ); |
|
85 |
|
86 /** |
|
87 * @param aCallback If set ETrue, calling method this results in one |
|
88 * callback to MCamAudioPlayerObserver::PlayComplete |
|
89 */ |
|
90 void PlayTone( TInt aToneInHz, |
|
91 TInt aLengthInUs, |
|
92 TReal32 aVolumeInPercent, |
|
93 TBool aCallback ); |
83 TBool aCallback ); |
94 |
84 |
95 /** |
85 /** |
96 * Cancel all ongoing playing activity. |
86 * Cancel all ongoing playing activity. |
97 */ |
87 */ |
137 |
127 |
138 CCamAppController& iController; |
128 CCamAppController& iController; |
139 MCamPlayerObserver& iObserver; |
129 MCamPlayerObserver& iObserver; |
140 |
130 |
141 RPointerArray<CCamPlayerWrapperBase> iPlayers; |
131 RPointerArray<CCamPlayerWrapperBase> iPlayers; |
142 CCamTonePlayerWrapper* iTonePlayer; |
|
143 |
132 |
144 TInt iCameraMode; // TCamCameraMode value |
133 TInt iCameraMode; // TCamCameraMode value |
145 TInt iCaptureSoundId; // Sound id or -1 if not set |
134 TInt iCaptureSoundId; // Sound id or -1 if not set |
146 |
135 |
147 CAknKeySoundSystem* iKeySoundSystem; // not own |
136 CAknKeySoundSystem* iKeySoundSystem; // not own |