26 * Interface to wrap CMdaAudioToneUtility. |
26 * Interface to wrap CMdaAudioToneUtility. |
27 * |
27 * |
28 */ |
28 */ |
29 class TMSAudioToneUtility |
29 class TMSAudioToneUtility |
30 { |
30 { |
31 |
|
32 public: |
31 public: |
33 /** |
32 /** |
34 * See CMdaAudioToneUtility::PrepareToPlayDesSequence. |
33 * See CMdaAudioToneUtility::PrepareToPlayDesSequence. |
35 */ |
34 */ |
36 virtual void PrepareToPlayDesSequence(const TDesC8& aSequence ) = 0; |
35 virtual void PrepareToPlayDesSequence(const TDesC8& aSequence) = 0; |
37 |
36 |
38 /** |
37 /** |
39 * See CMdaAudioToneUtility::State. |
38 * See CMdaAudioToneUtility::State. |
40 */ |
39 */ |
41 virtual TMdaAudioToneUtilityState State() = 0; |
40 virtual TMdaAudioToneUtilityState State() = 0; |
51 virtual TInt MaxVolume() = 0; |
50 virtual TInt MaxVolume() = 0; |
52 |
51 |
53 /** |
52 /** |
54 * See CMdaAudioToneUtility::SetVolume. |
53 * See CMdaAudioToneUtility::SetVolume. |
55 */ |
54 */ |
56 virtual void SetVolume( TInt aVolume ) = 0; |
55 virtual void SetVolume(TInt aVolume) = 0; |
57 |
56 |
58 /** |
57 /** |
59 * See CMdaAudioToneUtility::SetRepeats. |
58 * See CMdaAudioToneUtility::SetRepeats. |
60 */ |
59 */ |
61 virtual void SetRepeats( |
60 virtual void SetRepeats(TInt aRepeatNumberOfTimes, |
62 TInt aRepeatNumberOfTimes, |
61 const TTimeIntervalMicroSeconds& aTrailingSilence) = 0; |
63 const TTimeIntervalMicroSeconds& aTrailingSilence ) = 0; |
|
64 |
62 |
65 /** |
63 /** |
66 * See CMdaAudioToneUtility::SetPriority. |
64 * See CMdaAudioToneUtility::SetPriority. |
67 */ |
65 */ |
68 virtual void SetPriority( |
66 virtual void SetPriority(TInt aPriority, TMdaPriorityPreference aPref) = 0; |
69 TInt aPriority, |
|
70 TMdaPriorityPreference aPref) = 0; |
|
71 |
67 |
72 /** |
68 /** |
73 * See CMdaAudioToneUtility::SetVolumeRamp. |
69 * See CMdaAudioToneUtility::SetVolumeRamp. |
74 */ |
70 */ |
75 virtual void SetVolumeRamp( |
71 virtual void SetVolumeRamp( |
76 const TTimeIntervalMicroSeconds& aRampDuration) = 0; |
72 const TTimeIntervalMicroSeconds& aRampDuration) = 0; |
77 |
73 |
78 /** |
74 /** |
79 * See CMdaAudioToneUtility::SetVolumeRamp. |
75 * See CMdaAudioToneUtility::SetVolumeRamp. |
80 */ |
76 */ |
81 virtual void Play() = 0; |
77 virtual void Play() = 0; |