mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed initial write
This commit is contained in:
parent
0a2bf64685
commit
183da83f8e
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ int main(int argc, char *argv[])
|
||||||
fprintf(stderr, "silence error\n");
|
fprintf(stderr, "silence error\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (writebuf(phandle, buffer, latency*channels, &frames_out) < 0) {
|
if (writebuf(phandle, buffer, latency, &frames_out) < 0) {
|
||||||
fprintf(stderr, "write error\n");
|
fprintf(stderr, "write error\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue