Module: Windows::Sound
- Defined in:
- lib/windows/sound.rb
Constant Summary collapse
- SND_SYNC =
play synchronously (default)
0x0000
- SND_ASYNC =
play asynchronously
0x0001
- SND_NODEFAULT =
silence (!default) if sound not found
0x0002
- SND_MEMORY =
pszSound points to a memory file
0x0004
- SND_LOOP =
loop the sound until next sndPlaySound
0x0008
- SND_NOSTOP =
don’t stop any currently playing sound
0x0010
- SND_NOWAIT =
don’t wait if the driver is busy
8192
- SND_ALIAS =
name is a registry alias
65536
- SND_ALIAS_ID =
alias is a predefined ID
1114112
- SND_FILENAME =
name is file name
131072
- SND_RESOURCE =
name is resource name or atom
262148
- SND_PURGE =
purge non-static events for task
0x0040
- SND_APPLICATION =
look for application specific association
0x0080