YEventYSHMSound(3)

YEventYSHMSound3

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From liby-dev 2.14.5-7 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.