projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
423a427
)
[examples] remove unneeded cast
author
Paul Brossier
<piem@piem.org>
Tue, 11 Dec 2018 15:04:36 +0000
(16:04 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 11 Dec 2018 15:04:36 +0000
(16:04 +0100)
examples/aubiomfcc.c
patch
|
blob
|
history
examples/aubionotes.c
patch
|
blob
|
history
examples/aubioonset.c
patch
|
blob
|
history
examples/aubiopitch.c
patch
|
blob
|
history
examples/aubioquiet.c
patch
|
blob
|
history
examples/aubiotrack.c
patch
|
blob
|
history
diff --git
a/examples/aubiomfcc.c
b/examples/aubiomfcc.c
index
0942ade
..
f333d63
100644
(file)
--- a/
examples/aubiomfcc.c
+++ b/
examples/aubiomfcc.c
@@
-68,7
+68,7
@@
int main(int argc, char **argv) {
goto beach;
}
goto beach;
}
- examples_common_process(
(aubio_process_func_t)
process_block, process_print);
+ examples_common_process(process_block, process_print);
del_aubio_pvoc (pv);
del_cvec (fftgrain);
del_aubio_pvoc (pv);
del_cvec (fftgrain);
diff --git
a/examples/aubionotes.c
b/examples/aubionotes.c
index
339fdaf
..
0969774
100644
(file)
--- a/
examples/aubionotes.c
+++ b/
examples/aubionotes.c
@@
-90,7
+90,7
@@
int main(int argc, char **argv) {
}
}
}
}
- examples_common_process(
(aubio_process_func_t)
process_block, process_print);
+ examples_common_process(process_block, process_print);
// send a last note off if required
if (lastmidi) {
// send a last note off if required
if (lastmidi) {
diff --git
a/examples/aubioonset.c
b/examples/aubioonset.c
index
18b9a61
..
ca3496b
100644
(file)
--- a/
examples/aubioonset.c
+++ b/
examples/aubioonset.c
@@
-86,7
+86,7
@@
int main(int argc, char **argv) {
aubio_wavetable_set_freq ( wavetable, 2450.);
//aubio_sampler_load (sampler, "/archives/sounds/woodblock.aiff");
aubio_wavetable_set_freq ( wavetable, 2450.);
//aubio_sampler_load (sampler, "/archives/sounds/woodblock.aiff");
- examples_common_process(
(aubio_process_func_t)
process_block, process_print);
+ examples_common_process(process_block, process_print);
// send a last note off
if (usejack) {
// send a last note off
if (usejack) {
diff --git
a/examples/aubiopitch.c
b/examples/aubiopitch.c
index
2d7a012
..
3a3d37e
100644
(file)
--- a/
examples/aubiopitch.c
+++ b/
examples/aubiopitch.c
@@
-79,7
+79,7
@@
int main(int argc, char **argv) {
wavetable = new_aubio_wavetable (samplerate, hop_size);
aubio_wavetable_play ( wavetable );
wavetable = new_aubio_wavetable (samplerate, hop_size);
aubio_wavetable_play ( wavetable );
- examples_common_process(
(aubio_process_func_t)process_block,
process_print);
+ examples_common_process(
process_block,
process_print);
del_aubio_pitch (o);
del_aubio_wavetable (wavetable);
del_aubio_pitch (o);
del_aubio_wavetable (wavetable);
diff --git
a/examples/aubioquiet.c
b/examples/aubioquiet.c
index
f62e1ed
..
1d7c6d8
100644
(file)
--- a/
examples/aubioquiet.c
+++ b/
examples/aubioquiet.c
@@
-55,7
+55,7
@@
int main(int argc, char **argv) {
verbmsg ("using source: %s at %dHz\n", source_uri, samplerate);
verbmsg ("buffer_size: %d, ", buffer_size);
verbmsg ("hop_size: %d\n", hop_size);
verbmsg ("using source: %s at %dHz\n", source_uri, samplerate);
verbmsg ("buffer_size: %d, ", buffer_size);
verbmsg ("hop_size: %d\n", hop_size);
- examples_common_process(
(aubio_process_func_t)process_block,
process_print);
+ examples_common_process(
process_block,
process_print);
examples_common_del();
return 0;
}
examples_common_del();
return 0;
}
diff --git
a/examples/aubiotrack.c
b/examples/aubiotrack.c
index
d4a1de7
..
32e8b62
100644
(file)
--- a/
examples/aubiotrack.c
+++ b/
examples/aubiotrack.c
@@
-87,7
+87,7
@@
int main(int argc, char **argv) {
aubio_wavetable_set_freq ( wavetable, 2450.);
//aubio_sampler_load (sampler, "/archives/sounds/woodblock.aiff");
aubio_wavetable_set_freq ( wavetable, 2450.);
//aubio_sampler_load (sampler, "/archives/sounds/woodblock.aiff");
- examples_common_process(
(aubio_process_func_t)process_block,
process_print);
+ examples_common_process(
process_block,
process_print);
// send a last note off
if (usejack) {
// send a last note off
if (usejack) {