mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- snd_reset cannot be shared.
This commit is contained in:
parent
00bb258d58
commit
519005ff4d
3 changed files with 11 additions and 5 deletions
|
@ -1854,11 +1854,6 @@ CCMD(snd_status)
|
||||||
GSnd->PrintStatus();
|
GSnd->PrintStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
CCMD(snd_reset)
|
|
||||||
{
|
|
||||||
S_SoundReset();
|
|
||||||
}
|
|
||||||
|
|
||||||
CCMD(snd_listdrivers)
|
CCMD(snd_listdrivers)
|
||||||
{
|
{
|
||||||
GSnd->PrintDriversList();
|
GSnd->PrintDriversList();
|
||||||
|
|
|
@ -1427,3 +1427,8 @@ CCMD (loopsound)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CCMD(snd_reset)
|
||||||
|
{
|
||||||
|
S_SoundReset();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,6 +234,12 @@ class MoviePlayerJob : SkippableScreenJob
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void Start()
|
||||||
|
{
|
||||||
|
System.StopMusic();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static ScreenJob CreateWithSoundInfo(String filename, Array<int> soundinfo, int flags, int frametime, int firstframetime = -1, int lastframetime = -1)
|
static ScreenJob CreateWithSoundInfo(String filename, Array<int> soundinfo, int flags, int frametime, int firstframetime = -1, int lastframetime = -1)
|
||||||
{
|
{
|
||||||
let movie = MoviePlayer.Create(filename, soundinfo, flags, frametime, firstframetime, lastframetime);
|
let movie = MoviePlayer.Create(filename, soundinfo, flags, frametime, firstframetime, lastframetime);
|
||||||
|
|
Loading…
Reference in a new issue