Skip to content

Commit b9fb1db

Browse files
pmprogSiegeLord
authored andcommitted
Fixed some formatting
1 parent 65944b1 commit b9fb1db

File tree

2 files changed

+7
-32
lines changed

2 files changed

+7
-32
lines changed

addons/acodec/acodec.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ bool al_init_acodec_addon(void)
5555
#endif
5656

5757
#ifdef ALLEGRO_CFG_ACODEC_MP3
58-
ret &= al_register_sample_loader(".mp3", _al_load_mp3);
59-
ret &= al_register_audio_stream_loader(".mp3", _al_load_mp3_audio_stream);
60-
ret &= al_register_sample_loader_f(".mp3", _al_load_mp3_f);
61-
ret &= al_register_audio_stream_loader_f(".mp3", _al_load_mp3_audio_stream_f);
58+
ret &= al_register_sample_loader(".mp3", _al_load_mp3);
59+
ret &= al_register_audio_stream_loader(".mp3", _al_load_mp3_audio_stream);
60+
ret &= al_register_sample_loader_f(".mp3", _al_load_mp3_f);
61+
ret &= al_register_audio_stream_loader_f(".mp3", _al_load_mp3_audio_stream_f);
6262
#endif
6363

6464
return ret;

cmake/FindMiniMP3.cmake

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,8 @@
1-
# - Try to find WebP.
1+
# - Try to find MiniMP3 (https://github.com/lieff/minimp3)
22
# Once done, this will define
33
#
4-
# WEBP_FOUND - system has WebP.
5-
# WEBP_INCLUDE_DIRS - the WebP. include directories
6-
# WEBP_LIBRARIES - link these to use WebP.
7-
#
8-
# Copyright (C) 2012 Raphael Kubo da Costa <[email protected]>
9-
# Copyright (C) 2013 Igalia S.L.
10-
#
11-
# Redistribution and use in source and binary forms, with or without
12-
# modification, are permitted provided that the following conditions
13-
# are met:
14-
# 1. Redistributions of source code must retain the above copyright
15-
# notice, this list of conditions and the following disclaimer.
16-
# 2. Redistributions in binary form must reproduce the above copyright
17-
# notice, this list of conditions and the following disclaimer in the
18-
# documentation and/or other materials provided with the distribution.
19-
#
20-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND ITS CONTRIBUTORS ``AS
21-
# IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23-
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ITS
24-
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27-
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28-
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29-
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
30-
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4+
# MINIMP3_FOUND - system has MiniMP3
5+
# MINIMP3_INCLUDE_DIRS - the MiniMP3 include directories
316

327
# Look for the header file.
338
find_path(MINIMP3_INCLUDE_DIRS

0 commit comments

Comments
 (0)