mirror of
https://github.com/dyne/FreeJ.git
synced 2026-06-16 12:59:33 +02:00
some cleanup and test
audio works! can hear the sound of videos on jack just sometimes the audio jumps a little, must check that buffers are tight
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
|
||||
audio = new AudioJack("freej", 1024, 48000);
|
||||
audio = new AudioJack("freej", 1024, 44100);
|
||||
|
||||
animation_file = "/home/rgareus/Desktop/TELESCOPERA_MPEG2.mpg";
|
||||
animation_file = "/home/jaromil/Movies/TheRevolutionWillNotBeTelevisedGilScottHeron.mp4";
|
||||
|
||||
anim = new MovieLayer(animation_file);
|
||||
anim.set_fps(25);
|
||||
|
||||
anim.activate(true);
|
||||
|
||||
add_layer(anim);
|
||||
|
||||
audio.set_layer(anim);
|
||||
|
||||
anim.activate(true);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user