GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AuRegisterEventHandler(3) FreeBSD Library Functions Manual AuRegisterEventHandler(3)

AuRegisterEventHandler - add an event handler.

#include <audio/audiolib.h>

AuEventHandlerRec *AuRegisterEventHandler(server, value_mask, type, id, callback data) AuServer *server; AuMask value_mask; int type; AuID id; AuBool (*callback)(AuServer *, AuEvent *, AuEventHandlerRec *); AuPointer data;

server
Specifies the connection to the audio server.
value_mask
Specifies which values are checked to determine if this handler should handle an event. This should be an inclusive OR of AuEventHandlerTypeMask and AuEventHandlerIDMask.
type
Specifies the type of event that are to be handled by this handler. This should be one of these constants: AuEventTypeElementNotify, AuEventTypeGrabNotify, or AuEventTypeMonitorNotify.
id
Specifies the source id of the event that are to be handled by this handler.
callback
Specifies the procedure to handle the event.
data
Specifies additional data to be passed to the event handler.

AuRegisterEventHandler registers an event handler for future use by AuDispatchEvent.

AuUnregisterEventHandler.

audiolib - Network Audio System C Language Interface

1.9.4 audioutil

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.