diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/gnomoradio/files/patch-roboradio-audio_prober.cc | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/gnomoradio/files/patch-roboradio-audio_prober.cc')
-rw-r--r-- | audio/gnomoradio/files/patch-roboradio-audio_prober.cc | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/audio/gnomoradio/files/patch-roboradio-audio_prober.cc b/audio/gnomoradio/files/patch-roboradio-audio_prober.cc deleted file mode 100644 index d03d1e8c686b..000000000000 --- a/audio/gnomoradio/files/patch-roboradio-audio_prober.cc +++ /dev/null @@ -1,58 +0,0 @@ ---- roboradio/audio/prober.cc.orig 2007-12-06 15:39:58.000000000 +0100 -+++ roboradio/audio/prober.cc 2007-12-06 15:40:19.000000000 +0100 -@@ -21,6 +21,30 @@ - #include "../mp3/esd-audio.h" - } - -+namespace Roboradio -+{ -+ namespace Audio -+ { -+ gboolean probe (gpointer s) -+ { -+ Prober *sng = static_cast<Prober*>(s); -+ if (esdout_playing()) { -+ int pos = sng->get_position(); -+ if (pos >= 0) -+ sng->signal_position_changed(pos); -+ return true; -+ } else if (sng->get_position() >= 0) { -+ return true; -+ } else { -+ sng->stop(); -+ sng->signal_done(); -+ sng->activated = false; -+ return false; -+ } -+ } -+ } -+} -+ - Roboradio::Audio::Prober::Prober () - : activated(false) - { -@@ -31,24 +55,6 @@ - stop_prober(); - } - --gboolean Roboradio::Audio::probe (gpointer s) --{ -- Prober *sng = static_cast<Prober*>(s); -- if (esdout_playing()) { -- int pos = sng->get_position(); -- if (pos >= 0) -- sng->signal_position_changed(pos); -- return true; -- } else if (sng->get_position() >= 0) { -- return true; -- } else { -- sng->stop(); -- sng->signal_done(); -- sng->activated = false; -- return false; -- } --} -- - void Roboradio::Audio::Prober::start_prober () - { - if (activated) |