*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> midi/mdGetStatus (3d)              
Title
Content
Arch
Section
 

Contents


mdGetStatus(3dm)					      mdGetStatus(3dm)


NAME    [Toc]    [Back]

     mdGetStatus, mdGetChannel,	mdGetByte1, mdGetByte2,	mdSetStatus,
     mdSetChannel, mdSetByte1, mdSetByte2 - manipulate MIDI messages

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/midi.h>

     int mdGetStatus(char *msg)	(obsolete)
     int mdGetChannel(char *msg) (obsolete)
     int mdGetByte1(char *msg) (obsolete)
     int mdGetByte2(char *msg) (obsolete)
     void mdSetStatus(char *msg, int x)	(obsolete)
     void mdSetChannel(char *msg, int x) (obsolete)
     void mdSetByte1(char *msg,	int x) (obsolete)
     void mdSetByte2(char *msg,	int x) (obsolete)

DESCRIPTION    [Toc]    [Back]

     These routines routines are obsolete and are retained only	for backwards
     compatibility.  They can be replaced with the following definitions:

     #define mdGetStatus(msg)	 (msg[0] & MD_STATUSMASK)
     #define mdGetChannel(msg)	 (msg[0] & MD_CHANNELMASK)
     #define mdGetByte1(msg)	 (msg[1])
     #define mdGetByte2(msg)	 (msg[2])
     #define mdSetStatus(msg,x)	 (msg[0] = (x) | mdGetChannel(msg))
     #define mdSetChannel(msg,x) (msg[0] = mdGetStatus(msg) | (x))
     #define mdSetByte1(msg, x)	 (msg[1] = (x))
     #define mdSetByte2(msg, x)	 (msg[2] = (x))


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
DtSearchHasMessages HP-UX Access and manipulate messages on the DtSearch MessageList
DtSearchAddMessage HP-UX Access and manipulate messages on the DtSearch MessageList
DtSearchGetMessages HP-UX Access and manipulate messages on the DtSearch MessageList
DtSearchFreeMessages HP-UX Access and manipulate messages on the DtSearch MessageList
writesrv Tru64 Lets users send messages to and receive messages from a remote system
umidi OpenBSD USB support for MIDI devices
midisynth IRIX software MIDI synthesizer
startmidi IRIX start MIDI daemon
mdSend IRIX send out MIDI data
midiplay OpenBSD play MIDI files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service