summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Clemens Ladisch 2011-02-25 08:48:22 +0100
committerGravatar Stefan Richter 2011-02-25 18:42:55 +0100
commit728f538340cd926ce0d6d757ccee0c165c9e3722 (patch)
treedcd6e3414216109ae2748d1cce080c9248e0b0a0 /src
parentconfigure.ac, Changelog, NEWS etc.: update to version 2.0.6 (diff)
do not delay iso packet queueing
Libraw1394's attempt to optimize away the packet queueing ioctl syscall overhead was a little bit too successful: when used with FFADO's streaming system, it ended up delaying packets after their intended transmission time. For now, to ensure correctness, don't try to optimize anything. This makes FFADO playback on Juju with my DICE work. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to '')
-rw-r--r--src/fw-iso.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fw-iso.c b/src/fw-iso.c
index 253ce1d..ce1a891 100644
--- a/src/fw-iso.c
+++ b/src/fw-iso.c
@@ -51,10 +51,8 @@ queue_packet(fw_handle_t handle,
if (handle->iso.head + handle->iso.max_packet_size > handle->iso.buffer_end)
handle->iso.head = handle->iso.buffer;
- /* Queue the packets in the kernel if we filled up the packets
- * array or wrapped the payload buffer. */
- if (handle->iso.packet_index == handle->iso.irq_interval ||
- handle->iso.head == handle->iso.buffer) {
+ /* queue each packet individually */
+ if (1) {
queue_iso.packets = ptr_to_u64(handle->iso.packets);
queue_iso.size = handle->iso.packet_index * sizeof handle->iso.packets[0];
queue_iso.data = ptr_to_u64(handle->iso.first_payload);
ight='13' alt='Gravatar' /> dmaas 2-1/+41 2003-02-22Updates for new rawiso ioctl interface.Gravatar bencollins 3-37/+125 2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488