diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/playback.c b/apps/playback.c index efc23306a0..5c2fc7f8ce 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1560,9 +1560,6 @@ static bool audio_load_cuesheet(struct track_info *info, | |||
1560 | int hid = ERR_UNSUPPORTED_TYPE; | 1560 | int hid = ERR_UNSUPPORTED_TYPE; |
1561 | struct cuesheet_file cue_file; | 1561 | struct cuesheet_file cue_file; |
1562 | 1562 | ||
1563 | #ifdef HAVE_IO_PRIORITY | ||
1564 | buf_back_off_storage(true); | ||
1565 | #endif | ||
1566 | if (look_for_cuesheet_file(track_id3, &cue_file)) | 1563 | if (look_for_cuesheet_file(track_id3, &cue_file)) |
1567 | { | 1564 | { |
1568 | hid = bufalloc(NULL, sizeof (struct cuesheet), TYPE_CUESHEET); | 1565 | hid = bufalloc(NULL, sizeof (struct cuesheet), TYPE_CUESHEET); |
@@ -1586,9 +1583,6 @@ static bool audio_load_cuesheet(struct track_info *info, | |||
1586 | } | 1583 | } |
1587 | } | 1584 | } |
1588 | 1585 | ||
1589 | #ifdef HAVE_IO_PRIORITY | ||
1590 | buf_back_off_storage(false); | ||
1591 | #endif | ||
1592 | if (hid == ERR_BUFFER_FULL) | 1586 | if (hid == ERR_BUFFER_FULL) |
1593 | { | 1587 | { |
1594 | logf("buffer is full for now (%s)", __func__); | 1588 | logf("buffer is full for now (%s)", __func__); |
@@ -1627,10 +1621,6 @@ static bool audio_load_albumart(struct track_info *info, | |||
1627 | memset(&user_data, 0, sizeof(user_data)); | 1621 | memset(&user_data, 0, sizeof(user_data)); |
1628 | user_data.dim = &albumart_slots[i].dim; | 1622 | user_data.dim = &albumart_slots[i].dim; |
1629 | 1623 | ||
1630 | #ifdef HAVE_IO_PRIORITY | ||
1631 | buf_back_off_storage(true); | ||
1632 | #endif | ||
1633 | |||
1634 | /* We can only decode jpeg for embedded AA */ | 1624 | /* We can only decode jpeg for embedded AA */ |
1635 | if (track_id3->has_embedded_albumart && track_id3->albumart.type == AA_TYPE_JPG) | 1625 | if (track_id3->has_embedded_albumart && track_id3->albumart.type == AA_TYPE_JPG) |
1636 | { | 1626 | { |
@@ -1651,9 +1641,6 @@ static bool audio_load_albumart(struct track_info *info, | |||
1651 | } | 1641 | } |
1652 | } | 1642 | } |
1653 | 1643 | ||
1654 | #ifdef HAVE_IO_PRIORITY | ||
1655 | buf_back_off_storage(false); | ||
1656 | #endif | ||
1657 | if (hid == ERR_BUFFER_FULL) | 1644 | if (hid == ERR_BUFFER_FULL) |
1658 | { | 1645 | { |
1659 | logf("buffer is full for now (%s)", __func__); | 1646 | logf("buffer is full for now (%s)", __func__); |