summaryrefslogtreecommitdiffstats
path: root/sys/cdrom/gstcdplayer_ioctl_irix.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:55:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:55:58 +0000
commitbdb814f6ef56edca67e1241eb16df22fdd8ab17c (patch)
tree7b43c9dfbf67b852503d263a322064f0101bf591 /sys/cdrom/gstcdplayer_ioctl_irix.h
parent04ad447fcfa1502907339a6a68e975bb6d35536a (diff)
downloadgst-plugins-bad-bdb814f6ef56edca67e1241eb16df22fdd8ab17c.tar.gz
gst-plugins-bad-bdb814f6ef56edca67e1241eb16df22fdd8ab17c.tar.bz2
gst-plugins-bad-bdb814f6ef56edca67e1241eb16df22fdd8ab17c.zip
expand tabs
Original commit message from CVS: expand tabs
Diffstat (limited to 'sys/cdrom/gstcdplayer_ioctl_irix.h')
-rw-r--r--sys/cdrom/gstcdplayer_ioctl_irix.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/sys/cdrom/gstcdplayer_ioctl_irix.h b/sys/cdrom/gstcdplayer_ioctl_irix.h
index 2f6be35c..a6643bab 100644
--- a/sys/cdrom/gstcdplayer_ioctl_irix.h
+++ b/sys/cdrom/gstcdplayer_ioctl_irix.h
@@ -24,55 +24,55 @@
gboolean cd_init(struct cd *cd,const gchar *device)
{
- CDPLAYER *cdplayer;
- CDSTATUS status;
- CDTRACKINFO info;
- guint i;
+ CDPLAYER *cdplayer;
+ CDSTATUS status;
+ CDTRACKINFO info;
+ guint i;
- cdplayer = CDOpen(device,"r");
+ cdplayer = CDOpen(device,"r");
- if (cdplayer == NULL) {
- return FALSE;
- }
+ if (cdplayer == NULL) {
+ return FALSE;
+ }
- cd->fd = FD(cdplayer);
+ cd->fd = FD(cdplayer);
- if (CDgetstatus(cdplayer,&status) == 0) {
- CDclose(cdplayer);
- cd->fd = 0;
- return FALSE;
- }
+ if (CDgetstatus(cdplayer,&status) == 0) {
+ CDclose(cdplayer);
+ cd->fd = 0;
+ return FALSE;
+ }
- for (i = 1; i < status.last; i++) {
- if (CDgettrackinfo(cdplayer,i,&info) == 0) {
- CDclose(cdplayer);
- cd->fd = 0;
- return FALSE;
- }
+ for (i = 1; i < status.last; i++) {
+ if (CDgettrackinfo(cdplayer,i,&info) == 0) {
+ CDclose(cdplayer);
+ cd->fd = 0;
+ return FALSE;
+ }
- cd->tracks[i].minute = info.start_min;
- cd->tracks[i].second = info.start_sec;
- cd->tracks[i].frame = info.start_frame;
+ cd->tracks[i].minute = info.start_min;
+ cd->tracks[i].second = info.start_sec;
+ cd->tracks[i].frame = info.start_frame;
- }
+ }
- /* there is no leadout information */
-
+ /* there is no leadout information */
+
- cd->num_tracks = status.last;
+ cd->num_tracks = status.last;
- return TRUE;
+ return TRUE;
}
gboolean cd_start(struct cd *cd,gint start_track,gint end_track)
{
- if (cd->fd == 0) {
- return FALSE;
- }
+ if (cd->fd == 0) {
+ return FALSE;
+ }
- cd_fix_track_range(cd,&start_track,&end_track);
+ cd_fix_track_range(cd,&start_track,&end_track);
-
+
}