Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Galactice
SRB2
Compare revisions
next to loopedsounds
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
Galactice/SRB2
Select target project
No results found
loopedsounds
Select Git revision
Branches
21-installer-nodd
2210-pre1
2210-pre2
2210-rc1
2210-rc2
2210-rc3
2211-pre1
2211-pre2
2211-rc1
2212-pre1
2212-pre2
2212-pre3
2212-rc1
2213
2_2_12
64-gl-log
COM_ImmedExecute-lua
DJGPP
SRB2-Stuff
SRB2_Discord
Sugoi-2
accel-momentum
any-resolution
appveyor
blend-locking
blentran
blua-unary-not-fix
boost-tickrate
bustablemobjzfix
bustablesoundz
cleanup-opengl
cleanupmusic
cmake-valgrind
crawlacommander-sprites
cutscene-cleanup
dd-music-bypass
dd-music-fix
delfile2
deprecate-lua-dedicated-server
dpl-2
dropshadows-spawning
dynabsp
emblem-drawing
exchndl-xp-fix
few-kart-lua-changes
ffloorclip
fix-cvar-conflicts
fix-opengl-shear-roll
flipfuncpointers
fof-lightlist-fixes
font-FUCK
font_drawer
frictionrefactor
fruits-clipper
fuck-macros-1
gamepad-luakeydown
gamepad-morefixes
gamepad_experiments
gametype-refactor
ghost-networking
gif-splitting
gitlab-ci
grr-lj
hitboxviewer
hwr-texture-cache-refactor
hwrender2
improve-439
improve-download-refuse-message
increase-packet-tics
input-display
input-display-translucency
io
joystick-juggling-maz
keycodes-only
kill-hud-feetoffset
ksf-wadfiles
ld413-mp-fix
levelstruct
libpng-version-support
linedef-actions
lj-test
lol-states
loopedsounds
lower-unpegged-fix
lua-change-gametype
lua-colorlib
lua-command-netids
lua-extracolormap
lua-local
lua-minmax-plus-bruh-moments
makefile-auto-mingw-gcc
makefile-tinkering
map-components-signedness-fixes
maretimers
master
menu-edits
mobj-dispoffset
more-cleanup
multithread
musicdef-lua
Tags
SRB2_release_2.1
SRB2_release_2.1.1
SRB2_release_2.1.10
SRB2_release_2.1.11
SRB2_release_2.1.12
SRB2_release_2.1.14
SRB2_release_2.1.15
SRB2_release_2.1.16
SRB2_release_2.1.16a
SRB2_release_2.1.17
SRB2_release_2.1.18
SRB2_release_2.1.19
SRB2_release_2.1.2
SRB2_release_2.1.20
SRB2_release_2.1.21
SRB2_release_2.1.22
SRB2_release_2.1.23
SRB2_release_2.1.24
SRB2_release_2.1.25
SRB2_release_2.1.3
SRB2_release_2.1.4
SRB2_release_2.1.5
SRB2_release_2.1.6
SRB2_release_2.1.7
SRB2_release_2.1.8
SRB2_release_2.1.9
SRB2_release_2.2.0
SRB2_release_2.2.1
SRB2_release_2.2.10
SRB2_release_2.2.11
SRB2_release_2.2.12
SRB2_release_2.2.13
SRB2_release_2.2.2
SRB2_release_2.2.3
SRB2_release_2.2.4
SRB2_release_2.2.5
SRB2_release_2.2.6
SRB2_release_2.2.7
SRB2_release_2.2.8
SRB2_release_2.2.9
td-release-v1.0.0
141 results
Swap
Target
STJr/SRB2
Select target project
STJr/SRB2
Sryder/SRB2
wolfy852/SRB2
Alpha2244/SRB2
Inuyasha/SRB2
yoshibot/SRB2
TehRealSalt/SRB2
PrisimaTF/SRB2
Hatninja/SRB2
SteelT/SRB2
james/SRB2
ShaderWraith/SRB2
SinnamonLat/SRB2
mazmazz_/SRB2
filpAM/SRB2
chaoloveicemdboy/SRB2
Whooa21/SRB2
Machturne/SRB2
Golden/SRB2
Tatsuru/SRB2
Snu/SRB2
Zwip-Zwap_Zapony/SRB2
fickleheart/SRB2
alphaRexJames/SRB2
JJK/SRB2
diskpoppy/SRB2
Hannu_Hanhi/SRB2
ZipperQR/SRB2
kays/SRB2
spherallic/SRB2
Zippy_Zolton/SRB2
namiishere/SRB2
Ors/SRB2
SMS_Alfredo/SRB2
sonic_edge/SRB2
lavla/SRB2
ashi/SRB2
X.organic/SRB2
Fafabis/SRB2
Meziu/SRB2
v-rob/SRB2
tertu/SRB2
bitten2up/SRB2
flarn2006/SRB2
Krabs/SRB2
clairebun/SRB2
Lactozilla/SRB2
thehackstack/SRB2
Spice/SRB2
win8linux/SRB2
JohnFrostFox/SRB2
talktoneon726/SRB2
Wane/SRB2
Lamibe/SRB2
spectrumuk2/srb-2
nerdyminer18/srb-2
256nil/SRB2
ARJr/SRB2
Alam/SRB2
Zenya/srb-2-marathon-demos
Acelite/srb-2-archivedmodifications
MIDIMan/SRB2
Lach/SRB2
Frostiikin/bounce-tweaks
Jaden/SRB2
Tyron/SRB2
Astronight/SRB2
Mari0shi06/SRB2
aiire/SRB2
Galactice/SRB2
srb2-ports/srb2-dreamcast
sdasdas/SRB2
chreas/srb-2-vr
StarManiaKG/the-story-of-sinically-rocketing-and-botching-the-2nd
LoganAir/SRB2
NepDisk/srb-2
alufolie91/SRB2
Felicia.iso/SRB2
twi/SRB2
BarrelsOFun/SRB2
Speed2411/SRB2
Leather_Realms/SRB2
Ayemar/SRB2
Acelite/SRB2
VladDoc/SRB2
kaldrum/model-features
strawberryfox417/SRB2
Lugent/SRB2
Rem/SRB2
Refrag/SRB2
Henry_3230/srb-3230
TehPuertoRicanSpartan2/tprs-srb2
Leminn/srb-2-marathon-stuff
chromaticpipe2/SRB2
MiguelGustavo15/SRB2
Maru/srb-2-tests
SilicDev/SRB2
UnmatchedBracket/SRB2
HybridDog/SRB2
xordspar0/SRB2
jsjhbewfhh/SRB2
Fancy2209/SRB2
Lorsoen/SRB2
shindoukin/SRB2
GamerOfDays/SRB2
Craftyawesome/SRB2
tenshi-tensai-tennoji/SRB2
Scarfdudebalder/SRB2
luigi-budd/srb-2-fix-interplag-lockon
mskluesner/SRB2
johnpetersa19/SRB2
Pheazant/SRB2
chromaticpipe2/srb2classic
romoney5/SRB2
PAS/SRB2Classic
BlueStaggo/SRB2
Jisk/srb-2-beef-jerky
117 results
next
Select Git revision
Branches
1392-2-2-15-attempting-to-draw-a-hud-graphic-with-the-same-lump-name-as-a-lua-script-crashes-the
21-installer-nodd
2210-pre1
2210-pre2
2210-rc1
2210-rc2
2210-rc3
2211-pre1
2211-pre2
2211-rc1
2212-pre1
2212-pre2
2212-pre3
2212-rc1
2213
2214-pre1
2214-pre2
2214-pre3
2214-pre4
2_2_12
64-gl-log
COM_ImmedExecute-lua
DJGPP
accel-momentum
acs
action-args
alpha-fixes
any-resolution
appveyor
blend-locking
blentran
blua-unary-not-fix
boost-tickrate
bustablesoundz
cleanup-opengl
cleanupmusic
clipmidtex
cmake-valgrind
crawlacommander-sprites
custom-map-names
custom-teams
cutscene-cleanup
dd-music-bypass
dd-music-fix
delfile2
deprecate-lua-dedicated-server
dpl-2
dropshadows-spawning
dynabsp
emblem-drawing
exchndl-xp-fix
extra-textures
few-kart-lua-changes
ffloorclip
fix-167
fix-cvar-conflicts
fix-opengl-parameter-crash
fix-opengl-shear-roll
flipfuncpointers
fof-lightlist-fixes
font-FUCK
frictionrefactor
fuck-macros-1
gamepad-luakeydown
gamepad-morefixes
gamepad_experiments
gametype-refactor
gametype-refactor-1
gametype-refactor-player-spawns
ghost-networking
gif-splitting
grr-lj
hitboxviewer
hwr-texture-cache-refactor
hwrender2
improve-439
increase-maxconditionsets
increase-packet-tics
input-display
input-display-translucency
io
joystick-juggling-maz
just-in-case
keycodes-only
ksf-wadfiles
ld413-mp-fix
levelstruct
libpng-version-support
linedef-actions
lj-test
lol-states
loopedsounds
lower-unpegged-fix
lua-change-gametype
lua-command-netids
lua-gfx-2
lua-gfx-sprites
lua-local
makefile-auto-mingw-gcc
makefile-tinkering
Tags
SRB2_release_2.1
SRB2_release_2.1.1
SRB2_release_2.1.10
SRB2_release_2.1.11
SRB2_release_2.1.12
SRB2_release_2.1.14
SRB2_release_2.1.15
SRB2_release_2.1.16
SRB2_release_2.1.16a
SRB2_release_2.1.17
SRB2_release_2.1.18
SRB2_release_2.1.19
SRB2_release_2.1.2
SRB2_release_2.1.20
SRB2_release_2.1.21
SRB2_release_2.1.22
SRB2_release_2.1.23
SRB2_release_2.1.24
SRB2_release_2.1.25
SRB2_release_2.1.3
SRB2_release_2.1.4
SRB2_release_2.1.5
SRB2_release_2.1.6
SRB2_release_2.1.7
SRB2_release_2.1.8
SRB2_release_2.1.9
SRB2_release_2.2.0
SRB2_release_2.2.1
SRB2_release_2.2.10
SRB2_release_2.2.11
SRB2_release_2.2.12
SRB2_release_2.2.13
SRB2_release_2.2.15
SRB2_release_2.2.2
SRB2_release_2.2.3
SRB2_release_2.2.4
SRB2_release_2.2.5
SRB2_release_2.2.6
SRB2_release_2.2.7
SRB2_release_2.2.8
SRB2_release_2.2.9
td-release-v1.0.0
142 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
Support playing looped sounds
· 31d0d1c4
SteelT
authored
3 years ago
31d0d1c4
Merge branch 'next' into loopedsounds
· a5cad1d3
SteelT
authored
3 years ago
a5cad1d3
mname not mnaame
· e3bc03b5
SteelT
authored
3 years ago
e3bc03b5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
src/i_sound.h
+2
-1
2 additions, 1 deletion
src/i_sound.h
src/lua_baselib.c
+9
-2
9 additions, 2 deletions
src/lua_baselib.c
src/s_sound.c
+5
-5
5 additions, 5 deletions
src/s_sound.c
src/s_sound.h
+7
-4
7 additions, 4 deletions
src/s_sound.h
src/sdl/mixer_sound.c
+2
-2
2 additions, 2 deletions
src/sdl/mixer_sound.c
with
25 additions
and
14 deletions
src/i_sound.h
View file @
e3bc03b5
...
@@ -75,10 +75,11 @@ void I_ShutdownSound(void);
...
@@ -75,10 +75,11 @@ void I_ShutdownSound(void);
\param sep left-right balancle
\param sep left-right balancle
\param pitch not used
\param pitch not used
\param priority not used
\param priority not used
\parm loops number of loops to play
\return sfx handle
\return sfx handle
*/
*/
INT32
I_StartSound
(
sfxenum_t
id
,
UINT8
vol
,
UINT8
sep
,
UINT8
pitch
,
UINT8
priority
,
INT32
channel
);
INT32
I_StartSound
(
sfxenum_t
id
,
UINT8
vol
,
UINT8
sep
,
UINT8
pitch
,
UINT8
priority
,
INT32
channel
,
INT16
loops
);
/** \brief Stops a sound channel.
/** \brief Stops a sound channel.
...
...
This diff is collapsed.
Click to expand it.
src/lua_baselib.c
View file @
e3bc03b5
...
@@ -2822,6 +2822,7 @@ static int lib_sStartSound(lua_State *L)
...
@@ -2822,6 +2822,7 @@ static int lib_sStartSound(lua_State *L)
void
*
origin
=
NULL
;
void
*
origin
=
NULL
;
sfxenum_t
sound_id
=
luaL_checkinteger
(
L
,
2
);
sfxenum_t
sound_id
=
luaL_checkinteger
(
L
,
2
);
player_t
*
player
=
NULL
;
player_t
*
player
=
NULL
;
INT16
loops
;
//NOHUD
//NOHUD
if
(
sound_id
>=
NUMSFX
)
if
(
sound_id
>=
NUMSFX
)
...
@@ -2833,6 +2834,9 @@ static int lib_sStartSound(lua_State *L)
...
@@ -2833,6 +2834,9 @@ static int lib_sStartSound(lua_State *L)
if
(
!
player
)
if
(
!
player
)
return
LUA_ErrInvalid
(
L
,
"player_t"
);
return
LUA_ErrInvalid
(
L
,
"player_t"
);
}
}
loops
=
(
INT16
)
luaL_optinteger
(
L
,
4
,
0
);
if
(
!
lua_isnil
(
L
,
1
))
if
(
!
lua_isnil
(
L
,
1
))
if
(
!
GetValidSoundOrigin
(
L
,
&
origin
))
if
(
!
GetValidSoundOrigin
(
L
,
&
origin
))
return
0
;
return
0
;
...
@@ -2841,7 +2845,7 @@ static int lib_sStartSound(lua_State *L)
...
@@ -2841,7 +2845,7 @@ static int lib_sStartSound(lua_State *L)
if
(
hud_running
||
hook_cmd_running
)
if
(
hud_running
||
hook_cmd_running
)
origin
=
NULL
;
// HUD rendering and CMD building startsound shouldn't have an origin, just remove it instead of having a retarded error.
origin
=
NULL
;
// HUD rendering and CMD building startsound shouldn't have an origin, just remove it instead of having a retarded error.
S_StartSound
(
origin
,
sound_id
);
S_StartSound
Ex
(
origin
,
sound_id
,
loops
);
}
}
return
0
;
return
0
;
}
}
...
@@ -2852,6 +2856,7 @@ static int lib_sStartSoundAtVolume(lua_State *L)
...
@@ -2852,6 +2856,7 @@ static int lib_sStartSoundAtVolume(lua_State *L)
sfxenum_t
sound_id
=
luaL_checkinteger
(
L
,
2
);
sfxenum_t
sound_id
=
luaL_checkinteger
(
L
,
2
);
INT32
volume
=
(
INT32
)
luaL_checkinteger
(
L
,
3
);
INT32
volume
=
(
INT32
)
luaL_checkinteger
(
L
,
3
);
player_t
*
player
=
NULL
;
player_t
*
player
=
NULL
;
INT16
loops
;
//NOHUD
//NOHUD
if
(
sound_id
>=
NUMSFX
)
if
(
sound_id
>=
NUMSFX
)
...
@@ -2866,8 +2871,10 @@ static int lib_sStartSoundAtVolume(lua_State *L)
...
@@ -2866,8 +2871,10 @@ static int lib_sStartSoundAtVolume(lua_State *L)
if
(
!
GetValidSoundOrigin
(
L
,
&
origin
))
if
(
!
GetValidSoundOrigin
(
L
,
&
origin
))
return
LUA_ErrInvalid
(
L
,
"mobj_t/sector_t"
);
return
LUA_ErrInvalid
(
L
,
"mobj_t/sector_t"
);
loops
=
(
INT16
)
luaL_optinteger
(
L
,
5
,
0
);
if
(
!
player
||
P_IsLocalPlayer
(
player
))
if
(
!
player
||
P_IsLocalPlayer
(
player
))
S_StartSoundAtVolume
(
origin
,
sound_id
,
volume
);
S_StartSoundAtVolume
Ex
(
origin
,
sound_id
,
volume
,
loops
);
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/s_sound.c
View file @
e3bc03b5
...
@@ -516,7 +516,7 @@ void S_StartCaption(sfxenum_t sfx_id, INT32 cnum, UINT16 lifespan)
...
@@ -516,7 +516,7 @@ void S_StartCaption(sfxenum_t sfx_id, INT32 cnum, UINT16 lifespan)
closedcaptions
[
set
].
b
=
2
;
// bob
closedcaptions
[
set
].
b
=
2
;
// bob
}
}
void
S_StartSoundAtVolume
(
const
void
*
origin_p
,
sfxenum_t
sfx_id
,
INT32
volume
)
void
S_StartSoundAtVolume
Ex
(
const
void
*
origin_p
,
sfxenum_t
sfx_id
,
INT32
volume
,
INT16
loops
)
{
{
const
INT32
initial_volume
=
volume
;
const
INT32
initial_volume
=
volume
;
INT32
sep
,
pitch
,
priority
,
cnum
;
INT32
sep
,
pitch
,
priority
,
cnum
;
...
@@ -663,7 +663,7 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume)
...
@@ -663,7 +663,7 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume)
// Assigns the handle to one of the channels in the
// Assigns the handle to one of the channels in the
// mix/output buffer.
// mix/output buffer.
channels
[
cnum
].
handle
=
I_StartSound
(
sfx_id
,
volume
,
sep
,
pitch
,
priority
,
cnum
);
channels
[
cnum
].
handle
=
I_StartSound
(
sfx_id
,
volume
,
sep
,
pitch
,
priority
,
cnum
,
loops
);
}
}
dontplay:
dontplay:
...
@@ -717,10 +717,10 @@ dontplay:
...
@@ -717,10 +717,10 @@ dontplay:
// Assigns the handle to one of the channels in the
// Assigns the handle to one of the channels in the
// mix/output buffer.
// mix/output buffer.
channels
[
cnum
].
volume
=
initial_volume
;
channels
[
cnum
].
volume
=
initial_volume
;
channels
[
cnum
].
handle
=
I_StartSound
(
sfx_id
,
volume
,
sep
,
pitch
,
priority
,
cnum
);
channels
[
cnum
].
handle
=
I_StartSound
(
sfx_id
,
volume
,
sep
,
pitch
,
priority
,
cnum
,
loops
);
}
}
void
S_StartSound
(
const
void
*
origin
,
sfxenum_t
sfx_id
)
void
S_StartSound
Ex
(
const
void
*
origin
,
sfxenum_t
sfx_id
,
INT16
loops
)
{
{
if
(
S_SoundDisabled
())
if
(
S_SoundDisabled
())
return
;
return
;
...
@@ -792,7 +792,7 @@ void S_StartSound(const void *origin, sfxenum_t sfx_id)
...
@@ -792,7 +792,7 @@ void S_StartSound(const void *origin, sfxenum_t sfx_id)
HW3S_StartSound
(
origin
,
sfx_id
);
HW3S_StartSound
(
origin
,
sfx_id
);
else
else
#endif
#endif
S_StartSoundAtVolume
(
origin
,
sfx_id
,
255
);
S_StartSoundAtVolume
Ex
(
origin
,
sfx_id
,
255
,
loops
);
}
}
void
S_StopSound
(
void
*
origin
)
void
S_StopSound
(
void
*
origin
)
...
...
This diff is collapsed.
Click to expand it.
src/s_sound.h
View file @
e3bc03b5
...
@@ -140,12 +140,15 @@ lumpnum_t S_GetSfxLumpNum(sfxinfo_t *sfx);
...
@@ -140,12 +140,15 @@ lumpnum_t S_GetSfxLumpNum(sfxinfo_t *sfx);
boolean
S_SoundDisabled
(
void
);
boolean
S_SoundDisabled
(
void
);
//
//
// Start sound for thing at <origin> using <sound_id> from sounds.h
// Start sound for thing at <origin> using <sound_id> from sounds.h
, looped <loops> times
//
//
void
S_StartSound
(
const
void
*
origin
,
sfxenum_t
sound_id
);
void
S_StartSound
Ex
(
const
void
*
origin
,
sfxenum_t
sound_id
,
INT16
loops
);
// Will start a sound at a given volume.
// Will start a sound at a given volume.
void
S_StartSoundAtVolume
(
const
void
*
origin
,
sfxenum_t
sound_id
,
INT32
volume
);
void
S_StartSoundAtVolumeEx
(
const
void
*
origin
,
sfxenum_t
sound_id
,
INT32
volume
,
INT16
loops
);
#define S_StartSoundAtVolume(a, b, c) S_StartSoundAtVolumeEx(a, b, c, 0)
#define S_StartSound(a, b) S_StartSoundEx(a, b, 0)
// Stop sound for thing at <origin>
// Stop sound for thing at <origin>
void
S_StopSound
(
void
*
origin
);
void
S_StopSound
(
void
*
origin
);
...
@@ -319,7 +322,7 @@ INT32 S_OriginPlaying(void *origin);
...
@@ -319,7 +322,7 @@ INT32 S_OriginPlaying(void *origin);
INT32
S_IdPlaying
(
sfxenum_t
id
);
INT32
S_IdPlaying
(
sfxenum_t
id
);
INT32
S_SoundPlaying
(
void
*
origin
,
sfxenum_t
id
);
INT32
S_SoundPlaying
(
void
*
origin
,
sfxenum_t
id
);
void
S_StartSoundName
(
void
*
mo
,
const
char
*
soundname
);
void
S_StartSoundName
(
void
*
mo
,
const
char
*
soundname
);
void
S_StopSoundByID
(
void
*
origin
,
sfxenum_t
sfx_id
);
void
S_StopSoundByID
(
void
*
origin
,
sfxenum_t
sfx_id
);
void
S_StopSoundByNum
(
sfxenum_t
sfxnum
);
void
S_StopSoundByNum
(
sfxenum_t
sfxnum
);
...
...
This diff is collapsed.
Click to expand it.
src/sdl/mixer_sound.c
View file @
e3bc03b5
...
@@ -589,10 +589,10 @@ void I_FreeSfx(sfxinfo_t *sfx)
...
@@ -589,10 +589,10 @@ void I_FreeSfx(sfxinfo_t *sfx)
sfx
->
lumpnum
=
LUMPERROR
;
sfx
->
lumpnum
=
LUMPERROR
;
}
}
INT32
I_StartSound
(
sfxenum_t
id
,
UINT8
vol
,
UINT8
sep
,
UINT8
pitch
,
UINT8
priority
,
INT32
channel
)
INT32
I_StartSound
(
sfxenum_t
id
,
UINT8
vol
,
UINT8
sep
,
UINT8
pitch
,
UINT8
priority
,
INT32
channel
,
INT16
loops
)
{
{
UINT8
volume
=
(((
UINT16
)
vol
+
1
)
*
(
UINT16
)
sfx_volume
)
/
62
;
// (256 * 31) / 62 == 127
UINT8
volume
=
(((
UINT16
)
vol
+
1
)
*
(
UINT16
)
sfx_volume
)
/
62
;
// (256 * 31) / 62 == 127
INT32
handle
=
Mix_PlayChannel
(
channel
,
S_sfx
[
id
].
data
,
0
);
INT32
handle
=
Mix_PlayChannel
(
channel
,
S_sfx
[
id
].
data
,
loops
);
Mix_Volume
(
handle
,
volume
);
Mix_Volume
(
handle
,
volume
);
Mix_SetPanning
(
handle
,
min
((
UINT16
)(
0xff
-
sep
)
<<
1
,
0xff
),
min
((
UINT16
)(
sep
)
<<
1
,
0xff
));
Mix_SetPanning
(
handle
,
min
((
UINT16
)(
0xff
-
sep
)
<<
1
,
0xff
),
min
((
UINT16
)(
sep
)
<<
1
,
0xff
));
(
void
)
pitch
;
// Mixer can't handle pitch
(
void
)
pitch
;
// Mixer can't handle pitch
...
...
This diff is collapsed.
Click to expand it.