Copyright © 2005-2011 MultiMedia Soft

PlaySound method

Previous pageReturn to chapter overviewNext page

Remarks

 

Plays a sound that has been previously loaded through one between LoadSound or LoadSoundFromMemory methods.

 

A successful call to this method will fire the SoundPlaying event. Once the sound has been performed completely, the control will fire the SoundDone event.

 

Overload list

 

Plays a loaded song

[Visual Basic] Overloads Public Function PlaySound (Int16) As enumErrorCodes

[C#] public enumErrorCodes PlaySound (Int16);

[C++] public: enumErrorCodes PlaySound (Int16);

 

Plays a loaded song with looping capability

[Visual Basic] Overloads Public Function PlaySound (Int16, Boolean) As enumErrorCodes

[C#] public enumErrorCodes PlaySound (Int16, bool);

[C++] public: enumErrorCodes PlaySound (Int16, bool);

 

Plays a range within the loaded song

[Visual Basic] Overloads Public Function PlaySound (Int16, Int32, Int32) As enumErrorCodes

[C#] public enumErrorCodes PlaySound (Int16, Int32, Int32);

[C++] public: enumErrorCodes PlaySound (Int16, Int32, Int32);

 

Plays a range within the loaded song with looping capability

[Visual Basic] Overloads Public Function PlaySound (Int16, Int32, Int32, Int32) As enumErrorCodes

[C#] public enumErrorCodes PlaySound (Int16, Int32, Int32, Int32);

[C++] public: enumErrorCodes PlaySound (Int16, Int32, Int32, Int32);