check_wav: Ask parent nodes before falling back to defaults.
[paraslash.git] / buffer_tree.c
index 63be36d..4bcc88a 100644 (file)
@@ -1225,3 +1225,8 @@ void btr_get_node_start(struct btr_node *btrn, struct timeval *tv)
 {
        *tv = btrn->start;
 }
+
+struct btr_node *btr_parent(struct btr_node *btrn)
+{
+       return btrn->parent;
+}