From 0d57b5fb0323f4292d20ee4f1571d540d966e107 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 14 Nov 2013 21:15:28 +0100 Subject: fixed is_local_file documentation, fixed few places which use it --- deadbeef.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deadbeef.h') diff --git a/deadbeef.h b/deadbeef.h index 8a563aef..2ed468cb 100644 --- a/deadbeef.h +++ b/deadbeef.h @@ -868,7 +868,10 @@ typedef struct { struct DB_plugin_s *(*plug_get_for_id) (const char *id); // misc utilities - int (*is_local_file) (const char *fname); // returns 1 for local filename, 0 otherwise + // returns 1 if the track is represented as a local file + // returns 0 if it's a remote file, e.g. a network stream + // since API 1.5 it also returns 1 for vfs tracks, e.g. from ZIP files + int (*is_local_file) (const char *fname); // pcm utilities int (*pcm_convert) (const ddb_waveformat_t * inputfmt, const char *input, const ddb_waveformat_t *outputfmt, char *output, int inputsize); -- cgit v1.2.3