Three additional ones (bolded):

  • snd_vol: returns the current volume of the sound with the passed handle
  • snd_balance: returns the current balance value of the sound with the passed handle
  • snd_freq: returns the current frequency of the sound with the passed handle
  • snd_kill: terminates all playing sounds of the passed SOUND*
  • snd_3D: similar to ent_playsound, the sound will be played at a position in 3D space. The sound will be stationary while it is playing and isn't in relation to any entity.
  • snd_length: returns the length of a sound in seconds
  • snd_lengthMs: returns the length of the sound in milliseconds
  • snd_time: returns a percentage between 0..100% at which time-position the audio cursor is
  • media_*: all above suggested snd instructions also available für media-streams
  • snd_samplingrate - returns the sampling rate of a sound
  • snd_falloff - sets the falloff factor of the passed SOUND*, including the distance of permanent 100% volume and an additional distance in which the sound is linearily faded out
  • snd_file - returns the filename of the sound
  • snd_isLoaded - returns if the passed filename is already loaded as SOUND*. If it has been loaded previously, the SOUND* will be returned, otherwise NULL
  • snd_next - takes a SOUND* and a handle. If handle is == 0, snd_next returns the first running instance of the passed SOUND* as handle. If handle is != 0, the next running instance of the SOUND* is returned


Last edited by HeelX; 03/01/08 14:24.