*/}}
YimingWu 1 gadu atpakaļ
vecāks
revīzija
3d89defff6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      la_audio.c

+ 1 - 1
la_audio.c

@@ -383,7 +383,6 @@ void laInitMiniAudio(){
     INITPACKET(MAIN.Audio->AudioSamples);
     pthread_spin_init(&MAIN.Audio->AudioStatusLock,0);
 
-
 }
 void laDeinitMiniAudio(){
     pthread_spin_destroy(&MAIN.Audio->AudioStatusLock);
@@ -590,6 +589,7 @@ void laInitAudio(){
     p=laAddEnumProperty(pc,"gain2","Gain 2","Channel 2 Gain",0,0,0,5,0,offsetof(laSynthNodeScope,Gain2),0,0,0,0,0,0,0,0,0,0);
     ADD_GAIN_S(-1,"¼") ADD_GAIN_S(0,"½") ADD_GAIN(1) ADD_GAIN(2) ADD_GAIN(3) ADD_GAIN(4) ADD_GAIN(5) ADD_GAIN(6)
 #undef ADD_GAIN
+#undef ADD_GAIN_S
     laAddFloatProperty(pc,"offset1","Offset 1","Channel 1 offset",0,0,0,10,-10,0.1,0,0,offsetof(laSynthNodeScope,Offset1),0,0,0,0,0,0,0,0,0,0,0);
     laAddFloatProperty(pc,"offset2","Offset 2","Channel 2 offset",0,0,0,10,-10,0.1,0,0,offsetof(laSynthNodeScope,Offset2),0,0,0,0,0,0,0,0,0,0,0);
     laAddFloatProperty(pc,"bright1","Brightness 1","Channel 1 brightness",0,0,0,1,0,0.1,0,0,offsetof(laSynthNodeScope,Brightness1),0,0,0,0,0,0,0,0,0,0,0);