Displaying 1 result from an estimated 1 matches for "select_format".
2002 Oct 05
2
ogg123 remote interface
...g);
- return;
- }
-
- if ( (source = transport->open(source_string, &options, audio_play_arg->stat_format)) == NULL ) {
- status_error(_("Cannot open %s.\n"), source_string);
- return;
- }
-
- /* Detect the file format and initialize a decoder */
- if ( (format = select_format(source)) == NULL ) {
- status_error(_("The file format of %s is not supported.\n"), source_string);
- return;
- }
+ /* Play the files/streams */
+ for (pl_index = 0; playlist[pl_index] && !sig_request.exit; pl_index++) {
+ char *source_string = playlist[pl_index];
+...