#include /* ** Put commands in 'buf' to change the program (i.e., voice) to 'prog'. ** NB: 'prog' is 0-based; e.g., prog_change(buf, chan, 31) selects prog "32". ** terminate the string & return a pointer to the . */ char * prog_change(buf, channel, prog) char *buf; { register char *cp; cp = buf; *cp++ = CH_PRG | channel; *cp++ = prog; *cp = '\0'; return(cp); }