]> git.sesse.net Git - cubemap/blobdiff - stream.h
Compile with large file support, especially since pwritev() on 32-bit x86 seems to...
[cubemap] / stream.h
index 2cdba11ad46b48a1d07801dccd7821efa11568ce..5e694aac17966ebb8f030a7a57f37af57e9995d6 100644 (file)
--- a/stream.h
+++ b/stream.h
@@ -84,6 +84,9 @@ struct Stream {
        // What pool to fetch marks from, or NULL.
        MarkPool *mark_pool;
 
+       // Maximum pacing rate for the stream.
+       uint32_t pacing_rate;
+
        // Queued data, if any. Protected by <queued_data_mutex>.
        // The data pointers in the iovec are owned by us.
        std::vector<iovec> queued_data;