summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-14 21:15:28 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-14 21:15:28 +0100
commit0d57b5fb0323f4292d20ee4f1571d540d966e107 (patch)
tree43ca112e38156844fb6616dc06ecfafaacffe02c /deadbeef.h
parentd8d888f26a89c6dfa376ebbf0c7af83df16a6d5b (diff)
fixed is_local_file documentation, fixed few places which use it
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h5
1 files changed, 4 insertions, 1 deletions
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);