~ubuntu-branches/ubuntu/trusty/gnomeradio/trusty

« back to all changes in this revision

Viewing changes to debian/patches/gnomeradio-device.patch

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-09-20 13:31:33 UTC
  • Revision ID: package-import@ubuntu.com-20130920133133-otwactksfjh4bwev
Tags: 1.8-2ubuntu23
* Updated debian/patches/gnomeradio-tray_menu.patch:
  - Fixed menu item not update conform new order when we use move up[down]
    swap. (LP: #1232931)
  - Fixed conditional jump or move depends on uninitialized value.
  - Added function to switch to preset in settings preset list when changed
    them from tray menu.
  - Cleaned up the files relating to the tray icon. Neither gui.c, prefs.c nor
    record.c touch the internals of trayicon.c anymore.
* Updated debian/patches/gnomeradio-preferences.patch:
  - Added option to disable audio loopback mode in Preferences settings.
  - Moved in separate GOptionGroup all command line parameters which refers to
    audio loopback mode.
* Updated debian/patches/gnomeradio-device.patch: Not need radio_mute() when
  exit or session die, already is called in radio_stop().
* Updated debian/patches/gnomeradio-station_list.patch: Fixed pointer targets
  in passing argument differ in signedness.
* Removed the content against configure and Makefile.in, since we use
  autoreconf anyways, from:
  - debian/patches/gnomeradio-gstreamer-1.0.patch.
  - debian/patches/gnomeradio-volume_button.patch.
* Updated debian/patches/gnomeradio-volume_button.patch: Removed unused
  vol_down[up].xpm icons.
* debian/gnomeradio.1: Updated man page.   

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Author: POJAR GEORGE <geoubuntu@gmail.com>
4
4
Index: gnomeradio-1.8/src/v4l2.c
5
5
===================================================================
6
 
--- gnomeradio-1.8.orig/src/v4l2.c      2013-02-21 16:49:23.191850115 +0000
7
 
+++ gnomeradio-1.8/src/v4l2.c   2013-02-21 16:49:23.183850115 +0000
 
6
--- gnomeradio-1.8.orig/src/v4l2.c      2013-09-26 13:26:17.620297000 +0000
 
7
+++ gnomeradio-1.8/src/v4l2.c   2013-09-26 13:26:17.620297000 +0000
8
8
@@ -181,7 +181,7 @@
9
9
 RadioDev*
10
10
 v4l2_radio_dev_new (void)
16
16
        v4l2_dev = malloc (sizeof (V4L2RadioDev));
17
17
Index: gnomeradio-1.8/src/v4l1.c
18
18
===================================================================
19
 
--- gnomeradio-1.8.orig/src/v4l1.c      2013-02-21 16:49:23.191850115 +0000
20
 
+++ gnomeradio-1.8/src/v4l1.c   2013-02-21 16:49:23.183850115 +0000
 
19
--- gnomeradio-1.8.orig/src/v4l1.c      2013-09-26 13:26:17.620297000 +0000
 
20
+++ gnomeradio-1.8/src/v4l1.c   2013-09-26 13:26:17.620297000 +0000
21
21
@@ -160,7 +160,7 @@
22
22
 RadioDev*
23
23
 v4l1_radio_dev_new (void)
29
29
        v4l1_dev = malloc(sizeof(V4L1RadioDev));
30
30
Index: gnomeradio-1.8/src/radio.c
31
31
===================================================================
32
 
--- gnomeradio-1.8.orig/src/radio.c     2013-02-21 16:49:23.191850115 +0000
33
 
+++ gnomeradio-1.8/src/radio.c  2013-02-21 16:49:23.183850115 +0000
 
32
--- gnomeradio-1.8.orig/src/radio.c     2013-09-26 13:26:17.620297000 +0000
 
33
+++ gnomeradio-1.8/src/radio.c  2013-09-26 13:26:33.000000000 +0000
34
34
@@ -35,10 +35,7 @@
35
35
  
36
36
 int radio_init(char *device, DriverType driver)
43
43
 
44
44
        switch (driver) {
45
45
                case DRIVER_ANY:
 
46
Index: gnomeradio-1.8/src/gui.c
 
47
===================================================================
 
48
--- gnomeradio-1.8.orig/src/gui.c       2013-09-26 13:26:33.000000000 +0000
 
49
+++ gnomeradio-1.8/src/gui.c    2013-09-26 13:28:54.610433308 +0000
 
50
@@ -421,10 +421,8 @@
 
51
 void exit_gnome_radio(void)
 
52
 {
 
53
        if (settings.mute_on_exit)
 
54
-       {
 
55
-               radio_mute();
 
56
                radio_stop();
 
57
-       }
 
58
+
 
59
        mixer_close();
 
60
        save_settings();
 
61
        gtk_main_quit();
 
62
@@ -1124,10 +1122,8 @@
 
63
 session_die_cb(void)
 
64
 {
 
65
        if (settings.mute_on_exit)
 
66
-       {
 
67
-               radio_mute();
 
68
                radio_stop();
 
69
-       }
 
70
+
 
71
        mixer_close();
 
72
        gtk_main_quit();
 
73
        exit (0);