mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
Moved the audio related command enums inside audio.h
svn-id: r45676
This commit is contained in:
parent
90eba9310a
commit
1f49679db5
@ -100,26 +100,6 @@ enum {
|
||||
_K_SCI1_SOUND_UPDATE_VOL_PRI = 20
|
||||
};
|
||||
|
||||
enum AudioCommands {
|
||||
// TODO: find the difference between kSci1AudioWPlay and kSci1AudioPlay
|
||||
kSciAudioWPlay = 1, /* Plays an audio stream */
|
||||
kSciAudioPlay = 2, /* Plays an audio stream */
|
||||
kSciAudioStop = 3, /* Stops an audio stream */
|
||||
kSciAudioPause = 4, /* Pauses an audio stream */
|
||||
kSciAudioResume = 5, /* Resumes an audio stream */
|
||||
kSciAudioPosition = 6, /* Return current position in audio stream */
|
||||
kSciAudioRate = 7, /* Return audio rate */
|
||||
kSciAudioVolume = 8, /* Return audio volume */
|
||||
kSciAudioLanguage = 9, /* Return audio language */
|
||||
kSciAudioCD = 10 /* Plays SCI1.1 CD audio */
|
||||
};
|
||||
|
||||
enum AudioSyncCommands {
|
||||
kSciAudioSyncStart = 0,
|
||||
kSciAudioSyncNext = 1,
|
||||
kSciAudioSyncStop = 2
|
||||
};
|
||||
|
||||
#define SCI1_SOUND_FLAG_MAY_PAUSE 1 /* Only here for completeness; The interpreter doesn't touch this bit */
|
||||
#define SCI1_SOUND_FLAG_SCRIPTED_PRI 2 /* but does touch this */
|
||||
//#define DEBUG_SOUND // enable for sound debugging
|
||||
|
@ -31,6 +31,26 @@
|
||||
|
||||
namespace Sci {
|
||||
|
||||
enum AudioCommands {
|
||||
// TODO: find the difference between kSci1AudioWPlay and kSci1AudioPlay
|
||||
kSciAudioWPlay = 1, /* Plays an audio stream */
|
||||
kSciAudioPlay = 2, /* Plays an audio stream */
|
||||
kSciAudioStop = 3, /* Stops an audio stream */
|
||||
kSciAudioPause = 4, /* Pauses an audio stream */
|
||||
kSciAudioResume = 5, /* Resumes an audio stream */
|
||||
kSciAudioPosition = 6, /* Return current position in audio stream */
|
||||
kSciAudioRate = 7, /* Return audio rate */
|
||||
kSciAudioVolume = 8, /* Return audio volume */
|
||||
kSciAudioLanguage = 9, /* Return audio language */
|
||||
kSciAudioCD = 10 /* Plays SCI1.1 CD audio */
|
||||
};
|
||||
|
||||
enum AudioSyncCommands {
|
||||
kSciAudioSyncStart = 0,
|
||||
kSciAudioSyncNext = 1,
|
||||
kSciAudioSyncStop = 2
|
||||
};
|
||||
|
||||
class Resource;
|
||||
class ResourceId;
|
||||
class ResourceManager;
|
||||
|
Loading…
x
Reference in New Issue
Block a user