Rechercher une page de manuel
YEventSoundPlay
Langue: en
Version: 346192 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
YEventSoundPlay - Y sound object play event structures
STRUCTURES
typedef struct {
/* These flag definations need to match those of the server. */
#define YPlayValuesFlagYID (1 << 1)
#define YPlayValuesFlagPosition (1 << 2)
#define YPlayValuesFlagLength (1 << 3)
#define YPlayValuesFlagRepeats (1 << 4)
#define YPlayValuesFlagTotalRepeats (1 << 5)
#define YPlayValuesFlagVolume (1 << 6)
#define YPlayValuesFlagSampleRate (1 << 7)
unsigned long flags;
YID yid;
YDataPosition position; /* Current play position in bytes. */
YDataLength length; /* Length of audio data in bytes. */
int repeats, /* Number of repeats so far. */
total_repeats; /* Total number of repeats. */
Coefficient left_volume, /* Volume from 0.0 to 1.0. */
right_volume,
back_left_volume,
back_right_volumne;
int sample_rate; /* Applied sample rate in Hz. */
} YEventSoundPlay;
When you receive this event it means that a Y sound object (that belongs to the Y client of the connection that fetched this event) has changed in its values.
SEE ALSO
YEvent(3) YEventAudioChange(3) YEventServerStats(3) YEventCycleChange(3) YEventDisconnect(3) YEventHost(3) YEventSoundKill(3) YEventMixer(3) YEventSoundObjectAttributes(3) YEventShutdown(3) YEventSync(3) YEventAudioStats(3) YEventYSHMSound(3) YEventAudioCDStats(3) YGetNextEvent(3) YPutBackEvent(3)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre