note
	description: "A {GAME_SOUND} loaded from a sound file."
	author: "Louis Marchand"
	date: "Tue, 21 Feb 2017 00:15:23 +0000"
	revision: "2.1"

deferred class interface
	AUDIO_SOUND_FILE_IMP

feature --Access

	title: detachable READABLE_STRING_GENERAL
			-- The readable identifier of Current
			-- Void if no 'title' available in Current

	artist: detachable READABLE_STRING_GENERAL
			-- The name of the creator of Current
			-- Void if no 'artist' available in Current

	album: detachable READABLE_STRING_GENERAL
			-- The media that Current is from
			-- Void if no 'album' available in Current

	date: detachable READABLE_STRING_GENERAL
			-- The creation's date of Current
			-- Void if no 'date' available in Current

	genre: detachable READABLE_STRING_GENERAL
			-- The conventional category of Current
			-- Void if no 'genre' available in Current

	comment: detachable READABLE_STRING_GENERAL
			-- Anything that can be add to the definition of Current
			-- Void if no 'comment' available in Current

	track_number: INTEGER_32
			-- The number of Current in the album
			-- 0 if no 'track_number' available in Current

	open
			-- Open Current

	close
			-- Stop the management of the stream

	is_openable: BOOLEAN
			-- Can Current be open

	channel_count: INTEGER_32
			-- Get the channel number of the sound (1=mono, 2=stereo, etc.).

	frequency: INTEGER_32
			-- Get the frequency (sample rate) of the sound.

	bits_per_sample: INTEGER_32
			-- Get the bit resolution of one frame of the sound.

	is_signed: BOOLEAN
			-- Return true if the frames in the buffer are signed.

	is_seekable: BOOLEAN
			-- Return true if the sound support the seek functionnality.

	restart
			-- Restart the sound to the beginning.

	sample_seek (a_frame_number: INTEGER_64)
			-- Seek at the frame a_frame_number from the beginning of Current

	sample_position: INTEGER_64
			-- The number of frames since the beginning of Current

	sample_count: INTEGER_64
			-- The total number of frames in Current
	
feature -- Implementation - Methodes

	dispose
			-- Action to be executed just before garbage collection
			-- reclaims an object.
			-- Effect it in descendants to perform specific dispose
			-- actions. Those actions should only take care of freeing
			-- external resources; they should not perform remote calls
			-- on other objects since these may also be dead and reclaimed.
	
end -- class AUDIO_SOUND_FILE_IMP

Generated by ISE EiffelStudio