projects
/
framework
/
multimedia
/
gst-plugins-base0.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen 2.0 init
[framework/multimedia/gst-plugins-base0.10.git]
/
gst
/
videotestsrc
/
generate_sine_table.c
diff --git
a/gst/videotestsrc/generate_sine_table.c
b/gst/videotestsrc/generate_sine_table.c
index
432e1a5
..
11d17af
100644
(file)
--- a/
gst/videotestsrc/generate_sine_table.c
+++ b/
gst/videotestsrc/generate_sine_table.c
@@
-1,14
+1,14
@@
#include <stdio.h>
#include <math.h>
-
+#include <glib.h>
static int
get_value (int i)
{
int x;
- x = floor (256 * (0.5 + 0.5 * sin (i * 2 *
M
_PI / 256)));
+ x = floor (256 * (0.5 + 0.5 * sin (i * 2 *
G
_PI / 256)));
if (x > 255)
x = 255;
return x;