CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Data Structures | |
struct | CriAtomExPlayerConfigTag |
Configuration structure used when creating a player. More... | |
struct | CriAtomExPlaybackTrackInfoTag |
Info structure for playback track information. More... | |
Macros | |
#define | CRIATOMEXPLAYER_NO_GROUP_LIMITATION (-1) |
No group limitation. More... | |
#define | CRIATOMEXPLAYER_NO_LOOP_LIMITATION (CRIATOMPLAYER_NO_LOOP_LIMITATION) |
Constants used to cancel a fixed number of repetitions for the loops. More... | |
#define | CRIATOMEXPLAYER_MAX_ASR_RACKS (8) |
Maximum number of ASR racks that can be specified for the player. More... | |
#define | CRIATOMEXPLAYER_MAX_OUTPUT_PORTS CRIATOMEXPLAYER_MAX_ASR_RACKS |
Maximum number of output ports that can be specified per player. More... | |
#define | criAtomExPlayer_SetDefaultConfig(p_config) |
Assign the default values to the configuration structure used to create an AtomeEx Player. More... | |
Typedefs | |
typedef void(* | CriAtomExAsrBusFilterCbFunc) (void *obj, CriAtomPcmFormat format, CriSint32 num_channels, CriSint32 num_samples, void *data[]) |
Waveform filter callback function. More... | |
typedef enum CriAtomExVoiceAllocationMethodTag | CriAtomExVoiceAllocationMethod |
Voice allocation method. More... | |
typedef struct CriAtomExPlayerConfigTag | CriAtomExPlayerConfig |
Configuration structure used when creating a player. More... | |
typedef CriAtomExPlayerObj * | CriAtomExPlayerHn |
Player handle. More... | |
typedef enum CriAtomExPlayerStatusTag | CriAtomExPlayerStatus |
Player status. More... | |
typedef enum CriAtomExVoiceControlMethodTag | CriAtomExVoiceControlMethod |
Voice playback control method. More... | |
typedef enum CriAtomExSpeakerIdTag | CriAtomExSpeakerId |
Speaker ID. More... | |
typedef CriUint32 | CriAtomExPlaybackId |
Playback ID. More... | |
typedef void(* | CriAtomExPlayerCbFunc) (void *obj, CriAtomExPlayerHn player) |
Player callback function type. More... | |
typedef CriBool(* | CriAtomExPlaybackCbFunc) (void *obj, CriAtomExPlaybackId playback_id) |
Data request callback function. More... | |
typedef void(* | CriAtomExPlayerDataRequestCbFunc) (void *obj, CriAtomExPlaybackId id, CriAtomPlayerHn player) |
Data request callback function. More... | |
typedef void(* | CriAtomExPlayerFilterCbFunc) (void *obj, CriAtomExPlaybackId id, CriAtomPcmFormat format, CriSint32 num_channels, CriSint32 num_samples, void *data[]) |
Waveform filter callback function. More... | |
typedef void(* | CriAtomExPlayerBlockTransitionCbFunc) (void *obj, CriAtomExPlaybackId id, CriAtomExBlockIndex index) |
Block transition callback function. More... | |
typedef struct CriAtomExPlaybackTrackInfoTag | CriAtomExPlaybackTrackInfo |
Info structure for playback track information. | |
typedef void(* | CriAtomExPlayerPlaybackTrackInfoNotificationCbFunc) (void *obj, const CriAtomExPlaybackTrackInfo *info) |
Playback track information acquisition call back function. More... | |
typedef CriBool(* | CriAtomExPlayerPanCbFunc) (void *object, CriSint32 input_channels, CriAtomChannelConfig channel_config, CriSint32 output_channels, CriAtomSpeakerMapping speaker_mapping, const CriAtomExSphericalCoordinates *location, const CriAtomEx3dAttenuationParameter *parameter, CriFloat32 *matrix[]) |
Parameter ID. More... | |
typedef enum CriAtomExParameterIdTag | CriAtomExParameterId |
Parameter ID. More... | |
Functions | |
void | criAtomExPlayer_AddOutputPort (CriAtomExPlayerHn player, CriAtomExOutputPortHn output_port) |
Adding the output port handle. More... | |
void | criAtomExPlayer_RemoveOutputPort (CriAtomExPlayerHn player, CriAtomExOutputPortHn output_port) |
Removing an output port handle. More... | |
void | criAtomExPlayer_ClearOutputPorts (CriAtomExPlayerHn player) |
Clearing the output port handles. More... | |
void | criAtomExPlayer_AddPreferredOutputPort (CriAtomExPlayerHn player, CriAtomExOutputPortHn output_port) |
Assigning a prioritary output port handle. More... | |
void | criAtomExPlayer_RemovePreferredOutputPort (CriAtomExPlayerHn player, CriAtomExOutputPortHn output_port) |
Removing the prioritary output port handle. More... | |
void | criAtomExPlayer_RemovePreferredOutputPortByName (CriAtomExPlayerHn player, CriChar8 *name) |
Removing a prioritary output port handle by name. More... | |
void | criAtomExPlayer_ClearPreferredOutputPorts (CriAtomExPlayerHn player) |
Clearing all the prioritary output port handles. More... | |
CriSint32 | criAtomExPlayer_CalculateWorkSize (const CriAtomExPlayerConfig *config) |
Calculate the size of the work buffer required to create an AtomEx player. More... | |
CriAtomExPlayerHn | criAtomExPlayer_Create (const CriAtomExPlayerConfig *config, void *work, CriSint32 work_size) |
Create an AtomEx player. More... | |
void | criAtomExPlayer_SetCueId (CriAtomExPlayerHn player, CriAtomExAcbHn acb_hn, CriAtomExCueId id) |
Set the sound data to play (specifying a Cue ID) More... | |
void | criAtomExPlayer_SetCueName (CriAtomExPlayerHn player, CriAtomExAcbHn acb_hn, const CriChar8 *cue_name) |
Set the sound data to play (specifying a Cue name) More... | |
void | criAtomExPlayer_SetCueIndex (CriAtomExPlayerHn player, CriAtomExAcbHn acb_hn, CriAtomExCueIndex index) |
Set the sound data to play (specifying a Cue index) More... | |
void | criAtomExPlayer_SetData (CriAtomExPlayerHn player, void *buffer, CriSint32 size) |
Set the sound data to play (specifying in-memory data) More... | |
void | criAtomExPlayer_SetFile (CriAtomExPlayerHn player, CriFsBinderHn binder, const CriChar8 *path) |
Set the sound data to play (specifying a file name) More... | |
void | criAtomExPlayer_SetContentId (CriAtomExPlayerHn player, CriFsBinderHn binder, CriSint32 id) |
Set the sound data to play (specifying a CPK content ID) More... | |
void | criAtomExPlayer_SetWaveId (CriAtomExPlayerHn player, CriAtomAwbHn awb, CriAtomExWaveId id) |
Set the wave data to play (specifying a wave data ID) More... | |
CriAtomExPlaybackId | criAtomExPlayer_Start (CriAtomExPlayerHn player) |
Start the playback. More... | |
CriAtomExPlaybackId | criAtomExPlayer_Prepare (CriAtomExPlayerHn player) |
Prepare the playback. More... | |
void | criAtomExPlayer_Stop (CriAtomExPlayerHn player) |
Stop the playback. More... | |
void | criAtomExPlayer_StopWithoutReleaseTime (CriAtomExPlayerHn player) |
Stop the playback (ignoring release time) More... | |
void | criAtomExPlayer_StopAllPlayers (void) |
Stopping playback in all the players. More... | |
void | criAtomExPlayer_StopAllPlayersWithoutReleaseTime (void) |
Stopping playback in all the players (release time ignored) More... | |
void | criAtomExPlayer_Pause (CriAtomExPlayerHn player, CriBool sw) |
Pause/resume. More... | |
void | criAtomExPlayer_Resume (CriAtomExPlayerHn player, CriAtomExResumeMode mode) |
Resume. More... | |
CriBool | criAtomExPlayer_IsPaused (CriAtomExPlayerHn player) |
Get the pause status. More... | |
CriAtomExPlayerStatus | criAtomExPlayer_GetStatus (CriAtomExPlayerHn player) |
Get the player status. More... | |
void | criAtomExPlayer_EnumeratePlaybacks (CriAtomExPlayerHn player, CriAtomExPlaybackCbFunc func, void *obj) |
Get the number of sounds currently being played back. More... | |
CriSint32 | criAtomExPlayer_GetNumPlaybacks (CriAtomExPlayerHn player) |
Get the number of sounds currently playing. More... | |
CriAtomExPlaybackId | criAtomExPlayer_GetLastPlaybackId (CriAtomExPlayerHn player) |
Get the playback ID of the last sound played. More... | |
CriSint64 | criAtomExPlayer_GetTime (CriAtomExPlayerHn player) |
Get the playback time. More... | |
void | criAtomExPlayer_SetFormat (CriAtomExPlayerHn player, CriAtomExFormat format) |
Specify the format of a sound. More... | |
void | criAtomExPlayer_SetNumChannels (CriAtomExPlayerHn player, CriSint32 num_channels) |
Specify the number of channels of a sound. More... | |
void | criAtomExPlayer_SetSamplingRate (CriAtomExPlayerHn player, CriSint32 sampling_rate) |
Specify the sampling rate of a sound. More... | |
void | criAtomExPlayer_SetSoundRendererType (CriAtomExPlayerHn player, CriAtomSoundRendererType type) |
Specify the Sound renderer type. More... | |
void | criAtomExPlayer_SetGroupNumber (CriAtomExPlayerHn player, CriSint32 group_no) |
Specify the group number. More... | |
void | criAtomExPlayer_SetVoiceControlMethod (CriAtomExPlayerHn player, CriAtomExVoiceControlMethod method) |
Specifying a voice control method. More... | |
void | criAtomExPlayer_SetVoicePoolIdentifier (CriAtomExPlayerHn player, CriAtomExVoicePoolIdentifier identifier) |
Specify the Voice Pool identifier. More... | |
void | criAtomExPlayer_SetHcaMxMixerId (CriAtomExPlayerHn player, CriSint32 mixer_id) |
Specify the mixer ID for HCA-MX decoding. More... | |
void | criAtomExPlayer_SetAsrRackId (CriAtomExPlayerHn player, CriSint32 rack_id) |
Specifying the ASR Rack ID. More... | |
void | criAtomExPlayer_SetAsrRackIdArray (CriAtomExPlayerHn player, const CriSint32 *rack_id_array, CriSint32 num_racks) |
Specifying multiple ASR Rack IDs. More... | |
void | criAtomExPlayer_SetStartTime (CriAtomExPlayerHn player, CriSint64 start_time_ms) |
Specify the playback starting position. More... | |
void | criAtomExPlayer_SetSyncPlaybackId (CriAtomExPlayerHn player, CriAtomExPlaybackId playback_id) |
Setting the synchronous playback ID. More... | |
void | criAtomExPlayer_SetPlaybackRatio (CriAtomExPlayerHn player, CriFloat32 playback_ratio) |
Set the sequence playback ratio. More... | |
void | criAtomExPlayer_LimitLoopCount (CriAtomExPlayerHn player, CriSint32 count) |
Set the the number of loops. More... | |
void | criAtomExPlayer_UpdateAll (CriAtomExPlayerHn player) |
Update the playback parameters (for all sounds currently playing) More... | |
void | criAtomExPlayer_Update (CriAtomExPlayerHn player, CriAtomExPlaybackId id) |
Update the playback parameters (specifying a playback ID) More... | |
void | criAtomExPlayer_ResetParameters (CriAtomExPlayerHn player) |
Reset the playback parameters. More... | |
CriFloat32 | criAtomExPlayer_GetParameterFloat32 (CriAtomExPlayerHn player, CriAtomExParameterId id) |
Get the value of a parameter (as a floating point number) More... | |
CriUint32 | criAtomExPlayer_GetParameterUint32 (CriAtomExPlayerHn player, CriAtomExParameterId id) |
Get the value of a parameter (as an unsigned integer) More... | |
CriSint32 | criAtomExPlayer_GetParameterSint32 (CriAtomExPlayerHn player, CriAtomExParameterId id) |
Get the value of a parameter (as a signed integer) More... | |
void | criAtomExPlayer_SetVolume (CriAtomExPlayerHn player, CriFloat32 volume) |
Set the volume. More... | |
void | criAtomExPlayer_SetPitch (CriAtomExPlayerHn player, CriFloat32 pitch) |
Set the pitch (detune) More... | |
void | criAtomExPlayer_SetMaxPitch (CriAtomExPlayerHn player, CriFloat32 pitch) |
Setting the maximum pitch. More... | |
void | criAtomExPlayer_SetPan3dAngle (CriAtomExPlayerHn player, CriFloat32 pan3d_angle) |
Set the panning 3D angle. More... | |
void | criAtomExPlayer_SetPan3dInteriorDistance (CriAtomExPlayerHn player, CriFloat32 pan3d_interior_distance) |
Set the panning 3D distance. More... | |
void | criAtomExPlayer_SetPan3dVolume (CriAtomExPlayerHn player, CriFloat32 pan3d_volume) |
Set the panning 3D volume. More... | |
void | criAtomExPlayer_SetPanType (CriAtomExPlayerHn player, CriAtomExPanType pan_type) |
Set the pan type. More... | |
CriAtomExPanType | criAtomExPlayer_GetPanTypeOnPlayback (CriAtomExPlayerHn player) |
Get pan type during player playback. More... | |
void | criAtomExPlayer_SetPanSpeakerType (CriAtomExPlayerHn player, CriAtomExPanSpeakerType pan_speaker_type) |
Output speaker type setting when panning. More... | |
void | criAtomExPlayer_AddMixDownCenterVolumeOffset (CriAtomExPlayerHn player, CriFloat32 mixdown_center_volume_offset) |
Setting MixDownCenter volume offset value. More... | |
void | criAtomExPlayer_AddMixDownLfeVolumeOffset (CriAtomExPlayerHn player, CriFloat32 mixdown_lfe_volume_offset) |
Setting MixDownLFE volume offset value. More... | |
void | criAtomExPlayer_ChangeDefaultPanSpeakerType (CriAtomExPanSpeakerType pan_speaker_type) |
Changing the default output speaker type for panning. More... | |
void | criAtomExPlayer_OverrideDefaultPanMethod (CriAtomExPlayerPanCbFunc func, void *obj) |
Override the default panning process. More... | |
void | criAtomExPlayer_SetPanAngleType (CriAtomExPlayerHn player, CriAtomExPanAngleType pan_angle_type) |
Panning angle type setting. More... | |
void | criAtomExPlayer_SetWideness (CriAtomExPlayerHn player, CriFloat32 wideness) |
Set the sound spread during panning. More... | |
void | criAtomExPlayer_SetSpread (CriAtomExPlayerHn player, CriFloat32 spread) |
Spread Settings. More... | |
void | criAtomExPlayer_SetSendLevel (CriAtomExPlayerHn player, CriSint32 ch, CriAtomExSpeakerId spk, CriFloat32 level) |
Set a send level. More... | |
void | criAtomExPlayer_SetBusSendLevelByName (CriAtomExPlayerHn player, const CriChar8 *bus_name, CriFloat32 level) |
Setting the bus send level. More... | |
void | criAtomExPlayer_ResetBusSends (CriAtomExPlayerHn player) |
Resetting Bus Send Levels. More... | |
CriBool | criAtomExPlayer_GetBusSendLevelByName (CriAtomExPlayerHn player, const CriChar8 *bus_name, CriFloat32 *level) |
Get Bus Send Level. More... | |
void | criAtomExPlayer_SetBusSendLevelOffsetByName (CriAtomExPlayerHn player, const CriChar8 *bus_name, CriFloat32 level_offset) |
Setting the bus send level (by specifying the offset) More... | |
CriBool | criAtomExPlayer_GetBusSendLevelOffsetByName (CriAtomExPlayerHn player, const CriChar8 *bus_name, CriFloat32 *level_offset) |
Get Bus Send Level Offset. More... | |
void | criAtomExPlayer_SetPanAdx1Compatible (CriAtomExPlayerHn player, CriSint32 ch, CriFloat32 pan) |
Set the ADX1-compatible panning. More... | |
void | criAtomExPlayer_SetBandpassFilterParameters (CriAtomExPlayerHn player, CriFloat32 cof_low, CriFloat32 cof_high) |
Set the band pass filter parameters. More... | |
void | criAtomExPlayer_SetBiquadFilterParameters (CriAtomExPlayerHn player, CriAtomExBiquadFilterType type, CriFloat32 frequency, CriFloat32 gain, CriFloat32 q_value) |
Set the biquad filter parameters. More... | |
void | criAtomExPlayer_SetVoicePriority (CriAtomExPlayerHn player, CriSint32 priority) |
Set the priority. More... | |
void | criAtomExPlayer_SetAisacControlById (CriAtomExPlayerHn player, CriAtomExAisacControlId control_id, CriFloat32 control_value) |
Set an AISAC control value (specifying the control ID) More... | |
void | criAtomExPlayer_SetAisacControlByName (CriAtomExPlayerHn player, const CriChar8 *control_name, CriFloat32 control_value) |
Set AISAC control value (specifying a control name) More... | |
void | criAtomExPlayer_ClearAisacControls (CriAtomExPlayerHn player) |
Clear the AISAC control values set to the player. More... | |
void | criAtomExPlayer_Set3dSourceHn (CriAtomExPlayerHn player, CriAtomEx3dSourceHn source) |
Set the 3D sound source handle. More... | |
void | criAtomExPlayer_Set3dSourceListHn (CriAtomExPlayerHn player, CriAtomEx3dSourceListHn source_list) |
Assign a 3D sound source handle list to a player. More... | |
void | criAtomExPlayer_Set3dListenerHn (CriAtomExPlayerHn player, CriAtomEx3dListenerHn listener) |
Set the 3D listener handle. More... | |
CriFloat32 | criAtomExPlayer_GetAisacControlById (CriAtomExPlayerHn player, CriAtomExAisacControlId control_id) |
Get an AISAC control value (specifying the control ID) More... | |
CriFloat32 | criAtomExPlayer_GetAisacControlByName (CriAtomExPlayerHn player, const CriChar8 *control_name) |
Get an AISAC control value (specifying the control name) More... | |
void | criAtomExPlayer_SetCategoryById (CriAtomExPlayerHn player, CriUint32 category_id) |
Set the category (specifying its ID) More... | |
void | criAtomExPlayer_SetCategoryByName (CriAtomExPlayerHn player, const CriChar8 *category_name) |
Set the category (specifying its name) More... | |
void | criAtomExPlayer_UnsetCategory (CriAtomExPlayerHn player) |
Remove a category. More... | |
CriSint32 | criAtomExPlayer_GetNumCategories (CriAtomExPlayerHn player) |
Acquiring the number of categories. More... | |
CriBool | criAtomExPlayer_GetCategoryInfo (CriAtomExPlayerHn player, CriUint16 index, CriAtomExCategoryInfo *info) |
Acquiring category information (by specifying an index) More... | |
void | criAtomExPlayer_SetTrackInfo (CriAtomExPlayerHn player, CriSint32 num_tracks, const CriSint32 *channels_per_track) |
Set the track information. More... | |
void | criAtomExPlayer_SetTrackVolume (CriAtomExPlayerHn player, CriSint32 track_no, CriFloat32 volume) |
Set the track volume. More... | |
void | criAtomExPlayer_SetSilentMode (CriAtomExPlayerHn player, CriAtomExSilentMode silent_mode) |
Set the silence-handling mode. More... | |
void | criAtomExPlayer_SetCuePriority (CriAtomExPlayerHn player, CriSint32 cue_priority) |
Set the Cue priority. More... | |
void | criAtomExPlayer_SetPreDelayTime (CriAtomExPlayerHn player, CriFloat32 predelay_time_ms) |
Setting the pre-delay time. More... | |
void | criAtomExPlayer_SetEnvelopeAttackTime (CriAtomExPlayerHn player, CriFloat32 attack_time_ms) |
Set the attack time of the envelope. More... | |
void | criAtomExPlayer_SetEnvelopeAttackCurve (CriAtomExPlayerHn player, CriAtomExCurveType curve_type, CriFloat32 strength) |
Setting the Envelope Attack Curve. More... | |
void | criAtomExPlayer_SetEnvelopeHoldTime (CriAtomExPlayerHn player, CriFloat32 hold_time_ms) |
Setting the envelope hold time. More... | |
void | criAtomExPlayer_SetEnvelopeDecayTime (CriAtomExPlayerHn player, CriFloat32 decay_time_ms) |
Set the decay time of the envelope. More... | |
void | criAtomExPlayer_SetEnvelopeDecayCurve (CriAtomExPlayerHn player, CriAtomExCurveType curve_type, CriFloat32 strength) |
Setting the Envelope Decay Curve. More... | |
void | criAtomExPlayer_SetEnvelopeReleaseTime (CriAtomExPlayerHn player, CriFloat32 release_time_ms) |
Setting the envelope release time. More... | |
void | criAtomExPlayer_SetEnvelopeReleaseCurve (CriAtomExPlayerHn player, CriAtomExCurveType curve_type, CriFloat32 strength) |
Setting the envelope release curve. More... | |
void | criAtomExPlayer_SetEnvelopeSustainLevel (CriAtomExPlayerHn player, CriFloat32 susutain_level) |
Setting the envelope sustain level. More... | |
void | criAtomExPlayer_SetDataRequestCallback (CriAtomExPlayerHn player, CriAtomExPlayerDataRequestCbFunc func, void *obj) |
Register the data request callback function. More... | |
void | criAtomExPlayer_SetFilterCallback (CriAtomExPlayerHn player, CriAtomExPlayerFilterCbFunc func, void *obj) |
Register the wave filter callback function. More... | |
void | criAtomExPlayer_SetRandomSeed (CriAtomExPlayerHn player, CriUint32 seed) |
Set the random number seed. More... | |
void | criAtomExPlayer_SetDspParameter (CriAtomExPlayerHn player, CriSint32 param_id, CriFloat32 param_val) |
Set a DSP parameter. More... | |
void | criAtomExPlayer_SetDspBypass (CriAtomExPlayerHn player, CriBool is_bypassed) |
Set a DSP parameter. More... | |
void | criAtomExPlayer_AttachAisac (CriAtomExPlayerHn player, const CriChar8 *global_aisac_name) |
Attach a global AISAC to a player. More... | |
void | criAtomExPlayer_DetachAisac (CriAtomExPlayerHn player, const CriChar8 *global_aisac_name) |
Detach an AISAC from the player. More... | |
void | criAtomExPlayer_DetachAisacAll (CriAtomExPlayerHn player) |
Detach all the AISACs from a player. More... | |
CriSint32 | criAtomExPlayer_GetNumAttachedAisacs (CriAtomExPlayerHn player) |
Get the number of AISACs attached to a player. More... | |
CriBool | criAtomExPlayer_GetAttachedAisacInfo (CriAtomExPlayerHn player, CriSint32 aisac_attached_index, CriAtomExAisacInfo *aisac_info) |
Get information on a specific AISAC attached to a player. More... | |
void | criAtomExPlayer_SetStreamingCacheId (CriAtomExPlayerHn player, CriAtomExStreamingCacheId cache_id) |
Set the streaming cache for player. More... | |
void | criAtomExPlayer_AttachTween (CriAtomExPlayerHn player, CriAtomExTweenHn tween) |
Attach a Tween to a player. More... | |
void | criAtomExPlayer_DetachTween (CriAtomExPlayerHn player, CriAtomExTweenHn tween) |
Detach a Tween from a player. More... | |
void | criAtomExPlayer_DetachTweenAll (CriAtomExPlayerHn player) |
Detach all Tweens from a player. More... | |
void | criAtomExPlayer_SetFirstBlockIndex (CriAtomExPlayerHn player, CriAtomExBlockIndex index) |
Set the start block (by specifying a block index) More... | |
void | criAtomExPlayer_SetBlockTransitionCallback (CriAtomExPlayerHn player, CriAtomExPlayerBlockTransitionCbFunc func, void *obj) |
Register the block transition callback function. More... | |
CriAtomExSoundObjectHn | criAtomExPlayer_GetSoundObject (CriAtomExPlayerHn player) |
Acquire a sound object. More... | |
void | criAtomExPlayer_SetDrySendLevel (CriAtomExPlayerHn player, CriAtomExSpeakerId spk, CriFloat32 offset, CriFloat32 gain) |
Set the dry send level (for compatibility with CRI Audio) More... | |
void | criAtomExPlayer_SetSelectorLabel (CriAtomExPlayerHn player, const CriChar8 *selector, const CriChar8 *label) |
Set selector information to the player. More... | |
void | criAtomExPlayer_UnsetSelectorLabel (CriAtomExPlayerHn player, const CriChar8 *selector) |
Deleting the selector information set in the player. More... | |
void | criAtomExPlayer_ClearSelectorLabels (CriAtomExPlayerHn player) |
Clear the selector information set to the player. More... | |
void | criAtomExPlayer_SetPlaybackTrackInfoNotificationCallback (CriAtomExPlayerHn player, CriAtomExPlayerPlaybackTrackInfoNotificationCbFunc func, void *obj) |
Registering playback track number notification callback function. More... | |
void | criAtomExPlayer_SetPlaybackEventCallback (CriAtomExPlayerHn player, CriAtomExPlaybackEventCbFunc func, void *obj) |
Registration of playback event callback. More... | |
void | criAtomExPlayer_SetChannelConfig (CriAtomExPlayerHn player, CriSint32 num_channels, CriAtomChannelConfig channel_config) |
Specify the channel configuration of the input audio. More... | |
#define CRIATOMEXPLAYER_NO_GROUP_LIMITATION (-1) |
No group limitation.
#define CRIATOMEXPLAYER_NO_LOOP_LIMITATION (CRIATOMPLAYER_NO_LOOP_LIMITATION) |
Constants used to cancel a fixed number of repetitions for the loops.
#define CRIATOMEXPLAYER_MAX_ASR_RACKS (8) |
Maximum number of ASR racks that can be specified for the player.
#define CRIATOMEXPLAYER_MAX_OUTPUT_PORTS CRIATOMEXPLAYER_MAX_ASR_RACKS |
Maximum number of output ports that can be specified per player.
#define criAtomExPlayer_SetDefaultConfig | ( | p_config | ) |
Assign the default values to the configuration structure used to create an AtomeEx Player.
[out] | p_config | pointer to the configuration structure used for the creation of an AtomEx Player |
typedef void(* CriAtomExAsrBusFilterCbFunc) (void *obj, CriAtomPcmFormat format, CriSint32 num_channels, CriSint32 num_samples, void *data[]) |
Waveform filter callback function.
[in] | obj | user specified object |
[in] | format | format of PCM |
[in] | num_channels | number of channels |
[in] | num_samples | number of samples |
[in,out] | data | channel array for PCM data |
(Depending on the mixing of multiplex sounds or the effects mentioned above, a value that exceeds the above ranges may occur.)
Voice allocation method.
typedef struct CriAtomExPlayerConfigTag CriAtomExPlayerConfig |
Configuration structure used when creating a player.
typedef CriAtomExPlayerObj* CriAtomExPlayerHn |
Player handle.
typedef enum CriAtomExPlayerStatusTag CriAtomExPlayerStatus |
Player status.
Immediately after an AtomEx Player is created, it is set to the stop status (CRIATOMEXPLAYER_STATUS_STOP).
By setting the data to play using a function such as criAtomExPlayer_SetData and calling criAtomExPlayer_Start , the player's status changes to (CRIATOMEXPLAYER_STATUS_PREP) and starts preparing for the playback.
Once a sufficient amount of data has been provided and the playback is ready, the player status changes to (CRIATOMEXPLAYER_STATUS_PLAYING) and the audio playback starts.
When all the audio data has been played, the player status changes to (CRIATOMEXPLAYER_STATUS_PLAYEND).
Voice playback control method.
typedef enum CriAtomExSpeakerIdTag CriAtomExSpeakerId |
Speaker ID.
typedef CriUint32 CriAtomExPlaybackId |
Playback ID.
typedef void( * CriAtomExPlayerCbFunc) (void *obj, CriAtomExPlayerHn player) |
Player callback function type.
[in] | obj | User specified object |
[in] | player | AtomEx player |
typedef CriBool( * CriAtomExPlaybackCbFunc) (void *obj, CriAtomExPlaybackId playback_id) |
Data request callback function.
[in] | obj | User-specified objects |
[in] | playback_id | Playback ID |
typedef void( * CriAtomExPlayerDataRequestCbFunc) (void *obj, CriAtomExPlaybackId id, CriAtomPlayerHn player) |
Data request callback function.
[in] | obj | user-specified object |
[in] | id | playback ID |
[in] | player | Atom player handle |
Note that if the process is blocked in the callback function for a long time, problems -such as the audio breaking up- may occur.
typedef void( * CriAtomExPlayerFilterCbFunc) (void *obj, CriAtomExPlaybackId id, CriAtomPcmFormat format, CriSint32 num_channels, CriSint32 num_samples, void *data[]) |
Waveform filter callback function.
[in] | obj | user-specified object |
[in] | id | playback ID |
[in] | format | format of PCM |
[in] | num_channels | number of channels |
[in] | num_samples | number of samples |
[in/out] | data channel array for PCM data |
(Since clipping is not performed during the decoding, when the format is CRIATOM_PCM_FORMAT_FLOAT32, a value that slightly exceeds the range may be generated.)
typedef void( * CriAtomExPlayerBlockTransitionCbFunc) (void *obj, CriAtomExPlaybackId id, CriAtomExBlockIndex index) |
Block transition callback function.
[in] | obj | user-specified object |
[in] | id | playback ID |
[in] | index | block index within a Cue |
typedef void( * CriAtomExPlayerPlaybackTrackInfoNotificationCbFunc) (void *obj, const CriAtomExPlaybackTrackInfo *info) |
Playback track information acquisition call back function.
[in] | obj | User specified object |
[in] | info | Playback track information |
typedef CriBool( * CriAtomExPlayerPanCbFunc) (void *object, CriSint32 input_channels, CriAtomChannelConfig channel_config, CriSint32 output_channels, CriAtomSpeakerMapping speaker_mapping, const CriAtomExSphericalCoordinates *location, const CriAtomEx3dAttenuationParameter *parameter, CriFloat32 *matrix[]) |
Parameter ID.
[in] | object | User-specified objects |
[in] | input_channels | Number of input audio channels |
[in] | channel_config | Input audio channel configuration |
[in] | output_channels | Number of output channels |
[in] | speaker_mapping | Destination speaker mapping |
[in] | location | Location information of the sound source |
[in] | parameter | Distance attenuation parameter |
[out] | matrix | Send Level Matrix |
typedef enum CriAtomExParameterIdTag CriAtomExParameterId |
Parameter ID.
Voice allocation method.
Enumerator | |
---|---|
CRIATOMEX_ALLOCATE_VOICE_ONCE | Voice allocation is performed only once |
CRIATOMEX_RETRY_VOICE_ALLOCATION | Voice allocation is performed repeatedly |
Player status.
Immediately after an AtomEx Player is created, it is set to the stop status (CRIATOMEXPLAYER_STATUS_STOP).
By setting the data to play using a function such as criAtomExPlayer_SetData and calling criAtomExPlayer_Start , the player's status changes to (CRIATOMEXPLAYER_STATUS_PREP) and starts preparing for the playback.
Once a sufficient amount of data has been provided and the playback is ready, the player status changes to (CRIATOMEXPLAYER_STATUS_PLAYING) and the audio playback starts.
When all the audio data has been played, the player status changes to (CRIATOMEXPLAYER_STATUS_PLAYEND).
Voice playback control method.
Enumerator | |
---|---|
CRIATOMEX_PREFER_LAST | Last-come, first-served |
CRIATOMEX_PREFER_FIRST | First-come, first-served |
CRIATOMEX_PREFER_DATA | Setting in data preferred |
Speaker ID.
Parameter ID.
void criAtomExPlayer_AddOutputPort | ( | CriAtomExPlayerHn | player, |
CriAtomExOutputPortHn | output_port | ||
) |
Adding the output port handle.
[in] | player | AtomExPlayer handle |
[in] | output_port | Output port handle |
void criAtomExPlayer_RemoveOutputPort | ( | CriAtomExPlayerHn | player, |
CriAtomExOutputPortHn | output_port | ||
) |
Removing an output port handle.
[in] | player | AtomExPlayer handle |
[in] | output_port | Output port handle |
void criAtomExPlayer_ClearOutputPorts | ( | CriAtomExPlayerHn | player | ) |
Clearing the output port handles.
[in] | player | AtomExPlayer handle |
void criAtomExPlayer_AddPreferredOutputPort | ( | CriAtomExPlayerHn | player, |
CriAtomExOutputPortHn | output_port | ||
) |
Assigning a prioritary output port handle.
[in] | player | AtomExPlayer handle |
[in] | output_port | Output port handle |
void criAtomExPlayer_RemovePreferredOutputPort | ( | CriAtomExPlayerHn | player, |
CriAtomExOutputPortHn | output_port | ||
) |
Removing the prioritary output port handle.
[in] | player | AtomExPlayer handle |
[in] | output_port | Output port handle |
void criAtomExPlayer_RemovePreferredOutputPortByName | ( | CriAtomExPlayerHn | player, |
CriChar8 * | name | ||
) |
Removing a prioritary output port handle by name.
[in] | player | AtomExPlayer handle |
[in] | name | Output port name |
void criAtomExPlayer_ClearPreferredOutputPorts | ( | CriAtomExPlayerHn | player | ) |
Clearing all the prioritary output port handles.
[in] | player | AtomExPlayer handle |
CriSint32 criAtomExPlayer_CalculateWorkSize | ( | const CriAtomExPlayerConfig * | config | ) |
Calculate the size of the work buffer required to create an AtomEx player.
[in] | config | configuration structure used to create an AtomEx player |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExPlayerHn criAtomExPlayer_Create | ( | const CriAtomExPlayerConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create an AtomEx player.
[in] | config | configuration structure used for the creation of an AtomEx player |
[in] | work | work buffer |
[in] | work_size | work buffer size |
The specific code is as follows:
*If memory the user-allocator functions were registered during the library initialization, they do mot need to be registered again when creating the AtomEx player.
[Creating an AtomEx player with the Fixed Memory Method]
When using the Fixed Memory method, the AtomEx player creation/destruction procedure is as follows:
The specific code is as follows:
When you call the criAtomExPlayer_Create function, an AtomEx player is created and a handle (CriAtomExPlayerHn ) to control it is returned.
All operations, such as setting the audio data to play, starting the playback and acquiring the playback status, are performed on the player through this handle.
If the player creation fails, this function returns NULL.
To know the reason of the failure, refer to the error callback message.
The procedure to play the sound data using the AtomEx player handle is as follows:
void criAtomExPlayer_SetCueId | ( | CriAtomExPlayerHn | player, |
CriAtomExAcbHn | acb_hn, | ||
CriAtomExCueId | id | ||
) |
Set the sound data to play (specifying a Cue ID)
[in] | player | AtomEx player handle |
[in] | acb_hn | ACB handle |
[in] | id | Cue ID |
(The sound format, number of channels and sampling rate are set automatically based on the data in the ACB file.)
void criAtomExPlayer_SetCueName | ( | CriAtomExPlayerHn | player, |
CriAtomExAcbHn | acb_hn, | ||
const CriChar8 * | cue_name | ||
) |
Set the sound data to play (specifying a Cue name)
[in] | player | AtomEx player handle |
[in] | acb_hn | ACB handle |
[in] | cue_name | Cue name Associates a Cue name to an AtomEx player. After specifying a Cue name with this function, call the criAtomExPlayer_Start function to start the playback of the specified Cue. |
(The sound format, number of channels and sampling rate are set automatically based on the data in the ACB file.)
void criAtomExPlayer_SetCueIndex | ( | CriAtomExPlayerHn | player, |
CriAtomExAcbHn | acb_hn, | ||
CriAtomExCueIndex | index | ||
) |
Set the sound data to play (specifying a Cue index)
[in] | player | AtomEx player handle |
[in] | acb_hn | ACB handle |
[in] | index | Cue index Associates a Cue index to an AtomEx player. After specifying a Cue index with this function, call the criAtomExPlayer_Start function to start the playback of the specified Cue. |
(The sound format, number of channels and sampling rate are set automatically based on the data in the ACB file.)
Using this function, it is possible to associate a sound to the player without specifying a Cue name or a Cue ID.
(It can be used for debugging purposes since you can play a sound from the ACB file even if you do not know the Cue name and the Cue ID.)
void criAtomExPlayer_SetData | ( | CriAtomExPlayerHn | player, |
void * | buffer, | ||
CriSint32 | size | ||
) |
Set the sound data to play (specifying in-memory data)
[in] | player | AtomEx player handle |
[in] | buffer | buffer address |
[in] | size | buffer size |
void criAtomExPlayer_SetFile | ( | CriAtomExPlayerHn | player, |
CriFsBinderHn | binder, | ||
const CriChar8 * | path | ||
) |
Set the sound data to play (specifying a file name)
[in] | player | AtomEx player handle |
[in] | binder | binder handle |
[in] | path | file path |
void criAtomExPlayer_SetContentId | ( | CriAtomExPlayerHn | player, |
CriFsBinderHn | binder, | ||
CriSint32 | id | ||
) |
Set the sound data to play (specifying a CPK content ID)
[in] | player | AtomEx player handle |
[in] | binder | binder handle |
[in] | id | content ID |
void criAtomExPlayer_SetWaveId | ( | CriAtomExPlayerHn | player, |
CriAtomAwbHn | awb, | ||
CriAtomExWaveId | id | ||
) |
Set the wave data to play (specifying a wave data ID)
[in] | player | AtomEx player handle |
[in] | awb | AWB handle |
[in] | id | wave data ID |
Do not destroy data with the criAtomAwb_Release function while playing the sound that was set with this function.
To destroy the AWB file, make sure that playback is stopped and execute the criAtomAwb_Release function.
CriAtomExPlaybackId criAtomExPlayer_Start | ( | CriAtomExPlayerHn | player | ) |
Start the playback.
[in] | player | AtomEx player handle |
When an AtomEx player is created, it has the stopped status ( CRIATOMEXPLAYER_STATUS_STOP ).
After having specified the sound data to play, the AtomEx player status changes to the preparation status ( CRIATOMEXPLAYER_STATUS_PREP ) when this function is executed.
(In CRIATOMEXPLAYER_STATUS_PREP status, the player is waiting to receive data or start decoding.)
When there is sufficient data to start playing, the AtomEx player status changes to the playing status ( CRIATOMEXPLAYER_STATUS_PLAYING ) and the sound output starts.
When the playback of all the data completes, the AtomEx player status changes to the play end status ( CRIATOMEXPLAYER_STATUS_PLAYEND ).
If an error occurs during playback, the AtomEx player status changes to ( CRIATOMEXPLAYER_STATUS_ERROR ).
By checking the status of the AtomEx player and switching the process accordingly, it is possble to write a program that takes action based on the sound playback.
For example, the following code can be used to wait for the sound playback to complete before continuing.
CriAtomExPlaybackId criAtomExPlayer_Prepare | ( | CriAtomExPlayerHn | player | ) |
Prepare the playback.
[in] | player | AtomEx player handle |
The specific code is as follows:
When using the criAtomExPlayback_Pause function to resume, both the pause from playback preparation (by this function) and the pause from playback suspension (by the criAtomExPlayer_Pause function) are released.
To play back the sound prepared by this function while pausing the sound by the criAtomExPlayer_Pause function, use the criAtomExPlayer_Resume function (or the criAtomExPlayback_Resume function).
void criAtomExPlayer_Stop | ( | CriAtomExPlayerHn | player | ) |
Stop the playback.
[in] | player | AtomEx player handle |
void criAtomExPlayer_StopWithoutReleaseTime | ( | CriAtomExPlayerHn | player | ) |
Stop the playback (ignoring release time)
[in] | player | AtomEx player handle |
void criAtomExPlayer_StopAllPlayers | ( | void | ) |
Stopping playback in all the players.
void criAtomExPlayer_StopAllPlayersWithoutReleaseTime | ( | void | ) |
Stopping playback in all the players (release time ignored)
void criAtomExPlayer_Pause | ( | CriAtomExPlayerHn | player, |
CriBool | sw | ||
) |
Pause/resume.
[in] | player | AtomEx player handle |
[in] | sw | switch (CRI_FALSE = Resume, CRI_TRUE = Pause) |
void criAtomExPlayer_Resume | ( | CriAtomExPlayerHn | player, |
CriAtomExResumeMode | mode | ||
) |
Resume.
[in] | player | AtomEx player handle |
[in] | mode | resume target |
CriBool criAtomExPlayer_IsPaused | ( | CriAtomExPlayerHn | player | ) |
Get the pause status.
[in] | player | AtomEx player handle |
CriAtomExPlayerStatus criAtomExPlayer_GetStatus | ( | CriAtomExPlayerHn | player | ) |
Get the player status.
[in] | player | AtomEx player handle |
When an AtomEx player is created, its status is stopped ( CRIATOMEXPLAYER_STATUS_STOP ).
Once the sound data to play has been specified, a call to the criAtomExPlayer_Start function will change the player status to preparation ( CRIATOMEXPLAYER_STATUS_PREP ).
(In CRIATOMEXPLAYER_STATUS_PREP status, the player is waiting to receive data or to start decoding.)
When there is enough data to start playing, the AtomEx player will switch to playing status ( CRIATOMEXPLAYER_STATUS_PLAYING ) and the sound output will start.
When the playback has completed, the AtomEx player status changes to the play end status ( CRIATOMEXPLAYER_STATUS_PLAYEND ).
If an error occurs during playback, the AtomEx player status changes to ( CRIATOMEXPLAYER_STATUS_ERROR ).
By checking the status of the AtomEx player and switching the process accordingly, it is possble to write a program that takes action based on the sound playback.
For example, the following code can be used to wait for the sound playback to complete before continuing.
void criAtomExPlayer_EnumeratePlaybacks | ( | CriAtomExPlayerHn | player, |
CriAtomExPlaybackCbFunc | func, | ||
void * | obj | ||
) |
Get the number of sounds currently being played back.
[in] | player | AtomEx Player Handle |
[in] | func | Playback Callback Function |
[in] | obj | User-specified objects |
CriSint32 criAtomExPlayer_GetNumPlaybacks | ( | CriAtomExPlayerHn | player | ) |
Get the number of sounds currently playing.
[in] | player | AtomEx player handle |
CriAtomExPlaybackId criAtomExPlayer_GetLastPlaybackId | ( | CriAtomExPlayerHn | player | ) |
Get the playback ID of the last sound played.
[in] | player | AtomEX player handle |
CriSint64 criAtomExPlayer_GetTime | ( | CriAtomExPlayerHn | player | ) |
Get the playback time.
[in] | player | AtomEx player handle |
void criAtomExPlayer_SetFormat | ( | CriAtomExPlayerHn | player, |
CriAtomExFormat | format | ||
) |
Specify the format of a sound.
[in] | player | AtomEx player handle |
[in] | format | format |
void criAtomExPlayer_SetNumChannels | ( | CriAtomExPlayerHn | player, |
CriSint32 | num_channels | ||
) |
Specify the number of channels of a sound.
[in] | player | AtomEx player handle |
[in] | num_channels | number of channels |
void criAtomExPlayer_SetSamplingRate | ( | CriAtomExPlayerHn | player, |
CriSint32 | sampling_rate | ||
) |
Specify the sampling rate of a sound.
[in] | player | AtomEx player handle |
[in] | sampling_rate | sampling rate |
void criAtomExPlayer_SetSoundRendererType | ( | CriAtomExPlayerHn | player, |
CriAtomSoundRendererType | type | ||
) |
Specify the Sound renderer type.
[in] | player | AtomEx player handle |
[in] | type | Sound renderer type |
void criAtomExPlayer_SetGroupNumber | ( | CriAtomExPlayerHn | player, |
CriSint32 | group_no | ||
) |
Specify the group number.
[in] | player | AtomEx player handle |
[in] | group_no | group number |
void criAtomExPlayer_SetVoiceControlMethod | ( | CriAtomExPlayerHn | player, |
CriAtomExVoiceControlMethod | method | ||
) |
Specifying a voice control method.
[in] | player | AtomEx player handle |
[in] | method | Voice control method |
If a sound of the same priority as the voice that is being played is played when no voice is available, and CRIATOMEX_PREFER_LAST is specified as the voice control method, then the voice that is being played is stopped and playback of a new sound is started.
If CRIATOMEX_PREFER_FIRST is specified under the same conditions, a new playback request is canceled, and playback of the existing voice is continued.
If CRIATOMEX_PREFER_DATA is specified, the voice control method that is preset for the data (the value specified with the authoring tool) is used.
If CRIATOMEX_PREFER_DATA is specified, but a voice control method is not specified for the data, as in single file playback, the voice is controlled on a last-come-first-served basis (CRIATOMEX_PREFER_LAST).
The default value before executing this function is CRIATOMEX_PREFER_DATA. The method that is set for the data is used.
void criAtomExPlayer_SetVoicePoolIdentifier | ( | CriAtomExPlayerHn | player, |
CriAtomExVoicePoolIdentifier | identifier | ||
) |
Specify the Voice Pool identifier.
[in] | player | AtomEx player handle |
[in] | identifier | Voice Pool identifier |
void criAtomExPlayer_SetHcaMxMixerId | ( | CriAtomExPlayerHn | player, |
CriSint32 | mixer_id | ||
) |
Specify the mixer ID for HCA-MX decoding.
[in] | player | AtomEx player handle |
[in] | mixer_id | mixer ID |
void criAtomExPlayer_SetAsrRackId | ( | CriAtomExPlayerHn | player, |
CriSint32 | rack_id | ||
) |
Specifying the ASR Rack ID.
[in] | player | AtomEx player handle |
[in] | rack_id | ASR Rack ID |
void criAtomExPlayer_SetAsrRackIdArray | ( | CriAtomExPlayerHn | player, |
const CriSint32 * | rack_id_array, | ||
CriSint32 | num_racks | ||
) |
Specifying multiple ASR Rack IDs.
[in] | player | AtomEx player handle |
[in] | rack_id_array | ASR Rack ID array |
[in] | num_racks | ASR Rack ID count |
void criAtomExPlayer_SetStartTime | ( | CriAtomExPlayerHn | player, |
CriSint64 | start_time_ms | ||
) |
Specify the playback starting position.
[in] | player | AtomEx player handle |
[in] | start_time_ms | starting position (in milliseconds) of the playback |
void criAtomExPlayer_SetSyncPlaybackId | ( | CriAtomExPlayerHn | player, |
CriAtomExPlaybackId | playback_id | ||
) |
Setting the synchronous playback ID.
[in] | player | AtomEx player handle |
[in] | playback_id | ID of the target playback |
For other codecs, this function cannot provide synchronous playback.
(This feature cannot be used for HCA-MX and sound codecs that perform hardware decoding.)
This feature synchronizes the playback position on a sample basis whenever possible. We do not guarantee combination without an error of one sample.
(Use this feature only when a difference of milliseconds is acceptable.)
Accuracy of synchronization of the playback positions depends on platforms.
You cannot use this function and the criAtomExPlayer_SetStartTime function at the same time.
When you use this function, the playback start position of a sound is automatically adjusted in the library.
Therefore, you cannot use this function and the criAtomExPlayer_SetStartTime function at the same time.
(The settings for the criAtomExPlayer_SetStartTime function are ignored.)
When you use this function for playback, a noise may occur when playback is started.
When you use this feature, use fade-in whenever possible.
When you use this function for cue playback, you cannot acquire correct playback time by using the criAtomExPlayer_GetTime function or the criAtomExPlayback_GetTime function.
To acquire playback time, use the criAtomExPlayback_GetNumPlayedSamples function instead of these functions.
void criAtomExPlayer_SetPlaybackRatio | ( | CriAtomExPlayerHn | player, |
CriFloat32 | playback_ratio | ||
) |
Set the sequence playback ratio.
[in] | player | AtomEx player handle |
[in] | playback_ratio | Sequence playback ratio |
void criAtomExPlayer_LimitLoopCount | ( | CriAtomExPlayerHn | player, |
CriSint32 | count | ||
) |
Set the the number of loops.
[in] | player | AtomEx player handle |
[in] | count | number of loops |
This function can set the number of loops only for the ADX and the HCA data.
Do not execute this function on data encoded by platform-dependent audio codecs.
(Doing so may result in the playback not finishing, in noise or other issues.)
void criAtomExPlayer_UpdateAll | ( | CriAtomExPlayerHn | player | ) |
Update the playback parameters (for all sounds currently playing)
[in] | player | AtomEx player handle |
void criAtomExPlayer_Update | ( | CriAtomExPlayerHn | player, |
CriAtomExPlaybackId | id | ||
) |
Update the playback parameters (specifying a playback ID)
[in] | player | AtomEx player handle |
[in] | id | playback ID |
void criAtomExPlayer_ResetParameters | ( | CriAtomExPlayerHn | player | ) |
Reset the playback parameters.
[in] | player | AtomEx player handle |
CriFloat32 criAtomExPlayer_GetParameterFloat32 | ( | CriAtomExPlayerHn | player, |
CriAtomExParameterId | id | ||
) |
Get the value of a parameter (as a floating point number)
[in] | player | AtomEx player handle |
[in] | id | parameter ID |
CriUint32 criAtomExPlayer_GetParameterUint32 | ( | CriAtomExPlayerHn | player, |
CriAtomExParameterId | id | ||
) |
Get the value of a parameter (as an unsigned integer)
[in] | player | AtomEx player handle |
[in] | id | parameter ID |
CriSint32 criAtomExPlayer_GetParameterSint32 | ( | CriAtomExPlayerHn | player, |
CriAtomExParameterId | id | ||
) |
Get the value of a parameter (as a signed integer)
[in] | player | AtomEx player handle |
[in] | id | parameter ID |
void criAtomExPlayer_SetVolume | ( | CriAtomExPlayerHn | player, |
CriFloat32 | volume | ||
) |
Set the volume.
[in] | player | AtomEx player handle |
[in] | volume | volume |
Even when specifying a volume over 1.0f, whether or not the sound will be played at a volume higher than the source waveform depends on the platform or the audio compression codec.
Therefore, when adjusting the volume on a multi-platform title, it is recommended to not use a volume over 1.0f.
(When specifying a volume over 1.0f, the same waveform may be played at different volumes depending on the platforms.)
Moreover, even on platforms where the volume can be increased, the hardware itself has a limit above which noise or crackling may be generated.
void criAtomExPlayer_SetPitch | ( | CriAtomExPlayerHn | player, |
CriFloat32 | pitch | ||
) |
Set the pitch (detune)
[in] | player | AtomEx player handle |
[in] | pitch | pitch (cents) |
void criAtomExPlayer_SetMaxPitch | ( | CriAtomExPlayerHn | player, |
CriFloat32 | pitch | ||
) |
Setting the maximum pitch.
[in] | player | AtomEx player handle |
[in] | pitch | pitch (cents) |
void criAtomExPlayer_SetPan3dAngle | ( | CriAtomExPlayerHn | player, |
CriFloat32 | pan3d_angle | ||
) |
Set the panning 3D angle.
[in] | player | AtomEx player handle |
[in] | pan3d_angle | panning 3D angle (from -180.0f to 180.0f degrees) |
void criAtomExPlayer_SetPan3dInteriorDistance | ( | CriAtomExPlayerHn | player, |
CriFloat32 | pan3d_interior_distance | ||
) |
Set the panning 3D distance.
[in] | player | AtomEx player handle |
[in] | pan3d_interior_distance | panning 3D distance (from -1.0f to 1.0f) |
void criAtomExPlayer_SetPan3dVolume | ( | CriAtomExPlayerHn | player, |
CriFloat32 | pan3d_volume | ||
) |
Set the panning 3D volume.
[in] | player | AtomEx player handle |
[in] | pan3d_volume | panning 3D volume (from 0.0f to 1.0f) |
void criAtomExPlayer_SetPanType | ( | CriAtomExPlayerHn | player, |
CriAtomExPanType | pan_type | ||
) |
Set the pan type.
[in] | player | AtomEx player handle |
[in] | pan_type | pan type |
CriAtomExPanType criAtomExPlayer_GetPanTypeOnPlayback | ( | CriAtomExPlayerHn | player | ) |
Get pan type during player playback.
[in] | player | AtomEx Player Handle |
void criAtomExPlayer_SetPanSpeakerType | ( | CriAtomExPlayerHn | player, |
CriAtomExPanSpeakerType | pan_speaker_type | ||
) |
Output speaker type setting when panning.
[in] | player | AtomEx player handle |
[in] | pan_speaker_type | type of speaker output (used for panning) |
void criAtomExPlayer_AddMixDownCenterVolumeOffset | ( | CriAtomExPlayerHn | player, |
CriFloat32 | mixdown_center_volume_offset | ||
) |
Setting MixDownCenter volume offset value.
[in] | player | AtomEx player handle |
[in] | mixdown_center_volume_offset | MixDownCenter Volume offset value |
void criAtomExPlayer_AddMixDownLfeVolumeOffset | ( | CriAtomExPlayerHn | player, |
CriFloat32 | mixdown_lfe_volume_offset | ||
) |
Setting MixDownLFE volume offset value.
[in] | player | AtomEx player handle |
[in] | mixdown_lfe_volume_offset | MixDownLFE Volume offset value |
void criAtomExPlayer_ChangeDefaultPanSpeakerType | ( | CriAtomExPanSpeakerType | pan_speaker_type | ) |
Changing the default output speaker type for panning.
[in] | pan_speaker_type | Output speaker type for panning |
void criAtomExPlayer_OverrideDefaultPanMethod | ( | CriAtomExPlayerPanCbFunc | func, |
void * | obj | ||
) |
Override the default panning process.
[in] | func | Panning Functions |
[in] | obj | User-specified objects |
void criAtomExPlayer_SetPanAngleType | ( | CriAtomExPlayerHn | player, |
CriAtomExPanAngleType | pan_angle_type | ||
) |
Panning angle type setting.
[in] | player | AtomEx Player Handle |
[in] | pan_angle_type | Panning angle type |
void criAtomExPlayer_SetWideness | ( | CriAtomExPlayerHn | player, |
CriFloat32 | wideness | ||
) |
Set the sound spread during panning.
[in] | player | AtomEx player handle |
[in] | spread | Multi-channel sound spread |
void criAtomExPlayer_SetSpread | ( | CriAtomExPlayerHn | player, |
CriFloat32 | spread | ||
) |
Spread Settings.
[in] | player | AtomEx Player Handle |
[in] | spread | Spread |
void criAtomExPlayer_SetSendLevel | ( | CriAtomExPlayerHn | player, |
CriSint32 | ch, | ||
CriAtomExSpeakerId | spk, | ||
CriFloat32 | level | ||
) |
Set a send level.
[in] | player | AtomEx player handle |
[in] | ch | channel number |
[in] | spk | speaker ID |
[in] | level | send level value (from 0.0f to 1.0f) |
void criAtomExPlayer_SetBusSendLevelByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | bus_name, | ||
CriFloat32 | level | ||
) |
Setting the bus send level.
[in] | player | AtomEx player handle |
[in] | bus_name | Bus name |
[in] | level | Send level value (0.0f to 1.0f) |
void criAtomExPlayer_ResetBusSends | ( | CriAtomExPlayerHn | player | ) |
Resetting Bus Send Levels.
[in] | player | AtomEx Player Handle |
CriBool criAtomExPlayer_GetBusSendLevelByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | bus_name, | ||
CriFloat32 * | level | ||
) |
Get Bus Send Level.
[in] | player | AtomEx Player Handle |
[in] | bus_name | Bus name |
[out] | level | Bus send level value (0.0f to 1.0f) |
void criAtomExPlayer_SetBusSendLevelOffsetByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | bus_name, | ||
CriFloat32 | level_offset | ||
) |
Setting the bus send level (by specifying the offset)
[in] | player | AtomEx player handle |
[in] | bus_name | Bus name |
[in] | level_offset | Send level value (0.0f to 1.0f) |
CriBool criAtomExPlayer_GetBusSendLevelOffsetByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | bus_name, | ||
CriFloat32 * | level_offset | ||
) |
Get Bus Send Level Offset.
[in] | player | AtomEx Player Handle |
[in] | bus_name | Bus name |
[out] | level_offset | Bus send level offset value (0.0f to 1.0f) |
void criAtomExPlayer_SetPanAdx1Compatible | ( | CriAtomExPlayerHn | player, |
CriSint32 | ch, | ||
CriFloat32 | pan | ||
) |
Set the ADX1-compatible panning.
[in] | player | AtomEx player handle |
[in] | ch | channel number |
[in] | pan | panning setting (from -1.0f to 1.0f) |
void criAtomExPlayer_SetBandpassFilterParameters | ( | CriAtomExPlayerHn | player, |
CriFloat32 | cof_low, | ||
CriFloat32 | cof_high | ||
) |
Set the band pass filter parameters.
[in] | player | AtomEx player handle |
[in] | cof_low | Normalized low-range cutoff frequency (from 0.0f to 1.0f) |
[in] | cof_high | Normalized high-range cutoff frequency (from 0.0f to 1.0f) |
If a normalized cutoff frequency is higher than 1.0f, the value is clipped to 1.0f.
Similarly, if a normalized cutoff frequency is lower than 0.0f, the value is clipped to 0.0f.
This parameter is cleared by criAtomExPlayer_ResetParameters function.
void criAtomExPlayer_SetBiquadFilterParameters | ( | CriAtomExPlayerHn | player, |
CriAtomExBiquadFilterType | type, | ||
CriFloat32 | frequency, | ||
CriFloat32 | gain, | ||
CriFloat32 | q_value | ||
) |
Set the biquad filter parameters.
[in] | player | AtomEx player handle |
[in] | type | filter type |
[in] | frequency | Normalized frequency (from 0.0f to 1.0f) |
[in] | gain | gain (in decibels) |
[in] | q_value | Q-value |
If the normalized cutoff frequency is higher than 1.0f, the value is clipped to 1.0f.
Similarly, if the normalized cutoff frequency is lower than 0.0f, the value is clipped to 0.0f.
This parameter is cleared by criAtomExPlayer_ResetParameters function.
void criAtomExPlayer_SetVoicePriority | ( | CriAtomExPlayerHn | player, |
CriSint32 | priority | ||
) |
Set the priority.
[in] | player | AtomEx player handle |
[in] | priority | voice priority (from -255 to 255) |
If you call this function during cue playback and the voice priority is already set in the data, the final priority is the value set in the data added to the value passed to this function.
For example, if the priority in the data is 255 and the one you set to the AtomEx Player is 45, the actual priority value is 300.
The range of values that can be set with this function is -255 to 255, but because calculations within the library are performed in the range of CriSint32, the result of adding it to the data side may exceed -255 to 255.
This parameter is cleared by criAtomExPlayer_ResetParameters function.
void criAtomExPlayer_SetAisacControlById | ( | CriAtomExPlayerHn | player, |
CriAtomExAisacControlId | control_id, | ||
CriFloat32 | control_value | ||
) |
Set an AISAC control value (specifying the control ID)
[in] | player | AtomEx player handle |
[in] | control_id | control ID |
[in] | control_value | control value (from 0.0f to 1.0f) |
This parameter is cleared by criAtomExPlayer_ResetParameters function.
void criAtomExPlayer_SetAisacControlByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | control_name, | ||
CriFloat32 | control_value | ||
) |
Set AISAC control value (specifying a control name)
[in] | player | AtomEx player handle |
[in] | control_name | control name |
[in] | control_value | control value (from 0.0f to 1.0f) |
void criAtomExPlayer_ClearAisacControls | ( | CriAtomExPlayerHn | player | ) |
Clear the AISAC control values set to the player.
[in] | player | AtomEx player handle |
void criAtomExPlayer_Set3dSourceHn | ( | CriAtomExPlayerHn | player, |
CriAtomEx3dSourceHn | source | ||
) |
Set the 3D sound source handle.
[in] | player | AtomEx player handle |
[in] | source | 3D sound source handle |
void criAtomExPlayer_Set3dSourceListHn | ( | CriAtomExPlayerHn | player, |
CriAtomEx3dSourceListHn | source_list | ||
) |
Assign a 3D sound source handle list to a player.
[in] | player | AtomEx player handle |
[in] | source_list | 3D sound source handle list |
void criAtomExPlayer_Set3dListenerHn | ( | CriAtomExPlayerHn | player, |
CriAtomEx3dListenerHn | listener | ||
) |
Set the 3D listener handle.
[in] | player | AtomEx player handle |
[in] | listener | 3D listener handle |
This parameter is cleared by the criAtomExPlayer_ResetParameters function.
CriFloat32 criAtomExPlayer_GetAisacControlById | ( | CriAtomExPlayerHn | player, |
CriAtomExAisacControlId | control_id | ||
) |
Get an AISAC control value (specifying the control ID)
[in] | player | AtomEx player handle |
[in] | control_id | control ID |
CriFloat32 criAtomExPlayer_GetAisacControlByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | control_name | ||
) |
Get an AISAC control value (specifying the control name)
[in] | player | AtomEx player handle |
[in] | control_name | control name |
void criAtomExPlayer_SetCategoryById | ( | CriAtomExPlayerHn | player, |
CriUint32 | category_id | ||
) |
Set the category (specifying its ID)
[in] | player | AtomEx player handle |
[in] | category_id | category ID |
void criAtomExPlayer_SetCategoryByName | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | category_name | ||
) |
Set the category (specifying its name)
[in] | player | AtomEx player handle |
[in] | category_name | category name |
void criAtomExPlayer_UnsetCategory | ( | CriAtomExPlayerHn | player | ) |
Remove a category.
[in] | player | AtomEx player handle |
CriSint32 criAtomExPlayer_GetNumCategories | ( | CriAtomExPlayerHn | player | ) |
Acquiring the number of categories.
[in] | player | AtomEx player handle |
CriBool criAtomExPlayer_GetCategoryInfo | ( | CriAtomExPlayerHn | player, |
CriUint16 | index, | ||
CriAtomExCategoryInfo * | info | ||
) |
Acquiring category information (by specifying an index)
[in] | player | AtomEx player handle |
[in] | index | Index |
[out] | info | Category information |
void criAtomExPlayer_SetTrackInfo | ( | CriAtomExPlayerHn | player, |
CriSint32 | num_tracks, | ||
const CriSint32 * | channels_per_track | ||
) |
Set the track information.
[in] | player | AtomEx player handle |
[in] | num_tracks | the number of tracks |
[in] | channels_per_track | the number of channels per track |
void criAtomExPlayer_SetTrackVolume | ( | CriAtomExPlayerHn | player, |
CriSint32 | track_no, | ||
CriFloat32 | volume | ||
) |
Set the track volume.
[in] | player | AtomEx player handle |
[in] | track_no | track number |
[in] | volume | track volume |
void criAtomExPlayer_SetSilentMode | ( | CriAtomExPlayerHn | player, |
CriAtomExSilentMode | silent_mode | ||
) |
Set the silence-handling mode.
[in] | player | AtomEx player handle |
[in] | silent_mode | silence-handling mode |
void criAtomExPlayer_SetCuePriority | ( | CriAtomExPlayerHn | player, |
CriSint32 | cue_priority | ||
) |
Set the Cue priority.
[in] | player | AtomEx player handle |
[in] | cue_priority | Cue priority |
void criAtomExPlayer_SetPreDelayTime | ( | CriAtomExPlayerHn | player, |
CriFloat32 | predelay_time_ms | ||
) |
Setting the pre-delay time.
[in] | player | AtomEx player handle |
[in] | predelay_time_ms | Pre-delay (0.0f - 10000.0f) |
void criAtomExPlayer_SetEnvelopeAttackTime | ( | CriAtomExPlayerHn | player, |
CriFloat32 | attack_time_ms | ||
) |
Set the attack time of the envelope.
[in] | player | AtomEx player handle |
[in] | attack_time_ms | attack time (from 0.0f to 2000.0f) |
void criAtomExPlayer_SetEnvelopeAttackCurve | ( | CriAtomExPlayerHn | player, |
CriAtomExCurveType | curve_type, | ||
CriFloat32 | strength | ||
) |
Setting the Envelope Attack Curve.
[in] | player | AtomEx Player Handle |
[in] | curve_type | Curve Type |
[in] | strength | Curve Strength |
void criAtomExPlayer_SetEnvelopeHoldTime | ( | CriAtomExPlayerHn | player, |
CriFloat32 | hold_time_ms | ||
) |
Setting the envelope hold time.
[in] | player | AtomEx Player Handle |
[in] | hold_time_ms | Hold Time |
void criAtomExPlayer_SetEnvelopeDecayTime | ( | CriAtomExPlayerHn | player, |
CriFloat32 | decay_time_ms | ||
) |
Set the decay time of the envelope.
[in] | player | AtomEx player handle |
[in] | decay_time_ms | decay time (from 0.0f to 2000.0f) |
void criAtomExPlayer_SetEnvelopeDecayCurve | ( | CriAtomExPlayerHn | player, |
CriAtomExCurveType | curve_type, | ||
CriFloat32 | strength | ||
) |
Setting the Envelope Decay Curve.
[in] | player | AtomEx Player Handle |
[in] | curve_type | Curve Type |
[in] | strength | Curve Strength |
void criAtomExPlayer_SetEnvelopeReleaseTime | ( | CriAtomExPlayerHn | player, |
CriFloat32 | release_time_ms | ||
) |
Setting the envelope release time.
[in] | player | AtomEx Player Handle |
[in] | release_time_ms | Release Time |
void criAtomExPlayer_SetEnvelopeReleaseCurve | ( | CriAtomExPlayerHn | player, |
CriAtomExCurveType | curve_type, | ||
CriFloat32 | strength | ||
) |
Setting the envelope release curve.
[in] | player | AtomEx Player Handle |
[in] | curve_type | Curve Type |
[in] | strength | Curve Strength |
void criAtomExPlayer_SetEnvelopeSustainLevel | ( | CriAtomExPlayerHn | player, |
CriFloat32 | susutain_level | ||
) |
Setting the envelope sustain level.
[in] | player | AtomEx player handle |
[in] | susutain_level | sustain level (from 0.0f to 1.0f) |
void criAtomExPlayer_SetDataRequestCallback | ( | CriAtomExPlayerHn | player, |
CriAtomExPlayerDataRequestCbFunc | func, | ||
void * | obj | ||
) |
Register the data request callback function.
[in] | player | AtomEx player handle |
[in] | func | data request callback function |
[in] | obj | user-specified object |
When a function that is not listed above is called within a callback function, problems such as error callback or deadlock may occur.
If you are using a codec that does not support seamless playback, the data will not be played continuously even if you set the next data in the data request callback function.
The format of the waveform data used for seamless concatenated playback should all be the same.
Specifically, the following parameters must be the same:
If you try to concatenate waveforms with different parameters, you may encounter problems such as unintended speed of audio data playback or error callbacks.
Also, when waveform data with loop information is set within the data request callback function, the loop playback is not performed.
(The loop points are discarded and the playback ends.)
Only one callback function can be registered.
If perform a registration operation more than once, the already registered callback function will be overwritten by the callback function registered later.
Registering registered functions can be canceled by specifying NULL for func.
void criAtomExPlayer_SetFilterCallback | ( | CriAtomExPlayerHn | player, |
CriAtomExPlayerFilterCbFunc | func, | ||
void * | obj | ||
) |
Register the wave filter callback function.
[in] | player | AtomEx player handle |
[in] | func | wave filter callback function |
[in] | obj | user-specified object |
void criAtomExPlayer_SetRandomSeed | ( | CriAtomExPlayerHn | player, |
CriUint32 | seed | ||
) |
Set the random number seed.
[in] | player | AtomEx player handle |
[in] | seed | random number seed |
void criAtomExPlayer_SetDspParameter | ( | CriAtomExPlayerHn | player, |
CriSint32 | param_id, | ||
CriFloat32 | param_val | ||
) |
Set a DSP parameter.
[in] | player | AtomEx player handle |
[in] | param_id | parameter ID (0 - 10) |
[in] | param_val | parameter value (0.0f - 1.0f) |
void criAtomExPlayer_SetDspBypass | ( | CriAtomExPlayerHn | player, |
CriBool | is_bypassed | ||
) |
Set a DSP parameter.
[in] | player | AtomEx player handle |
[in] | is_bypassed | With or without bypass |
void criAtomExPlayer_AttachAisac | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | global_aisac_name | ||
) |
Attach a global AISAC to a player.
[in] | player | AtomEx player handle |
[in] | global_aisac_name | name of the global AISAC to be attached |
void criAtomExPlayer_DetachAisac | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | global_aisac_name | ||
) |
Detach an AISAC from the player.
[in] | player | AtomEx player |
[in] | global_aisac_name | name of the global AISAC to be detached |
void criAtomExPlayer_DetachAisacAll | ( | CriAtomExPlayerHn | player | ) |
Detach all the AISACs from a player.
[in] | player | AtomEx player |
CriSint32 criAtomExPlayer_GetNumAttachedAisacs | ( | CriAtomExPlayerHn | player | ) |
Get the number of AISACs attached to a player.
[in] | player | AtomEx player |
CriBool criAtomExPlayer_GetAttachedAisacInfo | ( | CriAtomExPlayerHn | player, |
CriSint32 | aisac_attached_index, | ||
CriAtomExAisacInfo * | aisac_info | ||
) |
Get information on a specific AISAC attached to a player.
[in] | player | AtomEx player |
[in] | aisac_attached_index | The index of the attached AISAC |
[out] | aisac_info | AISAC information |
CRI_TRUE | = the information was successfully obtained |
CRI_FALSE | = failed to get information |
void criAtomExPlayer_SetStreamingCacheId | ( | CriAtomExPlayerHn | player, |
CriAtomExStreamingCacheId | cache_id | ||
) |
Set the streaming cache for player.
[in] | player | AtomEx player |
[in] | cache_id | ID of the streaming cache to be used in the player |
void criAtomExPlayer_AttachTween | ( | CriAtomExPlayerHn | player, |
CriAtomExTweenHn | tween | ||
) |
Attach a Tween to a player.
[in] | player | AtomEx player handle |
[in] | tween | Tween handle |
void criAtomExPlayer_DetachTween | ( | CriAtomExPlayerHn | player, |
CriAtomExTweenHn | tween | ||
) |
Detach a Tween from a player.
[in] | player | AtomEx Player |
[in] | tween | handle of the Tween to be detached |
void criAtomExPlayer_DetachTweenAll | ( | CriAtomExPlayerHn | player | ) |
Detach all Tweens from a player.
[in] | player | AtomEx Player |
void criAtomExPlayer_SetFirstBlockIndex | ( | CriAtomExPlayerHn | player, |
CriAtomExBlockIndex | index | ||
) |
Set the start block (by specifying a block index)
[in] | player | AtomEx player handle |
[in] | index | block index |
void criAtomExPlayer_SetBlockTransitionCallback | ( | CriAtomExPlayerHn | player, |
CriAtomExPlayerBlockTransitionCbFunc | func, | ||
void * | obj | ||
) |
Register the block transition callback function.
[in] | player | AtomEx player handle |
[in] | func | block transition callback function |
[in] | obj | user-specified object |
CriAtomExSoundObjectHn criAtomExPlayer_GetSoundObject | ( | CriAtomExPlayerHn | player | ) |
Acquire a sound object.
[in] | player | AtomEx player handle |
void criAtomExPlayer_SetDrySendLevel | ( | CriAtomExPlayerHn | player, |
CriAtomExSpeakerId | spk, | ||
CriFloat32 | offset, | ||
CriFloat32 | gain | ||
) |
Set the dry send level (for compatibility with CRI Audio)
[in] | player | AtomEx player handle |
[in] | spk | Speaker ID |
[in] | offset | Dry send level offset (added value) |
[in] | gain | Dry send level gain (multiplied value) |
void criAtomExPlayer_SetSelectorLabel | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | selector, | ||
const CriChar8 * | label | ||
) |
Set selector information to the player.
[in] | player | AtomEx player handle |
[in] | selector | Selector name |
[in] | label | Label name |
void criAtomExPlayer_UnsetSelectorLabel | ( | CriAtomExPlayerHn | player, |
const CriChar8 * | selector | ||
) |
Deleting the selector information set in the player.
[in] | player | AtomEx Player Handle |
[in] | selector | Selector name |
void criAtomExPlayer_ClearSelectorLabels | ( | CriAtomExPlayerHn | player | ) |
Clear the selector information set to the player.
[in] | player | AtomEx player handle |
void criAtomExPlayer_SetPlaybackTrackInfoNotificationCallback | ( | CriAtomExPlayerHn | player, |
CriAtomExPlayerPlaybackTrackInfoNotificationCbFunc | func, | ||
void * | obj | ||
) |
Registering playback track number notification callback function.
[in] | player | AtomEx Player handle |
[in] | func | Playback track number notification callback function |
[in] | obj | User specified object |
void criAtomExPlayer_SetPlaybackEventCallback | ( | CriAtomExPlayerHn | player, |
CriAtomExPlaybackEventCbFunc | func, | ||
void * | obj | ||
) |
Registration of playback event callback.
[in] | player | AtomEx Player Handle |
[in] | func | Replay event callback function |
[in] | obj | User specified object |
void criAtomExPlayer_SetChannelConfig | ( | CriAtomExPlayerHn | player, |
CriSint32 | num_channels, | ||
CriAtomChannelConfig | channel_config | ||
) |
Specify the channel configuration of the input audio.
[in] | player | AtomEx Player Handle |
[in] | num_channels | Number of Channels |
[in] | channel_config | Channel Config |