projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
piano
/
piano.C
diff --git
a/cinelerra-5.1/plugins/piano/piano.C
b/cinelerra-5.1/plugins/piano/piano.C
index 92090d3245d4f3402e6a53d1e8fbae0704398197..d996be05275dbda93a22aa6b98515c3bf12e1fd8 100644
(file)
--- a/
cinelerra-5.1/plugins/piano/piano.C
+++ b/
cinelerra-5.1/plugins/piano/piano.C
@@
-76,7
+76,7
@@
void Piano::read_data(KeyFrame *keyframe)
{
FileXML input;
// cause htal file to read directly from text
{
FileXML input;
// cause htal file to read directly from text
- input.set_shared_input(keyframe->
get_data(), strlen(keyframe->get_data())
);
+ input.set_shared_input(keyframe->
xbuf
);
//printf("Piano::read_data %s\n", keyframe->get_data());
int result = 0, current_osc = 0, total_oscillators = 0;
//printf("Piano::read_data %s\n", keyframe->get_data());
int result = 0, current_osc = 0, total_oscillators = 0;
@@
-113,7
+113,7
@@
void Piano::save_data(KeyFrame *keyframe)
{
FileXML output;
// cause htal file to store data directly in text
{
FileXML output;
// cause htal file to store data directly in text
- output.set_shared_output(keyframe->
get_data(), MESSAGESIZE
);
+ output.set_shared_output(keyframe->
xbuf
);
output.tag.set_title("SYNTH");
output.tag.set_property("WETNESS", config.wetness);
output.tag.set_title("SYNTH");
output.tag.set_property("WETNESS", config.wetness);