chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/*.c: Don't try reading per-user configuration.
[disorder]
/
plugins
/
tracklength-flac.c
diff --git
a/plugins/tracklength-flac.c
b/plugins/tracklength-flac.c
index a838966bc0e28885477594af1c570ac8bf7c7b98..684221d2f55ff2a7ec9cf3267bf271b61907d9bc 100644
(file)
--- a/
plugins/tracklength-flac.c
+++ b/
plugins/tracklength-flac.c
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* This file is part of DisOrder.
- * Copyright (C) 2004, 2005, 2007 Richard Kettlewell
+ * Copyright (C) 2004, 2005, 2007
, 2011
Richard Kettlewell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-23,8
+23,12
@@
/* libFLAC's "simplified" interface is rather heavyweight... */
/* libFLAC's "simplified" interface is rather heavyweight... */
+/** @brief State used when computing FLAC file length */
struct flac_state {
struct flac_state {
+ /** @brief Duration or -1 */
long duration;
long duration;
+
+ /** @brief File being analyzed */
const char *path;
};
const char *path;
};