Top | ![]() |
![]() |
![]() |
![]() |
This class implements the body of the buzztrax commandline tool. It provides application level function like play, convert and encode songs.
BtCmdApplication *
bt_cmd_application_new (gboolean quiet
);
Create a new instance
gboolean bt_cmd_application_play (const BtCmdApplication *self
,const gchar *input_file_name
);
load and play the file of the supplied name
gboolean bt_cmd_application_info (const BtCmdApplication *self
,const gchar *input_file_name
,const gchar *output_file_name
);
load the file of the supplied name and print information about it to stdout.
self |
the application instance to run |
|
input_file_name |
the file to print information about |
|
output_file_name |
the file to put informations from the input_file_name.
If the given file_name is |
gboolean bt_cmd_application_convert (const BtCmdApplication *self
,const gchar *input_file_name
,const gchar *output_file_name
);
Load the file of the supplied name and convert it into a buzztrax song file. The type of the input file is automatically determined.
gboolean bt_cmd_application_encode (const BtCmdApplication *self
,const gchar *input_file_name
,const gchar *output_file_name
);
Load the file of the supplied name and encode it as an audio file. The type of the output file is automatically determined from the filename extension.
struct BtCmdApplication;
BtApplication subclass for the commandline application
“quiet”
property“quiet” gboolean
tell wheter the app should do output or not.
Flags: Write
Default value: FALSE