note
	description: "External C feature for Audio snd files libraries."
	author: "Louis Marchand"
	date: "May 24, 2012"
	revision: "0.1"

class interface
	AUDIO_SND_FILES_EXTERNAL_IMP

create 
	default_create

feature -- libsndfile fonctions

	frozen c_sizeof_sf_count_t: INTEGER_32

	frozen sf_open (path: POINTER; mode: INTEGER_32; sf_info: POINTER): POINTER

	frozen sf_open_virtual (sf_virtual_io: POINTER; mode: INTEGER_32; sf_info: POINTER; user_data: POINTER): POINTER

	frozen sf_close (sndfile: POINTER): INTEGER_32

	frozen sf_strerror (sndfile: POINTER): POINTER

	frozen sf_seek (sndfile: POINTER; frames: INTEGER_64; whence: INTEGER_32): INTEGER_64

	frozen sf_command (sndfile: POINTER; cmd: INTEGER_32; data: POINTER; datasize: INTEGER_32): INTEGER_32

	frozen sf_read_short (sndfile, ptr: POINTER; items: INTEGER_64): INTEGER_64

	frozen c_sizeof_snd_file_virtual_io: INTEGER_32

	frozen sf_get_string (sndfile: POINTER; str_type: INTEGER_32): POINTER
	
feature -- sndfile_addition functions

	frozen set_snd_file_virtual_io (virtual_io: POINTER)
	
feature -- libsndfile SF_INFO structure

	frozen c_sizeof_sf_info: INTEGER_32

	frozen get_sf_info_struct_channels (sf_info: POINTER): INTEGER_32

	frozen get_sf_info_struct_frames (sf_info: POINTER): INTEGER_64

	frozen get_sf_info_struct_format (sf_info: POINTER): INTEGER_32

	frozen get_sf_info_struct_samplerate (sf_info: POINTER): INTEGER_32

	frozen get_sf_info_struct_seekable (sf_info: POINTER): INTEGER_32
	
feature -- libsndfile Constants

	frozen sfm_read: INTEGER_32

	frozen sfm_write: INTEGER_32

	frozen sfm_rdwr: INTEGER_32

	frozen seek_set: INTEGER_32

	frozen seek_cur: INTEGER_32

	frozen seek_end: INTEGER_32

	frozen sfc_get_log_info: INTEGER_32

	frozen sf_str_title: INTEGER_32

	frozen sf_str_comment: INTEGER_32

	frozen sf_str_artist: INTEGER_32

	frozen sf_str_date: INTEGER_32

	frozen sf_str_album: INTEGER_32

	frozen sf_str_tracknumber: INTEGER_32

	frozen sf_str_genre: INTEGER_32
	
end -- class AUDIO_SND_FILES_EXTERNAL_IMP

Generated by ISE EiffelStudio