comparison examples/basic_libpd/render.cpp @ 355:bad8a536c157 prerelease

Fixed Bela_pdMessageHook
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 08 Jun 2016 21:13:02 +0100
parents 1b23300f3e78
children f3dd39be15e4
comparison
equal deleted inserted replaced
354:1b23300f3e78 355:bad8a536c157
81 return; 81 return;
82 } 82 }
83 int channel = libpd_get_float(&argv[0]) - LIBPD_DIGITAL_OFFSET; 83 int channel = libpd_get_float(&argv[0]) - LIBPD_DIGITAL_OFFSET;
84 if(disable == true){ 84 if(disable == true){
85 dcm.unmanage(channel); 85 dcm.unmanage(channel);
86 return;
86 } 87 }
87 if(argc >= 2){ 88 if(argc >= 2){
88 t_atom* a = &argv[1]; 89 t_atom* a = &argv[1];
89 if(libpd_is_symbol(a)){ 90 if(libpd_is_symbol(a)){
90 char *s = libpd_get_symbol(a); 91 char *s = libpd_get_symbol(a);