![]() |
![]() |
![]() |
libMirage Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <mirage.h> MIRAGE_FInterface_AUDIO; gboolean mirage_finterface_audio_set_file (MIRAGE_FInterface_AUDIO *self, const gchar *filename, GError **error); gboolean mirage_finterface_audio_get_file (MIRAGE_FInterface_AUDIO *self, const gchar **filename, GError **error); gboolean mirage_finterface_audio_set_offset (MIRAGE_FInterface_AUDIO *self, gint offset, GError **error); gboolean mirage_finterface_audio_get_offset (MIRAGE_FInterface_AUDIO *self, gint *offset, GError **error);
MIRAGE_FInterface_AUDIO is AUDIO Fragment interface that can be implemented by a MIRAGE_Fragment implementation.
typedef struct _MIRAGE_FInterface_AUDIO MIRAGE_FInterface_AUDIO;
Dummy interface structure.
gboolean mirage_finterface_audio_set_file (MIRAGE_FInterface_AUDIO *self, const gchar *filename, GError **error);
Sets audio file to filename
.
|
a MIRAGE_FInterface_AUDIO |
|
filename |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|
gboolean mirage_finterface_audio_get_file (MIRAGE_FInterface_AUDIO *self, const gchar **filename, GError **error);
Retrieves filename of audio file. A pointer to filename string is stored to filename
;
the string belongs to the object and therefore should not be modified.
|
a MIRAGE_FInterface_AUDIO |
|
location to store filename |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|
gboolean mirage_finterface_audio_set_offset (MIRAGE_FInterface_AUDIO *self, gint offset, GError **error);
Sets offset within audio file, in sectors.
|
a MIRAGE_FInterface_AUDIO |
|
offset |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|
gboolean mirage_finterface_audio_get_offset (MIRAGE_FInterface_AUDIO *self, gint *offset, GError **error);
Retrieves offset within audio file, in sectors.
|
a MIRAGE_FInterface_AUDIO |
|
location to store offset |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure
|