YEventYSHMSound(3) Y SHM Sound event structures

STRUCTURES

typedef struct {


        int minor_op_code;

        int shm_id;

        void *ptr;

        int length;

} YEventYSHMSound;

When you receive this event, it means that the Y SHM Sound buffer has been closed or opened. In most cases this event is only reported when the Y SHM Sound buffer has been closed, which is indicated by the member minor_op_code being set to YSHMSoundClose.

If you are using Y SHM Sound, then you should watch for this event and reopen the Y SHM Sound buffer when you receive this event. To reopen the Y SHM Sound buffer call YSHMCloseSound and then YSHMOpenSound immediately after receiving this event.