summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-04-27 16:19:49 -0700
committerJosh Blum <josh@joshknows.com>2012-04-27 16:19:49 -0700
commit6b2e4ef52debaa0a61cf242b20818d161d79cc85 (patch)
tree42fc6e7deb057c6326acfef39ce4a9f184db566c /host/include
parent86c32704e864e42651a7d1529436acbbe7eeb96e (diff)
downloaduhd-6b2e4ef52debaa0a61cf242b20818d161d79cc85.tar.gz
uhd-6b2e4ef52debaa0a61cf242b20818d161d79cc85.tar.bz2
uhd-6b2e4ef52debaa0a61cf242b20818d161d79cc85.zip
convert: added prio param to get converter
We can now test generic conversion implementations against SIMD (for example)
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/convert.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/host/include/uhd/convert.hpp b/host/include/uhd/convert.hpp
index f906ff0e9..c6b005867 100644
--- a/host/include/uhd/convert.hpp
+++ b/host/include/uhd/convert.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2011 Ettus Research LLC
+// Copyright 2011-2012 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -80,9 +80,13 @@ namespace uhd{ namespace convert{
/*!
* Get a converter factory function.
* \param id identify the conversion
+ * \param prio the desired prio or -1 for best
* \return the converter factory function
*/
- UHD_API function_type get_converter(const id_type &id);
+ UHD_API function_type get_converter(
+ const id_type &id,
+ const priority_type prio = -1
+ );
/*!
* Register the size of a particular item.