Permalink
Browse files

bugfix

  • Loading branch information...
1 parent 18c0cec commit 89b2d00d5238463dc3f4befe5d4a441148cac150 @yaxu yaxu committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 audio.c
View
@@ -293,7 +293,7 @@ extern int audio_play(double when, char *samplename, float offset, float start,
//printf("unmodded %d\n", unmodded);
int modded = unmodded % loop->frames;
//printf("modded %d\n", modded);
- new->start = unmodded;
+ new->start = modded;
new->end = new->start + loop->chunksz;
new->items = loop->items;
new->channels = 1;

0 comments on commit 89b2d00

Please sign in to comment.