diff options
author | av <av@cvs.openbsd.org> | 2008-06-30 23:35:40 +0000 |
---|---|---|
committer | av <av@cvs.openbsd.org> | 2008-06-30 23:35:40 +0000 |
commit | 18d2e2d2106a01c55babb507cdb2188bee28e6d5 (patch) | |
tree | 4387dc28189e5383baca788410ae6868b5b33fb4 /usr.bin/cdio/rip.c | |
parent | 1ab1e704c992505e56e6c41e808331016b8e1e20 (diff) |
set speed for writing tracks in TAO.
ok and tweaks by fgsch
manual page by jmc
Diffstat (limited to 'usr.bin/cdio/rip.c')
-rw-r--r-- | usr.bin/cdio/rip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/cdio/rip.c b/usr.bin/cdio/rip.c index 47bbbf9b12a..3a93cabfa25 100644 --- a/usr.bin/cdio/rip.c +++ b/usr.bin/cdio/rip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rip.c,v 1.7 2007/08/02 07:31:16 jakemsr Exp $ */ +/* $OpenBSD: rip.c,v 1.8 2008/06/30 23:35:39 av Exp $ */ /* * Copyright (c) 2007 Alexey Vatchenko <av@bsdua.org> @@ -80,9 +80,9 @@ static u_char wavehdr[44] = { 'd', 'a', 't', 'a', 0x0, 0x0, 0x0, 0x0 }; -static int write_sector(int fd, u_char *sec, u_int32_t secsize); +static int write_sector(int, u_char *, u_int32_t); -int read_data_sector(u_int32_t lba, u_char *sec, u_int32_t secsize); +int read_data_sector(u_int32_t, u_char *, u_int32_t); struct track_info { int fd; /* descriptor of output file */ @@ -93,10 +93,10 @@ struct track_info { u_int32_t end_lba; /* starting address of the next track */ }; -int read_track(int fd, struct track_info *ti); +int read_track(int, struct track_info *); -int rip_next_track(struct track_info *info); -int play_next_track(struct track_info *info); +int rip_next_track(struct track_info *); +int play_next_track(struct track_info *); static int rip_tracks_loop(struct track_pair *tp, u_int n_tracks, int (*next_track)(struct track_info *)); |