projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more updates
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
widget_sound.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/widget_sound.cpp
b/synfig-studio/trunk/src/gtkmm/widget_sound.cpp
index
c19780d
..
ab50e8f
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/widget_sound.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/widget_sound.cpp
@@
-1,4
+1,4
@@
-/* === S
I N F G ==
========================================================= */
+/* === S
Y N F I G
========================================================= */
/*! \file widget_sound.cpp
** \brief Widget Sound Implementation File
**
/*! \file widget_sound.cpp
** \brief Widget Sound Implementation File
**
@@
-30,7
+30,7
@@
#include <gtkmm/adjustment.h>
#include <gtkmm/adjustment.h>
-#include <s
inf
g/general.h>
+#include <s
ynfi
g/general.h>
#include <ETL/clock>
#include "widget_sound.h"
#include <ETL/clock>
#include "widget_sound.h"
@@
-42,7
+42,7
@@
using namespace std;
using namespace etl;
using namespace std;
using namespace etl;
-//using namespace s
inf
g;
+//using namespace s
ynfi
g;
using studio::AudioProfile;
using studio::AudioProfile;
@@
-66,7
+66,7
@@
studio::Widget_Sound::~Widget_Sound()
void studio::Widget_Sound::set_position(double t)
{
void studio::Widget_Sound::set_position(double t)
{
- //s
inf
g::info("Setting position to %.2lf s", t);
+ //s
ynfi
g::info("Setting position to %.2lf s", t);
if(adj_timescale && t != adj_timescale->get_value())
{
float upper = adj_timescale->get_upper();
if(adj_timescale && t != adj_timescale->get_value())
{
float upper = adj_timescale->get_upper();
@@
-166,7
+166,7
@@
bool studio::Widget_Sound::on_expose_event(GdkEventExpose *heh)
//redraw all the samples from begin to end, but only if we have samples to draw (or there is no space to draw)
//redraw all the samples from begin to end, but only if we have samples to draw (or there is no space to draw)
- //s
inf
g::warning("Ok rendered everything, now must render actual sound wave");
+ //s
ynfi
g::warning("Ok rendered everything, now must render actual sound wave");
if(!audioprof || !adj_timescale || !w)
{
get_window()->end_paint();
if(!audioprof || !adj_timescale || !w)
{
get_window()->end_paint();
@@
-210,7
+210,7
@@
bool studio::Widget_Sound::on_expose_event(GdkEventExpose *heh)
delta = (end - begin)/(float)w; //samples per pixel
delta = (end - begin)/(float)w; //samples per pixel
- /*s
inf
g::warning("Rendering a framesize of %f secs from [%d,%d) samples to %d samples, took %f sec",
+ /*s
ynfi
g::warning("Rendering a framesize of %f secs from [%d,%d) samples to %d samples, took %f sec",
framesize, begin, end, w, check());*/
cur = begin;
framesize, begin, end, w, check());*/
cur = begin;
@@
-237,7
+237,7
@@
bool studio::Widget_Sound::on_expose_event(GdkEventExpose *heh)
}
}
}
}
- //s
inf
g::warning("Drawing audio line");
+ //s
ynfi
g::warning("Drawing audio line");
c.set_rgb_p(1,0,0);
gc->set_rgb_fg_color(c);
get_window()->draw_line(gc,posi,0,posi,get_height());
c.set_rgb_p(1,0,0);
gc->set_rgb_fg_color(c);
get_window()->draw_line(gc,posi,0,posi,get_height());