Disable power-of-2 alignment of isochronous I/O buffers
This can save some memory. (The library user can always round max packet size himself if it's needed for some reason.) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
parent
82b51be678
commit
662d6534c7
|
@ -491,7 +491,7 @@ iso_init(fw_handle_t handle, int type,
|
|||
handle->iso.xmit_handler = xmit_handler;
|
||||
handle->iso.recv_handler = recv_handler;
|
||||
handle->iso.buf_packets = buf_packets;
|
||||
handle->iso.max_packet_size = round_to_power_of_two(max_packet_size);
|
||||
handle->iso.max_packet_size = max_packet_size;
|
||||
handle->iso.packet_phase = 0;
|
||||
handle->iso.packet_count = 0;
|
||||
handle->iso.packets =
|
||||
|
|
Reference in New Issue