Dash:
[t2-trunk.git] / package / network / bluez / hotfix-pause.patch
blob0c9cfc4ca36d927a81f27633ce95e633ba1afd8e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/*/bluez/hotfix-pause.patch
5 # Copyright (C) 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- bluez-5.60/profiles/audio/media.c.vanilla 2021-08-02 15:43:17.943771480 +0200
18 +++ bluez-5.60/profiles/audio/media.c 2021-08-02 15:44:05.512773934 +0200
19 @@ -1281,7 +1281,7 @@
20 return media_player_send(mp, "Stop");
23 -static bool pause(void *user_data)
24 +static bool blu_pause(void *user_data)
26 struct media_player *mp = user_data;
28 @@ -1331,7 +1331,7 @@
29 .set_volume = set_volume,
30 .play = play,
31 .stop = stop,
32 - .pause = pause,
33 + .pause = blu_pause,
34 .next = next,
35 .previous = previous,