Copyright © 2005-2011 MultiMedia Soft

InitSoundSystem method

Previous pageReturn to chapter overviewNext page

Remarks

 

Initializes the control: the call to this method is mandatory and must be performed before calling any other method that will use a player related functionality, possibly in the container form initialisation function: calling this method inside the constructor function of the container form will not work and could cause unpredictable results.

 

Its purpose is to allocate the desired number of players (*), to synchronise the control with the container form and to set the output device (sound card) for each of the allocated players.

 

Overload list

 

Initializes the control without setting the DirectX buffer length

[Visual Basic] Overloads Public Function InitSoundSystem (Int16, Int16, Int16, Int16, Int16) As Int16

[C#] public Int16 InitSoundSystem (Int16, Int16, Int16, Int16, Int16);

[C++] public: Int16 InitSoundSystem (Int16, Int16, Int16, Int16, Int16);

 

Initialises the control setting the DirectX buffer length

[Visual Basic] Overloads Public Function InitSoundSystem (Int16, Int16, Int16, Int16, Int16, Int16) As Int16

[C#] public Int16 InitSoundSystem (Int16, Int16, Int16, Int16, Int16, Int16);

[C++] public: Int16 InitSoundSystem (Int16, Int16, Int16, Int16, Int16, Int16);