r3887 - trunk/plugins
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: r3887 - trunk/plugins
- Date: Sat, 16 Sep 2006 09:03:54 -0400 (EDT)
Author: timj
Date: 2006-09-16 09:03:52 -0400 (Sat, 16 Sep 2006)
New Revision: 3887
Modified:
trunk/plugins/ChangeLog
trunk/plugins/bseblockutils.cc
Log:
Sat Sep 16 14:53:00 2006 Tim Janik <timj gtk org>
* bseblockutils.cc: access Resampler2::create_impl() via derivation.
Modified: trunk/plugins/ChangeLog
===================================================================
--- trunk/plugins/ChangeLog 2006-09-16 13:03:27 UTC (rev 3886)
+++ trunk/plugins/ChangeLog 2006-09-16 13:03:52 UTC (rev 3887)
@@ -1,3 +1,7 @@
+Sat Sep 16 14:53:00 2006 Tim Janik <timj gtk org>
+
+ * bseblockutils.cc: access Resampler2::create_impl() via derivation.
+
Sat Sep 16 09:35:26 2006 Stefan Westerfeld <stefan space twc de>
* bseblockutils.cc: Provide resampler factory method, so that an SSE
Modified: trunk/plugins/bseblockutils.cc
===================================================================
--- trunk/plugins/bseblockutils.cc 2006-09-16 13:03:27 UTC (rev 3886)
+++ trunk/plugins/bseblockutils.cc 2006-09-16 13:03:52 UTC (rev 3887)
@@ -323,7 +323,15 @@
create_resampler2 (BseResampler2Mode mode,
BseResampler2Precision precision)
{
- return Bse::Resampler::Resampler2::create_impl<true> (mode, precision);
+ struct SSEResampler2 : public Bse::Resampler::Resampler2 {
+ static inline Resampler2*
+ create_resampler (BseResampler2Mode mode,
+ BseResampler2Precision precision)
+ {
+ return create_impl<true> (mode, precision);
+ }
+ };
+ return SSEResampler2::create_resampler (mode, precision);
}
public:
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]