Sound mixer interface.
General | |
| virtual tBool | SwitchIn ()=0 |
| To call when the application is activated. More... | |
| virtual tBool | SwitchOut ()=0 |
| To call when the application is deactivated. More... | |
| virtual void | SetAmplification (tI32 ampli)=0 |
| Set the amplification of the mixer. {Property}. More... | |
| virtual tI32 | GetAmplification (void) const =0 |
| Get the amplification of the mixer. {Property}. More... | |
| virtual void | SetSaturationCheck (tBool check)=0 |
| Set the saturation check of the mixer. {Property}. More... | |
| virtual tBool | GetSaturationCheck (void) const =0 |
| Get the saturation check of the mixer. {Property}. More... | |
| virtual void | SetReverseStereo (tBool reverse)=0 |
| Set the reverse stereo of the mixer. {Property}. More... | |
| virtual tBool | GetReverseStereo (void) const =0 |
| Get the reverse stereo of the mixer. {Property}. More... | |
| virtual void | SetMasterVolume (tI32 vol)=0 |
| Set the master volume of the mixer. {Property}. More... | |
| virtual tI32 | GetMasterVolume () const =0 |
| Get the master volume of the mixer. {Property}. More... | |
Channels | |
| virtual tU32 | GetNumChannels () const =0 |
| Get the number of channels available. More... | |
| virtual tBool | StartChannel (tU32 nchan)=0 |
| Start playing the specified channel. More... | |
| virtual tBool | StopChannel (tU32 nchan)=0 |
| Stop playing the specified channel. More... | |
| virtual void | StopAllChannels (void)=0 |
| Stop playing all channels. More... | |
| virtual void | SetChannelMasterVolume (tU32 nchan, tI32 vol)=0 |
| Set the master volume of the specified channel. {Property}. More... | |
| virtual tI32 | GetChannelMasterVolume (tU32 nchan) const =0 |
| Get the master volume of the specified channel. {Property}. More... | |
| virtual void | SetChannelMasterPan (tU32 nchan, tI32 pan)=0 |
| Set the master pan of the specified channel. {Property}. More... | |
| virtual tI32 | GetChannelMasterPan (tU32 nchan) const =0 |
| Get the master pan of the specified channel. {Property}. More... | |
| virtual tBool | SetChannelBuffer (tU32 anChan, iSoundBuffer *apBuffer)=0 |
| Set the buffer of the specified channel. {Property}. More... | |
| virtual iSoundBuffer * | GetChannelBuffer (tU32 anChan) const =0 |
| Get the buffer of the specified channel. {Property}. More... | |
| virtual void | SetChannelVolume (tU32 nchan, tI32 vol)=0 |
| Set the volume of the specified channel. {Property}. More... | |
| virtual tI32 | GetChannelVolume (tU32 nchan) const =0 |
| Get the volume of the specified channel. {Property}. More... | |
| virtual void | SetChannelPan (tU32 nchan, tI32 pan)=0 |
| Set the panning of the specified channel. {Property}. More... | |
| virtual tI32 | GetChannelPan (tU32 nchan) const =0 |
| Get the panning of the specified channel. {Property}. More... | |
| virtual void | SetChannelFrequency (tU32 nchan, tI32 frequency)=0 |
| Set the frequency of the specified channel. {Property}. More... | |
| virtual tI32 | GetChannelFrequency (tU32 nchan) const =0 |
| Get the frequency of the specified channel. {Property}. More... | |
| virtual void | SetChannelLoop (tU32 nchan, tBool loop)=0 |
| Set whether the specified channel loops. {Property}. More... | |
| virtual tBool | GetChannelLoop (tU32 nchan) const =0 |
| Get whether the specified channel loops. {Property}. More... | |
| virtual void | SetChannelPause (tU32 nchan, tBool pause)=0 |
| Set whether the specified channel is paused. {Property}. More... | |
| virtual tBool | GetChannelPause (tU32 nchan) const =0 |
| Get whether the specified channel is paused. {Property}. More... | |
| virtual tBool | GetIsChannelBusy (tU32 nchan) const =0 |
| Get whether the specified channel is busy (playing, or, playing and paused). {Property}. More... | |
| virtual void | SetChannelUserID (tU32 nchan, tIntPtr anUserId)=0 |
| Set the user id of the specified channel. More... | |
| virtual tIntPtr | GetChannelUserID (tU32 nchan) const =0 |
| Get the user id of the specified channel. {Property}. More... | |
Update | |
| virtual tBool | UpdateMixer ()=0 |
| Update the sound mixer. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
To call when the application is activated.
|
pure virtual |
To call when the application is deactivated.
Set the amplification of the mixer. {Property}.
Get the amplification of the mixer. {Property}.
Set the saturation check of the mixer. {Property}.
Get the saturation check of the mixer. {Property}.
Set the reverse stereo of the mixer. {Property}.
Get the reverse stereo of the mixer. {Property}.
Set the master volume of the mixer. {Property}.
|
pure virtual |
Get the master volume of the mixer. {Property}.
|
pure virtual |
Get the number of channels available.
Set the master volume of the specified channel. {Property}.
Get the master volume of the specified channel. {Property}.
Set the master pan of the specified channel. {Property}.
Get the master pan of the specified channel. {Property}.
|
pure virtual |
Set the buffer of the specified channel. {Property}.
|
pure virtual |
Get the buffer of the specified channel. {Property}.
Set the volume of the specified channel. {Property}.
Get the volume of the specified channel. {Property}.
Set the panning of the specified channel. {Property}.
Get the panning of the specified channel. {Property}.
Set the frequency of the specified channel. {Property}.
Get the frequency of the specified channel. {Property}.
Set whether the specified channel loops. {Property}.
Get whether the specified channel loops. {Property}.
Set whether the specified channel is paused. {Property}.
Get whether the specified channel is paused. {Property}.
Get whether the specified channel is busy (playing, or, playing and paused). {Property}.
Set the user id of the specified channel.
Get the user id of the specified channel. {Property}.
|
pure virtual |
Update the sound mixer.
1.8.7