Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Commit

Permalink
aubuf: test if auframes are written sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 authored and sreimers committed Feb 4, 2022
1 parent f8e5556 commit 66a046f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/aubuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int test_aubuf_sort_auframe(void)
err = aubuf_alloc(&ab, 160, 0);
TEST_ERR(err);

/* Write auframes unsorted */
/* Write auframes sorted */
err = aubuf_write_auframe(ab, &af[0]);
TEST_ERR(err);

Expand All @@ -205,9 +205,6 @@ static int test_aubuf_sort_auframe(void)
err = aubuf_write_auframe(ab, &af[1]);
TEST_ERR(err);

/* Sort */
aubuf_sort_auframe(ab);

/* Check */
aubuf_read_auframe(ab, &af_out);
TEST_EQUALS(1, af_out.timestamp);
Expand Down

0 comments on commit 66a046f

Please sign in to comment.