AuMonitorNotifyEvent (3)
Leading comments
$NCDId: @(#)AuMNtEvt.man,v 1.1 1994/09/27 00:33:07 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing...
Name
AuMonitorNotifyEvent - monitor notify event structureStructures
#include <audio/audiolib.h>
typedef union _AuEvent
{
. . .
AuMonitorNotifyEvent aumonitornotify;
. . .
}AuEvent;
typedef struct _AuMonitorNotifyEvent
{
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuFlowID flow;
unsigned char element_num;
unsigned char format;
unsigned char num_tracks;
unsigned short count;
unsigned short num_fields;
AuUint32 data;
AuUint32 data1;
AuUint32 data2;
}AuMonitorNotifyEvent;
Members
- type
- The event type. MonitorNotify events are type AuEventTypeMonitorNotify.
- serial
- The serial ID of the event expanded from the 16 bit value sent by the server.
- send_event
- AuTrue if the event came from a SendEvent protocol request.
- server
- The connection to the audio server that the event was read from.
- time
- The server time in milliseconds when the event was generated.
- flow
- Specifies the ID of the flow that caused the event.
- element_num
- The index of the ExportMonitor element that gnerated this event.
- format
- The format of the monitor data. Currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUnsigned16LSB. Taken from the ExportMonitor element.
- num_tracks
- The number of tracks in the monitor data. Taken from the ExportMonitor element.
- count
- Always 0.
- num_fields
- Always 2.
- data
- Monitor data.
- data1
- Monitor data.
- data2
- Monitor data.
Description
MonitorNotify events will be sent to clients with flows containing ExportMonitor elements.See Also
AuAnyEvent, AuElementNotifyEvent, AuErrorEvent, AuGrabNotifyEvent.audiolib - Network Audio System C Language Interface