mirror of https://github.com/ericonr/sndio.git
style
This commit is contained in:
parent
4cf1ce7f8e
commit
470c3b98b0
|
@ -82,11 +82,6 @@ setmaster(int vol)
|
||||||
printf("master -> %u\n", vol);
|
printf("master -> %u\n", vol);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
relocate(int hr, int min, int sec, int fr, int fps)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
onsysex(unsigned char *buf, int len)
|
onsysex(unsigned char *buf, int len)
|
||||||
{
|
{
|
||||||
|
@ -103,7 +98,8 @@ onsysex(unsigned char *buf, int len)
|
||||||
if (len < SYSEX_SIZE(empty))
|
if (len < SYSEX_SIZE(empty))
|
||||||
return;
|
return;
|
||||||
if (x->type == SYSEX_TYPE_RT &&
|
if (x->type == SYSEX_TYPE_RT &&
|
||||||
x->id0 == SYSEX_CONTROL && x->id1 == SYSEX_MASTER) {
|
x->id0 == SYSEX_CONTROL &&
|
||||||
|
x->id1 == SYSEX_MASTER) {
|
||||||
if (len == SYSEX_SIZE(master))
|
if (len == SYSEX_SIZE(master))
|
||||||
master = x->u.master.coarse;
|
master = x->u.master.coarse;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue