Audio: Implement RGSS2 ogg looping
With this we now link to libvorbis/ogg directly. When this is enabled, one can theoretically also build SDL_sound without ogg support, although I doubt it makes much of a difference. Adittionally, count frames instead of samples for playback offset calculation.
This commit is contained in:
parent
226e860c38
commit
04526987e4
3 changed files with 302 additions and 31 deletions
11
mkxp.pro
11
mkxp.pro
|
@ -13,10 +13,19 @@ isEmpty(BINDING) {
|
|||
|
||||
CONFIG += $$BINDING
|
||||
|
||||
RGSS2 {
|
||||
DEFINES += RGSS2
|
||||
}
|
||||
|
||||
unix {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += QtCore sigc++-2.0 glew pixman-1 zlib \
|
||||
physfs sdl2 SDL2_image SDL2_ttf SDL_sound openal
|
||||
physfs sdl2 SDL2_image SDL2_ttf SDL_sound \
|
||||
openal
|
||||
|
||||
RGSS2 {
|
||||
PKGCONFIG += vorbisfile
|
||||
}
|
||||
}
|
||||
|
||||
# 'slots' keyword fucks with libsigc++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue