summaryrefslogtreecommitdiff
path: root/src/audiocd.c
diff options
context:
space:
mode:
authorPaul Gevers <elbrus@debian.org>2015-05-14 20:39:27 +0200
committerPaul Gevers <elbrus@debian.org>2015-05-14 20:39:27 +0200
commita2984cfb987d71ecc560511fe95b50e1a0100cd4 (patch)
treecb947501bd898671a4980e1c6053f53b16a5b3fd /src/audiocd.c
parentfafdab6324970abf19ee2a39a5648fbaf71b906b (diff)
Imported Upstream version 10.2.4
Diffstat (limited to 'src/audiocd.c')
-rw-r--r--src/audiocd.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/audiocd.c b/src/audiocd.c
index 62fd066..dd8afd5 100644
--- a/src/audiocd.c
+++ b/src/audiocd.c
@@ -1,5 +1,5 @@
/* audiocd.c - handle Audio-CD's
-
+ *
* Copyright (C)2015 J. Lemmens
*
* This program is free software; you can redistribute it and/or modify it
@@ -57,7 +57,7 @@ void get_cddb_info (misc_t *misc, daisy_t *daisy)
// some titles are spanned over more lines
if (strstr (str, l) == NULL)
continue;
- strncpy (daisy[i].label, strchr (str, '=') + 1, MAX_PHRASE_LEN - 1);
+ strncpy (daisy[i].label, strchr (str, '=') + 1, 80);
if (strchr (daisy[i].label, '\n'))
*strchr (daisy[i].label, '\n') = 0;
if (strchr (daisy[i].label, '\r'))
@@ -129,10 +129,3 @@ void get_toc_audiocd (misc_t *misc, daisy_t *daisy)
if (misc->cddb_flag != 'n')
get_cddb_info (misc, daisy);
} // get_toc_audiocd
-
-void set_drive_speed (misc_t *misc, int drive_speed)
-{
- if (misc->cd_type == CDIO_DISC_MODE_CD_DA || \
- misc->cd_type == CDIO_DISC_MODE_CD_DATA)
- cdio_set_speed (misc->p_cdio, drive_speed);
-} // set_drive_speed