Static Public Member Functions | |
XFCIMPORT void * | lock (XFcAudioProducer *aProducer) |
Locks an audio producer. | |
XFCIMPORT void | unlock (XFcAudioProducer *aProducer) |
Unlocks an audio producer. | |
XFCIMPORT UINT32 | play (XFcAudioProducer *aProducer) |
Starts to play an audio producer. | |
XFCIMPORT UINT32 | play (XFcAudioProducer *aProducer, FLOAT32 aSampleRate) |
Starts to play an audio producer with given sampling rate. | |
XFCIMPORT UINT32 | play (XFcAudioProducer *aProducer, FLOAT32 aSampleRate, REAL aVolume) |
Starts to play an audio producer with given sampling rate and volume. | |
XFCIMPORT UINT32 | play (XFcAudioProducer *aProducer, FLOAT32 aSampleRate, REAL aVolume, REAL aPanning) |
Starts to play an audio producer with given sampling rate, volume and panning. | |
XFCIMPORT UINT32 | play (XFcAudioProducer *aProducer, FLOAT32 aSampleRate, REAL aVolume, REAL aPanning, UINT16 aPriority) |
Starts to play an audio producer with given sampling rate, volume, panning and priority. | |
XFCIMPORT INT | stop (UINT32 aUid) |
Stops an audio producer instance with the given id. | |
XFCIMPORT INT | stopEach (XFcAudioProducer *aProducer) |
Stops each instance of a certain audio producer. | |
XFCIMPORT void | stopAll () |
Stops all playing audio producer instances. | |
XFCIMPORT INT | pause (UINT32 aUid) |
Pauses an audio producer instance with the given id. | |
XFCIMPORT INT | pauseEach (XFcAudioProducer *aProducer) |
Pauses each instance of a certain audio producer. | |
XFCIMPORT void | pauseAll () |
Pauses all audio producers. | |
XFCIMPORT INT | resume (UINT32 aUid) |
Resumes an audio producer instance with the given id. | |
XFCIMPORT INT | resumeEach (XFcAudioProducer *aProducer) |
Resumes each instance of a certain audio producer. | |
XFCIMPORT void | resumeAll () |
Resumes all playing audio producer instances. | |
XFCIMPORT INT32 | getSamples (XFcAudioProducer *aProducer) |
Returns the number of samples in an audio producer. | |
XFCIMPORT void | setSamples (XFcAudioProducer *aProducer, INT32 aSamples) |
Sets the number of samples in an audio producer. | |
XFCIMPORT INT | getLooping (UINT32 aUid) |
Returns looping information of an audio producer instance with the given id. | |
XFCIMPORT INT | getLooping (XFcAudioProducer *aProducer) |
Returns looping information of an audio producer. | |
XFCIMPORT INT | setLooping (UINT32 aUid, INT aLooping) |
Enables/disables looping of an audio producer instance with the given id. | |
XFCIMPORT void | setLooping (XFcAudioProducer *aProducer, INT aLooping) |
Enables/disables looping of an audio producer. | |
XFCIMPORT void | getLoopOffsets (UINT32 aUid, INT32 &aStartOffset, INT32 &aEndOffset) |
Returns loop offsets of an audio producer instance with the given id. | |
XFCIMPORT void | getLoopOffsets (XFcAudioProducer *aProducer, INT32 &aStartOffset, INT32 &aEndOffset) |
Returns loop offsets of an audio producer. | |
XFCIMPORT INT | setLoopOffsets (UINT32 aUid, INT32 aStartOffset, INT32 aEndOffset) |
Sets start and end loop offsets to an audio producer instance with the given id. | |
XFCIMPORT INT | setLoopOffsets (XFcAudioProducer *aProducer, INT32 aStartOffset, INT32 aEndOffset) |
Sets start and end loop offsets to an audio producer. | |
XFCIMPORT FLOAT32 | getSampleRate (UINT32 aUid) |
Returns the sampling rate of an audio producer instance with given id. | |
XFCIMPORT FLOAT32 | getSampleRate (XFcAudioProducer *aProducer) |
Returns the sampling rate of an audio producer. | |
XFCIMPORT INT | setSampleRate (UINT32 aUid, FLOAT32 aSampleRate) |
Sets the sampling rate of an audio producer instance with the given id. | |
XFCIMPORT void | setSampleRate (XFcAudioProducer *aProducer, FLOAT32 aSampleRate) |
Sets the sampling rate of an audio producer. | |
XFCIMPORT REAL | getVolume (UINT32 aUid) |
Returns the volume of an audio producer instance with the given id. | |
XFCIMPORT REAL | getVolume (XFcAudioProducer *aProducer) |
Returns the volume of an audio producer. | |
XFCIMPORT INT | setVolume (UINT32 aUid, REAL aVolume) |
Sets the volume of an audio producer instance with the given id. | |
XFCIMPORT void | setVolume (XFcAudioProducer *aProducer, REAL aVolume) |
Sets the volume of an audio producer. | |
XFCIMPORT REAL | getMasterVolume () |
Returns the master volume. | |
XFCIMPORT void | setMasterVolume (REAL aVolume) |
Sets the master volume. | |
XFCIMPORT REAL | getPanning (UINT32 aUid) |
Returns the panning of an audio producer instance with the given id. | |
XFCIMPORT REAL | getPanning (XFcAudioProducer *aProducer) |
Returns the panning of an audio producer. | |
XFCIMPORT INT | setPanning (UINT32 aUid, REAL aPanning) |
Sets the panning of an audio producer instance with the given id. | |
XFCIMPORT void | setPanning (XFcAudioProducer *aProducer, REAL aPanning) |
Sets the panning of an audio producer. | |
XFCIMPORT UINT16 | getPriority (UINT32 aUid) |
Returns the priority of an audio producer instance with the given id. | |
XFCIMPORT UINT16 | getPriority (XFcAudioProducer *aProducer) |
Returns the priority of an audio producer. | |
XFCIMPORT INT | setPriority (UINT32 aUid, UINT16 aPriority) |
Sets the priority of an audio producer instance with the given id. | |
XFCIMPORT void | setPriority (XFcAudioProducer *aProducer, UINT16 aPriority) |
Sets the priority of an audio producer. | |
XFCIMPORT INT32 | getChannelCount () |
Returns the number of channels. | |
XFCIMPORT INT | setChannelCount (INT32 aChannelCount) |
Sets the number of channels. | |
XFCIMPORT UINT32 | getInterpolation () |
Returns the interpolation method. | |
XFCIMPORT INT | setInterpolation (UINT32 aMethod) |
Sets the interpolation method. | |
XFCIMPORT INT | isPlaying (UINT32 aUid) |
Returns information whether an audio producer instance with the given id is playing. | |
XFCIMPORT INT32 | getPlayhead (UINT32 aUid) |
Returns the playhead of an audio producer instance with the given id. | |
XFCIMPORT XFcAudioFormat | getFormat (XFcAudioProducer *aProducer) |
Returns the audio format of an audio producer. | |
XFCIMPORT XFcAudioFormat | getAudioFormat () |
Returns the internal audio format of the audio system. | |
XFCIMPORT XFcAudioFormat | getHardwareAudioFormat () |
Returns the hardware audio format. | |
XFCIMPORT XFcAudioFormat | setAudioFormat (XFcAudioFormat aFormat, INT32 aChannelCount, UINT32 aInterpolation) |
Sets the hardware and internal audio formats. | |
XFCIMPORT XFcAudioFormat | setAudioFormat (FLOAT32 aSampleRate, UINT32 aFlags, INT32 aSamples, INT32 aChannelCount, UINT32 aInterpolation) |
Sets the hardware and internal audio formats. | |
XFCIMPORT void | closeAudio () |
Shuts down audio processing. | |
XFCIMPORT void | getPrimaryData (XFcAudioBuffer *aTarget, INT32 aOffset, INT32 aRequestSamples) |
Gets a copy of primary audio data for audio feedback effect purposes. |
|
Shuts down audio processing.
|
|
Returns the internal audio format of the audio system.
|
|
Returns the number of channels.
|
|
Returns the audio format of an audio producer.
|
|
Returns the hardware audio format.
|
|
Returns the interpolation method.
|
|
Returns looping information of an audio producer.
|
|
Returns looping information of an audio producer instance with the given id.
|
|
Returns loop offsets of an audio producer.
|
|
Returns loop offsets of an audio producer instance with the given id.
|
|
Returns the master volume.
|
|
Returns the panning of an audio producer.
|
|
Returns the panning of an audio producer instance with the given id.
|
|
Returns the playhead of an audio producer instance with the given id.
|
|
Gets a copy of primary audio data for audio feedback effect purposes.
|
|
Returns the priority of an audio producer.
|
|
Returns the priority of an audio producer instance with the given id.
|
|
Returns the sampling rate of an audio producer.
|
|
Returns the sampling rate of an audio producer instance with given id.
|
|
Returns the number of samples in an audio producer.
|
|
Returns the volume of an audio producer.
|
|
Returns the volume of an audio producer instance with the given id.
|
|
Returns information whether an audio producer instance with the given id is playing.
|
|
Locks an audio producer. While an audio producer is locked, the audio system can not play it.
|
|
Pauses an audio producer instance with the given id.
|
|
Pauses all audio producers.
|
|
Pauses each instance of a certain audio producer.
|
|
Starts to play an audio producer with given sampling rate, volume, panning and priority. An unique id is returned so that individual playing instances can be referenced.
|
|
Starts to play an audio producer with given sampling rate, volume and panning. An unique id is returned so that individual playing instances can be referenced.
|
|
Starts to play an audio producer with given sampling rate and volume. An unique id is returned so that individual playing instances can be referenced.
|
|
Starts to play an audio producer with given sampling rate. An unique id is returned so that individual playing instances can be referenced.
|
|
Starts to play an audio producer. An unique id is returned so that individual playing instances can be referenced.
|
|
Resumes an audio producer instance with the given id.
|
|
Resumes all playing audio producer instances.
|
|
Resumes each instance of a certain audio producer.
|
|
Sets the hardware and internal audio formats. Adjusts the hardware and internal audio formats by the given sample rate, flags, buffer size, channel count and interpolation method. Calling this function initializes the audio system.
|
|
Sets the hardware and internal audio formats. Adjusts the hardware and internal audio formats by the given audio format, channel count and interpolation method.
|
|
Sets the number of channels.
|
|
Sets the interpolation method.
|
|
Enables/disables looping of an audio producer.
|
|
Enables/disables looping of an audio producer instance with the given id.
|
|
Sets start and end loop offsets to an audio producer.
|
|
Sets start and end loop offsets to an audio producer instance with the given id.
|
|
Sets the master volume.
|
|
Sets the panning of an audio producer.
|
|
Sets the panning of an audio producer instance with the given id.
|
|
Sets the priority of an audio producer.
|
|
Sets the priority of an audio producer instance with the given id.
|
|
Sets the sampling rate of an audio producer.
|
|
Sets the sampling rate of an audio producer instance with the given id.
|
|
Sets the number of samples in an audio producer.
|
|
Sets the volume of an audio producer.
|
|
Sets the volume of an audio producer instance with the given id.
|
|
Stops an audio producer instance with the given id.
|
|
Stops all playing audio producer instances.
|
|
Stops each instance of a certain audio producer.
|
|
Unlocks an audio producer. If called without a prior lock(), method does nothing.
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |