Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2009-10-13 01:07:14 +0400
committerJustin Maggard <jmaggard@users.sourceforge.net>2009-10-13 01:07:14 +0400
commita6a586f9353296e5d3a4f5f28352e2ec49204fb2 (patch)
treec84ce94f0ad7bd3011b9f696a7e999e1b697527c /utils.c
parenta8dadcbbc87f4ebfcdce8b276ad9baa53f023847 (diff)
* Add PCM support, assuming defaults of 44.1K and 2 channels.
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 254f87b..4ab61ad 100644
--- a/utils.c
+++ b/utils.c
@@ -196,7 +196,8 @@ is_audio(const char * file)
ends_with(file, ".fla") || ends_with(file, ".flc") ||
ends_with(file, ".m4a") || ends_with(file, ".aac") ||
ends_with(file, ".mp4") || ends_with(file, ".m4p") ||
- ends_with(file, ".wav") || ends_with(file, ".ogg"));
+ ends_with(file, ".wav") || ends_with(file, ".ogg") ||
+ ends_with(file, ".pcm"));
}
int