summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-08 14:46:53 +0000
committerDavid Robillard <d@drobilla.net>2014-08-08 14:46:53 +0000
commitb40211f7fdbaf9f56dd33b22674c2d3b0b1764c6 (patch)
tree6d0b47616fb78ea7c06fe7caa2e1166f34a08141
parent6773fba30029b5050a099ab0dd91ec15352a9f2b (diff)
downloadraul-b40211f7fdbaf9f56dd33b22674c2d3b0b1764c6.tar.gz
raul-b40211f7fdbaf9f56dd33b22674c2d3b0b1764c6.tar.bz2
raul-b40211f7fdbaf9f56dd33b22674c2d3b0b1764c6.zip
Use Markdown in doc comments for better source readability.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5429 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--raul/SRMWQueue.hpp4
-rw-r--r--raul/SRSWQueue.hpp4
-rw-r--r--raul/Symbol.hpp2
-rw-r--r--raul/TimeStamp.hpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/raul/SRMWQueue.hpp b/raul/SRMWQueue.hpp
index 9562a87..2a36e5b 100644
--- a/raul/SRMWQueue.hpp
+++ b/raul/SRMWQueue.hpp
@@ -75,7 +75,7 @@ private:
unsigned _front; ///< Circular index of element at front of queue (READER ONLY)
std::atomic<int> _back; ///< Circular index 1 past element at back of queue (WRITERS ONLY)
std::atomic<int> _write_space; ///< Remaining free space for new elements (all threads)
- const unsigned _size; ///< Size of @ref _objects (you can store _size-1 objects)
+ const unsigned _size; ///< Size of `_objects` (you can store _size-1 objects)
T* const _objects; ///< Fixed array containing queued elements
std::atomic<bool>* const _valid; ///< Parallel array to _objects, whether loc is written or not
@@ -121,7 +121,7 @@ SRMWQueue<T>::full() const
*
* Write thread(s) only.
*
- * @returns true if @a elem was successfully pushed onto the queue,
+ * @returns true if `elem` was successfully pushed onto the queue,
* false otherwise (queue is full).
*/
template <typename T>
diff --git a/raul/SRSWQueue.hpp b/raul/SRSWQueue.hpp
index b9554a6..36c0f5d 100644
--- a/raul/SRSWQueue.hpp
+++ b/raul/SRSWQueue.hpp
@@ -62,7 +62,7 @@ public:
private:
std::atomic<size_t> _front; ///< Index to front of queue (circular)
std::atomic<size_t> _back; ///< Index to back of queue (one past last element) (circular)
- const size_t _size; ///< Size of @ref _objects (you can store _size-1 objects)
+ const size_t _size; ///< Size of `_objects` (you can store _size-1 objects)
T* const _objects; ///< Fixed array containing queued elements
};
@@ -111,7 +111,7 @@ SRSWQueue<T>::front() const
/** Push an item onto the back of the SRSWQueue - realtime-safe, not thread-safe.
*
- * @returns true if @a elem was successfully pushed onto the queue,
+ * @returns true if `elem` was successfully pushed onto the queue,
* false otherwise (queue is full).
*/
template <typename T>
diff --git a/raul/Symbol.hpp b/raul/Symbol.hpp
index 6f0dd91..551d770 100644
--- a/raul/Symbol.hpp
+++ b/raul/Symbol.hpp
@@ -104,7 +104,7 @@ public:
/** Convert a string to a valid symbol.
*
- * This will make a best effort at turning @a str into a complete, valid
+ * This will make a best effort at turning `str` into a complete, valid
* Symbol, and will always return one.
*/
static inline Symbol symbolify(const std::basic_string<char>& in) {
diff --git a/raul/TimeStamp.hpp b/raul/TimeStamp.hpp
index ea8b04c..f27e761 100644
--- a/raul/TimeStamp.hpp
+++ b/raul/TimeStamp.hpp
@@ -37,8 +37,8 @@ public:
SECONDS
};
- /** @a ppt (parts per tick) is the sample rate for FRAMES,
- * PPQN for BEATS, and ignored for SECONDS.
+ /** `ppt` (parts per tick) is the sample rate for FRAMES, PPQN for BEATS,
+ * and ignored for SECONDS.
*/
inline TimeUnit(Type type, uint32_t ppt) {
assert(type == SECONDS || ppt != 0);