mdSetByte1 man page on IRIX
[printable version]
mdGetStatus(3dm) mdGetStatus(3dm)
NAME
mdGetStatus, mdGetChannel, mdGetByte1, mdGetByte2, mdSetStatus,
mdSetChannel, mdSetByte1, mdSetByte2 - manipulate MIDI messages
SYNOPSIS
#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
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))
Page 1
[top]
List of man pages available for IRIX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|