DSP:RegisterInterruptEvents

DSP:RegisterInterruptEvents

Request #

Index WordDescription
0Header code [0x00150082]
1Interrupt
2Channel
30x0
4Event handle (0 = unregister the event that was previous registered)

Response #

Index WordDescription
0Header code [0x00150040]
1Result code

Description #

Application should unregister the event by setting handle to zero. If the session was closed before the event was unregistered, it will cause a handle leak in DSP process.

DSP can hold up to 6 concurrent registrations. More than that will cause registration to fail.

Interrupts with interupt=2 are related to pipes. The channel argument is the same as the pipe channel argument. The interrupt is signalled when data is available on the related pipe or when a related event occurs.