![]() |
![]() |
![]() |
libMirage Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <mirage.h> MIRAGE_FragIface_Audio; gboolean mirage_frag_iface_audio_set_file (MIRAGE_FragIface_Audio *self
,const gchar *filename
,GError **error
); gboolean mirage_frag_iface_audio_get_file (MIRAGE_FragIface_Audio *self
,const gchar **filename
,GError **error
); gboolean mirage_frag_iface_audio_set_offset (MIRAGE_FragIface_Audio *self
,gint offset
,GError **error
); gboolean mirage_frag_iface_audio_get_offset (MIRAGE_FragIface_Audio *self
,gint *offset
,GError **error
);
MIRAGE_FragIface_Audio is Audio Fragment interface that can be implemented by a MIRAGE_Fragment implementation.
typedef struct _MIRAGE_FragIface_Audio MIRAGE_FragIface_Audio;
Dummy interface structure.
gboolean mirage_frag_iface_audio_set_file (MIRAGE_FragIface_Audio *self
,const gchar *filename
,GError **error
);
Sets audio file to filename
.
|
a MIRAGE_FragIface_Audio |
|
filename |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure |
gboolean mirage_frag_iface_audio_get_file (MIRAGE_FragIface_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_FragIface_Audio |
|
location to store filename |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure |
gboolean mirage_frag_iface_audio_set_offset (MIRAGE_FragIface_Audio *self
,gint offset
,GError **error
);
Sets offset within audio file, in sectors.
|
a MIRAGE_FragIface_Audio |
|
offset |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure |
gboolean mirage_frag_iface_audio_get_offset (MIRAGE_FragIface_Audio *self
,gint *offset
,GError **error
);
Retrieves offset within audio file, in sectors.
|
a MIRAGE_FragIface_Audio |
|
location to store offset |
|
location to store error, or NULL
|
Returns : |
TRUE on success, FALSE on failure |