Skip to content

Commit 06b8c03

Browse files
committed
Remove a few notes from header file
1 parent e4a2368 commit 06b8c03

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

src/rtmixer.h

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
// actions:
2-
//
3-
// * read from queue
4-
// * read from array
5-
// * write to queue
6-
// * write to array
7-
// * stop action (with and/or without time?)
8-
// * query xrun stats etc.
9-
// timestamp! start, duration (number of samples? unlimited?)
10-
// return values: actual start, actual duration (number of samples?)
11-
// queue usage: store smallest available write/read size
12-
// xruns during the runtime of the current action
13-
//
14-
// if queue is empty/full, stop playback/recording
15-
161
typedef unsigned long frame_t;
172

183
enum actiontype
@@ -22,6 +7,7 @@ enum actiontype
227
RECORD_BUFFER,
238
RECORD_RINGBUFFER,
249
CANCEL,
10+
// TODO: action to query xrun stats etc.?
2511
};
2612

2713
struct action
@@ -39,6 +25,8 @@ struct action
3925
const frame_t total_frames;
4026
frame_t done_frames;
4127
// TODO: something to store the result of the action?
28+
// TODO: number of xruns during the runtime of the current action?
29+
// TODO: queue usage: store smallest available write/read size?
4230
const frame_t channels; // Size of the following array
4331
const frame_t mapping[]; // "flexible array member"
4432
};

0 commit comments

Comments
 (0)