class SOUND_SDL_MODULE General cluster: sound description: "chocolate doom i_sdlsound.c" create: make Ancestors SOUND_MODULE_T* Queries allocate_sound (sfxinfo: SFXINFO_T; len: NATURAL_32): ALLOCATED_SOUND_T allocated_sounds_head: detachable ALLOCATED_SOUND_T allocated_sounds_size: INTEGER_32 allocated_sounds_tail: detachable ALLOCATED_SOUND_T cache_sfx (sfxinfo: SFXINFO_T): BOOLEAN channels_playing: ARRAY [detachable ALLOCATED_SOUND_T] convertible_ratio (freq1, freq2: INTEGER_32): BOOLEAN expand_sound_data (sfxinfo: SFXINFO_T; data: POINTER; samplerate, length: INTEGER_32): BOOLEAN expand_sound_data_sdl (sfxinfo: SFXINFO_T; data: POINTER; samplerate, length: INTEGER_32): BOOLEAN expand_sound_data_sdl_mode: BOOLEAN get_allocated_sound_by_sfx_info_and_pitch (sfxinfo: SFXINFO_T; pitch: INTEGER_32): detachable ALLOCATED_SOUND_T get_sfx_lump_name (sfxinfo: SFXINFO_T): STRING_8 get_sfx_lump_num (sfxinfo: SFXINFO_T): INTEGER_32 get_slice_size: INTEGER_32 init (a_use_sfx_prefix: BOOLEAN): BOOLEAN lock_sound (sfxinfo: SFXINFO_T): BOOLEAN mixer_channels: INTEGER_32 mixer_format: INTEGER_16 mixer_freq: INTEGER_32 Num_channels: INTEGER_32 pitch_shift (insnd: ALLOCATED_SOUND_T; pitch: INTEGER_32): ALLOCATED_SOUND_T Sound_devices: ARRAY [INTEGER_32] sound_initialized: BOOLEAN sound_is_playing (handle: INTEGER_32): BOOLEAN Sound_sdl_module (a_i_main: [like i_main] I_MAIN): SOUND_SDL_MODULE start_sound (sfxinfo: SFXINFO_T; channel, vol, sep, pitch: INTEGER_32): INTEGER_32 Use_libsamplerate: BOOLEAN use_sfx_prefix: BOOLEAN Commands allocated_sound_link (snd: ALLOCATED_SOUND_T) allocated_sound_unlink (snd: ALLOCATED_SOUND_T) cache_sounds (sounds: ARRAY [SFXINFO_T]) cache_sounds_inner (sounds: ARRAY [SFXINFO_T]) free_allocated_sound (snd: ALLOCATED_SOUND_T) lock_allocated_sound (snd: ALLOCATED_SOUND_T) release_sound_on_channel (channel: INTEGER_32) reserve_cache_space (len: NATURAL_32) shutdown stop_sound (handle: INTEGER_32) unlock_allocated_sound (snd: ALLOCATED_SOUND_T) update update_sound_params (handle, vol, sep: INTEGER_32)
Generated by ISE EiffelStudio