summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2012-02-25 09:51:27 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2012-02-25 09:51:27 +0800
commitbc69c7b110033ff551bc0d48a9a2cc074a86de7e (patch)
tree98fdd580aa8fd2e898563b7731252f332fb6de2f
parent6136155756a4dc517acd1872aabc0d5c489099a5 (diff)
Added a interface to query current row for mods
-rw-r--r--src/audiere.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/audiere.h b/src/audiere.h
index e947501..68ea96d 100644
--- a/src/audiere.h
+++ b/src/audiere.h
@@ -377,6 +377,12 @@ namespace audiere {
ADR_METHOD(bool) setOrder(int order) { return false; }
/**
+ * Returns the row of the source. This is only for formats
+ * supported by dumb.
+ */
+ ADR_METHOD(int) getRow() { return 0; }
+
+ /**
* Returns the volume of specified channel of the source. This is
* only for formats supported by dumb.
*/