diff options
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r-- | apps/plugins/splitedit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index c3562f0953..d44e2d1f51 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c | |||
@@ -245,7 +245,7 @@ static void update_timebar(struct mp3entry *mp3) | |||
245 | * Marks the entire area of the osci buffer invalid. | 245 | * Marks the entire area of the osci buffer invalid. |
246 | * It will be drawn with new values in the next loop. | 246 | * It will be drawn with new values in the next loop. |
247 | */ | 247 | */ |
248 | void splitedit_invalidate_osci(void) | 248 | static void splitedit_invalidate_osci(void) |
249 | { | 249 | { |
250 | osci_valid = false; | 250 | osci_valid = false; |
251 | validation_start = ~(unsigned int)0; | 251 | validation_start = ~(unsigned int)0; |
@@ -254,7 +254,7 @@ void splitedit_invalidate_osci(void) | |||
254 | /** | 254 | /** |
255 | * Returns the loop mode. See the LOOP_MODE_XXX constants above. | 255 | * Returns the loop mode. See the LOOP_MODE_XXX constants above. |
256 | */ | 256 | */ |
257 | int splitedit_get_loop_mode(void) | 257 | static int splitedit_get_loop_mode(void) |
258 | { | 258 | { |
259 | return loop_mode; | 259 | return loop_mode; |
260 | } | 260 | } |
@@ -300,7 +300,7 @@ static void update_icons(void) | |||
300 | /** | 300 | /** |
301 | * Sets the loop mode. See the LOOP_MODE_XXX constants above. | 301 | * Sets the loop mode. See the LOOP_MODE_XXX constants above. |
302 | */ | 302 | */ |
303 | void splitedit_set_loop_mode(int mode) | 303 | static void splitedit_set_loop_mode(int mode) |
304 | { | 304 | { |
305 | int old_loop_mode = loop_mode; | 305 | int old_loop_mode = loop_mode; |
306 | /* range restriction */ | 306 | /* range restriction */ |
@@ -386,7 +386,7 @@ static void set_range_by_time( | |||
386 | /** | 386 | /** |
387 | * Set the split point in screen coordinates | 387 | * Set the split point in screen coordinates |
388 | */ | 388 | */ |
389 | void splitedit_set_split_x(int newx) | 389 | static void splitedit_set_split_x(int newx) |
390 | { | 390 | { |
391 | int minx = split_x - 2 > 0 ? split_x - 2: 0; | 391 | int minx = split_x - 2 > 0 ? split_x - 2: 0; |
392 | 392 | ||
@@ -424,7 +424,7 @@ void splitedit_set_split_x(int newx) | |||
424 | /** | 424 | /** |
425 | * returns the split point in screen coordinates | 425 | * returns the split point in screen coordinates |
426 | */ | 426 | */ |
427 | int splitedit_get_split_x(void) | 427 | static int splitedit_get_split_x(void) |
428 | { | 428 | { |
429 | return split_x; | 429 | return split_x; |
430 | } | 430 | } |
@@ -502,7 +502,7 @@ static void scroll(struct mp3entry *mp3) | |||
502 | /** | 502 | /** |
503 | * Zooms in by 3/4 | 503 | * Zooms in by 3/4 |
504 | */ | 504 | */ |
505 | void splitedit_zoom_in(struct mp3entry *mp3) | 505 | static void splitedit_zoom_in(struct mp3entry *mp3) |
506 | { | 506 | { |
507 | rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); | 507 | rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); |
508 | rb->lcd_fillrect(OSCI_X, OSCI_Y, OSCI_WIDTH, OSCI_HEIGHT); | 508 | rb->lcd_fillrect(OSCI_X, OSCI_Y, OSCI_WIDTH, OSCI_HEIGHT); |
@@ -516,7 +516,7 @@ void splitedit_zoom_in(struct mp3entry *mp3) | |||
516 | /** | 516 | /** |
517 | * Zooms out by 4/3 | 517 | * Zooms out by 4/3 |
518 | */ | 518 | */ |
519 | void splitedit_zoom_out(struct mp3entry *mp3) | 519 | static void splitedit_zoom_out(struct mp3entry *mp3) |
520 | { | 520 | { |
521 | rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); | 521 | rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); |
522 | rb->lcd_fillrect(OSCI_X, OSCI_Y, LCD_WIDTH, OSCI_HEIGHT); | 522 | rb->lcd_fillrect(OSCI_X, OSCI_Y, LCD_WIDTH, OSCI_HEIGHT); |
@@ -915,9 +915,9 @@ static void save_editor(struct mp3entry *mp3, int splittime) | |||
915 | /** | 915 | /** |
916 | * The main loop of the editor | 916 | * The main loop of the editor |
917 | */ | 917 | */ |
918 | unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | 918 | static unsigned long splitedit_editor(struct mp3entry * mp3_to_split, |
919 | unsigned int split_time, | 919 | unsigned int split_time, |
920 | unsigned int range) | 920 | unsigned int range) |
921 | { | 921 | { |
922 | int button = BUTTON_NONE; | 922 | int button = BUTTON_NONE; |
923 | int lastbutton = BUTTON_NONE; | 923 | int lastbutton = BUTTON_NONE; |