diff options
| author | 2002-12-24 03:01:11 +0000 | |
|---|---|---|
| committer | 2002-12-24 03:01:11 +0000 | |
| commit | 385413d23e8efab86d391bfa09776bfbdbab30ff (patch) | |
| tree | 84b9025faa6d9103820a286aee87caa04f2c64b6 /src/raw1394_private.h | |
| parent | oops, irq_interval needs to be signed (diff) | |
update iso API for multi-channel reception and new packet buffer layout
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@98 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
| -rw-r--r-- | src/raw1394_private.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/raw1394_private.h b/src/raw1394_private.h index 9c0b345..98e073d 100644 --- a/src/raw1394_private.h +++ b/src/raw1394_private.h @@ -27,8 +27,11 @@ struct raw1394_handle { /* memory mapping of the DMA buffer */ unsigned char *iso_buffer; - unsigned long iso_buffer_bytes; - + + /* iso XMIT only: */ + unsigned int iso_buf_stride; /* offset between successive packets */ + unsigned int next_packet; /* index of next packet to be transmitted */ + /* status buffer, updated from _raw1394_iso_iterate() */ struct raw1394_iso_status iso_status; unsigned int iso_packets_dropped; @@ -36,7 +39,7 @@ struct raw1394_handle { /* user-supplied handlers */ raw1394_iso_xmit_handler_t iso_xmit_handler; raw1394_iso_recv_handler_t iso_recv_handler; - + struct raw1394_request req; quadlet_t buffer[HBUF_SIZE/4]; /* 2048 */ }; |
