[beast/devel: 67/77] PLUGINS: get rid of Birnet uses
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 67/77] PLUGINS: get rid of Birnet uses
- Date: Wed, 1 May 2013 17:32:57 +0000 (UTC)
commit 7569106722c90218d6baaa784d915d2f280c57f1
Author: Tim Janik <timj gnu org>
Date: Sun Apr 14 19:52:22 2013 +0200
PLUGINS: get rid of Birnet uses
plugins/bsequantizer.cc | 6 ++++--
plugins/davorgan.cc | 6 +++---
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/plugins/bsequantizer.cc b/plugins/bsequantizer.cc
index 427af9d..3db5f5b 100644
--- a/plugins/bsequantizer.cc
+++ b/plugins/bsequantizer.cc
@@ -2,8 +2,10 @@
#include "bsequantizer.genidl.hh"
#include <bse/bseengine.hh>
#include <bse/bsemathsignal.hh>
-namespace Bse { namespace Standard {
-using namespace Birnet;
+
+namespace Bse {
+namespace Standard {
+
class Quantizer : public QuantizerBase {
class Module: public SynthesisModule {
/* params */
diff --git a/plugins/davorgan.cc b/plugins/davorgan.cc
index 7c7234e..3216704 100644
--- a/plugins/davorgan.cc
+++ b/plugins/davorgan.cc
@@ -3,10 +3,10 @@
#include <bse/bsemathsignal.hh>
#include <bse/bsemain.hh>
#include <vector>
+
namespace Bse {
namespace Dav {
-using namespace Birnet; // FIXME: move to Bse namespace
-using Birnet::uint32; // FIXME: move to Bse header
+
class Organ : public OrganBase {
/* per mix_freq() tables */
class Tables
@@ -60,7 +60,7 @@ class Organ : public OrganBase {
void
unref()
{
- return_if_fail (m_ref_count > 0);
+ return_unless (m_ref_count > 0);
Bse::ScopedLock<Rapicorn::Mutex> locker (table_mutex);
if (--m_ref_count == 0)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]