diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 11:53:49 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 11:53:49 +0200 |
commit | 4f91458615f9d2e578b0c44c4705f2544140be22 (patch) | |
tree | aaed02ff1e9a7f0c7c99b1ef7893e6552bc414d8 /src | |
parent | e2ea61d2c1985fc5e3bbbb4869211f6791130b46 (diff) |
New aiorecord/aioplay stub programs.
Diffstat (limited to 'src')
-rw-r--r-- | src/aiorecord.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aiorecord.cc b/src/aiorecord.cc index acab7fe..909f4ce 100644 --- a/src/aiorecord.cc +++ b/src/aiorecord.cc @@ -237,7 +237,7 @@ int main(int argc, char *argv[]) while(running && !feof(fp)) { char pcm[1024]; - size_t size = fread(pcm, size, 1, fp); + size_t size = fread(pcm, 1, size, fp); int err = sink->writeSamples(pcm, size); if(err < 0) { printf("PCM write error: %d\n", size); |