| class TBaSystemSoundInfo::TTone |
Provides functions to define a tone. Once defined, the tone can be encapsulated using the TBaSystemSoundInfo class and subsequently played.
| Public Member Functions | |
|---|---|
| TTone() | |
| TTone(TInt, TTimeIntervalMicroSeconds32) | |
| void | ExternalizeL(RWriteStream &) |
| void | InternalizeL(RReadStream &) |
| TBool | IsNull() |
| Public Attributes | |
|---|---|
| TTimeIntervalMicroSeconds32 | iDuration |
| TInt | iFrequency |
| TTone | ( | ) | [inline] |
Default constructor. Sets up a TTone object with null frequency and duration.
| TTone | ( | TInt | aFrequency, |
| TTimeIntervalMicroSeconds32 | aDuration | ||
| ) | [inline] | ||
Constructor which sets up a TTone object with specified frequency and duration.
| TInt aFrequency | The tone's frequency. |
| TTimeIntervalMicroSeconds32 aDuration | The tone's duration. |
| void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Saves a tone's frequency and duration.
| RWriteStream & aStream | The stream to which the tone's frequency and duration is written. |
| void | InternalizeL | ( | RReadStream & | aStream | ) |
Gets a tone's frequency and duration.
| RReadStream & aStream | The stream from which the tone's frequency and duration is read. |
| TBool | IsNull | ( | ) | const |
Tests whether the sound's category and instance are null. ETrue if the sound's category and instance are null, EFalse otherwise.