Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248171
b: refs/heads/master
c: 898732d
h: refs/heads/master
i:
  248169: d7a181a
  248167: 3bc33e8
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed May 11, 2011
1 parent 7a55ac2 commit 0e4a428
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 03c29680d49662859d14d64f8673550fa3fb2ed1
refs/heads/master: 898732d1f1c7181fd3e94e7d7a784edb48d09d95
5 changes: 2 additions & 3 deletions trunk/sound/firewire/isight.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
}
}

if (++index >= QUEUE_LENGTH)
index = 0;

err = fw_iso_context_queue(isight->context, &audio_packet,
&isight->buffer.iso_buffer,
isight->buffer.packets[index].offset);
Expand All @@ -211,6 +208,8 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
return;
}

if (++index >= QUEUE_LENGTH)
index = 0;
isight->packet_index = index;
}

Expand Down

0 comments on commit 0e4a428

Please sign in to comment.