diff options
author | dvdli <dvdli@google.com> | 2021-01-28 11:53:30 +0800 |
---|---|---|
committer | dvdli <dvdli@google.com> | 2021-01-28 14:25:40 +0800 |
commit | c0f924738de2b8f5478e8b454b4ad5521802f3f6 (patch) | |
tree | cc0248f32f5e6c7afee5b098d416c846cf435c04 /examples/pcm-readi.c | |
parent | b618ec79a1fde67594d7361c5fdc07d74a464951 (diff) |
prepare in pcm_generic_transfer
Diffstat (limited to 'examples/pcm-readi.c')
-rw-r--r-- | examples/pcm-readi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/pcm-readi.c b/examples/pcm-readi.c index dc18b63..8722b41 100644 --- a/examples/pcm-readi.c +++ b/examples/pcm-readi.c @@ -29,7 +29,6 @@ static size_t read_frames(void **frames) fprintf(stderr, "failed to open PCM\n"); return 0; } - pcm_prepare(pcm); unsigned int frame_size = pcm_frames_to_bytes(pcm, 1); unsigned int frames_per_sec = pcm_get_rate(pcm); |