paranoia.cpp: write WAV file of up to the first 300 sectors of the first track

*/Makefile.am remove any created WAV files.
README: update paranoia descriptions
parananoia.c: track-01.wav -> track01s.wav
This commit is contained in:
rocky
2009-04-20 07:06:02 -04:00
parent 768c2ff249
commit 2c37ff8db5
6 changed files with 66 additions and 19 deletions

View File

@@ -128,7 +128,7 @@ main(int argc, const char *argv[])
lsn_t i_cursor;
track_t i_track = cdda_sector_gettrack(d, i_first_lsn);
lsn_t i_last_lsn = cdda_track_lastsector(d, i_track);
int fd = creat("track-01.wav", 0644);
int fd = creat("track1s.wav", 0644);
/* For demo purposes we'll read only 300 frames (about 4
seconds). We don't want this to take too long. On the other