mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:26:29 +01:00
EGCS fix...
This commit is contained in:
parent
4db1fd02ce
commit
9b9ccc77e2
1 changed files with 5 additions and 3 deletions
|
@ -752,15 +752,17 @@ static void voc_play(int fd, int ofs, char *name)
|
||||||
#if 0
|
#if 0
|
||||||
d_printf("Repeat loop %d times\n", repeat);
|
d_printf("Repeat loop %d times\n", repeat);
|
||||||
#endif
|
#endif
|
||||||
if (filepos >= 0) /* if < 0, one seek fails, why test another */
|
if (filepos >= 0) { /* if < 0, one seek fails, why test another */
|
||||||
if ((filepos = lseek(fd, 0, 1)) < 0) {
|
if ((filepos = lseek(fd, 0, 1)) < 0) {
|
||||||
fprintf(stderr, "%s: can't play loops; %s isn't seekable\n",
|
fprintf(stderr, "%s: can't play loops; %s isn't seekable\n",
|
||||||
command, name);
|
command, name);
|
||||||
repeat = 0;
|
repeat = 0;
|
||||||
} else
|
} else {
|
||||||
filepos -= in_buffer; /* set filepos after repeat */
|
filepos -= in_buffer; /* set filepos after repeat */
|
||||||
else
|
}
|
||||||
|
} else {
|
||||||
repeat = 0;
|
repeat = 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 7: /* ok, lets repeat that be rewinding tape */
|
case 7: /* ok, lets repeat that be rewinding tape */
|
||||||
if (repeat) {
|
if (repeat) {
|
||||||
|
|
Loading…
Reference in a new issue