input/CdioParanoia: use the new function names

This commit is contained in:
Max Kellermann 2019-01-21 14:18:55 +01:00
parent 528b4338f4
commit 87635c5268
1 changed files with 3 additions and 3 deletions

View File

@ -209,10 +209,10 @@ input_cdio_open(const char *uri,
throw std::runtime_error("Unable to identify audio CD disc."); throw std::runtime_error("Unable to identify audio CD disc.");
} }
cdda_verbose_set(drv, CDDA_MESSAGE_FORGETIT, CDDA_MESSAGE_FORGETIT); cdio_cddap_verbose_set(drv, CDDA_MESSAGE_FORGETIT, CDDA_MESSAGE_FORGETIT);
if (speed > 0) { if (speed > 0) {
FormatDebug(cdio_domain,"Attempting to set CD speed to %dx",speed); FormatDebug(cdio_domain,"Attempting to set CD speed to %dx",speed);
cdda_speed_set(drv,speed); cdio_cddap_speed_set(drv,speed);
} }
if (0 != cdio_cddap_open(drv)) { if (0 != cdio_cddap_open(drv)) {
@ -300,7 +300,7 @@ CdioParanoiaInputStream::Read(void *ptr, size_t length)
rbuf = cdio_paranoia_read(para, nullptr); rbuf = cdio_paranoia_read(para, nullptr);
char *s_err = cdda_errors(drv); char *s_err = cdio_cddap_errors(drv);
if (s_err) { if (s_err) {
FormatError(cdio_domain, FormatError(cdio_domain,
"paranoia_read: %s", s_err); "paranoia_read: %s", s_err);