Firelight Technologies FMOD Studio API

FMOD_STUDIO_PROGRAMMER_SOUND_PROPERTIES

This structure holds information about a programmer sound.

Structure

typedef struct {
  const char *name;
  FMOD_STUDIO_EVENTINSTANCE *event;
  FMOD_SOUND *sound;
} FMOD_STUDIO_PROGRAMMER_SOUND_PROPERTIES;

Members

name

The name of the programmer instrument (set in FMOD Studio).

event

The event instance that needs to play the sound. Can be cast to Studio::EventInstance* type.

sound

The programmer-created sound. This should be filled in by the create callback, and cleaned up by the destroy callback. This can be cast to/from FMOD::Sound* type.

Remarks

This data is passed to the event callback function when type is FMOD_STUDIO_EVENT_CALLBACK_CREATE_PROGRAMMER_SOUND or FMOD_STUDIO_EVENT_CALLBACK_DESTROY_PROGRAMMER_SOUND.

See Also




Version 1.03.06 Built on Apr 17, 2014