make RageSoundParams available

This commit is contained in:
Glenn Maynard
2004-02-28 01:02:06 +00:00
parent e1ed217f78
commit 71d1380951
5 changed files with 92 additions and 98 deletions
+5 -5
View File
@@ -92,9 +92,9 @@ void ScreenTestSound::UpdateText(int n)
"%s",
n+1, fn.c_str(),
s[n].s.IsPlaying()? "Playing":"Stopped",
s[n].s.GetStopMode() == RageSound::M_STOP?
s[n].s.GetStopMode() == RageSoundParams::M_STOP?
"Stop when finished":
s[n].s.GetStopMode() == RageSound::M_CONTINUE?
s[n].s.GetStopMode() == RageSoundParams::M_CONTINUE?
"Continue until stopped":
"Loop",
pos.size()? pos.c_str(): "none playing",
@@ -130,13 +130,13 @@ void ScreenTestSound::Input( const DeviceInput& DeviceI, const InputEventType ty
s[selected].s.Stop();
break;
case 'l':
s[selected].s.SetStopMode(RageSound::M_LOOP);
s[selected].s.SetStopMode(RageSoundParams::M_LOOP);
break;
case 'a':
s[selected].s.SetStopMode(RageSound::M_STOP);
s[selected].s.SetStopMode(RageSoundParams::M_STOP);
break;
case 'c':
s[selected].s.SetStopMode(RageSound::M_CONTINUE);
s[selected].s.SetStopMode(RageSoundParams::M_CONTINUE);
break;
/* case SDLK_LEFT: