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);
|
||||
}
|
||||
|
||||
void
|
||||
relocate(int hr, int min, int sec, int fr, int fps)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
onsysex(unsigned char *buf, int len)
|
||||
{
|
||||
|
@ -103,7 +98,8 @@ onsysex(unsigned char *buf, int len)
|
|||
if (len < SYSEX_SIZE(empty))
|
||||
return;
|
||||
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))
|
||||
master = x->u.master.coarse;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue