Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-chailove
Commits
a024a1e3
Unverified
Commit
a024a1e3
authored
Sep 07, 2018
by
RobLoach
Browse files
Update vendor
parent
f91ff709
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
a024a1e3
...
...
@@ -49,6 +49,7 @@ SOURCES_C += $(wildcard \
# stb_vorbis
SOURCES_C
+=
$(CORE_DIR)
/vendor/stb/stb_vorbis.c
FLAGS
+=
-DHAVE_STB_VORBIS
FLAGS
+=
-I
$(CORE_DIR)
/vendor
# zlib
SOURCES_C
+=
\
...
...
src/love/Types/Audio/SoundData.cpp
View file @
a024a1e3
...
...
@@ -30,12 +30,11 @@ SoundData::SoundData(const std::string& filename) {
}
else
if
(
extension
==
"ogg"
)
{
m_sound
=
audio_mixer_load_ogg
(
buffer
,
size
);
}
else
{
std
::
cout
<<
"[ChaiLove] [SoundData] File "
<<
filename
<<
" extension of "
<<
extension
<<
" is currently not supported."
<<
std
::
endl
;
return
;
std
::
cout
<<
"[ChaiLove] [SoundData] Audio ."
<<
extension
<<
" files are not supported."
<<
std
::
endl
;
}
free
(
buffer
);
if
(
m_sound
==
NULL
)
{
std
::
cout
<<
"[ChaiLove] [SoundData] Failed to load
wav from buffe
r "
<<
filename
<<
std
::
endl
;
std
::
cout
<<
"[ChaiLove] [SoundData] Failed to load
audio fo
r "
<<
filename
<<
std
::
endl
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment