summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-08 19:43:00 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-08 19:43:00 +0200
commitbb6da46236137f12be28147f93ea9654c5ccc125 (patch)
treef8be30e0cdffc6463624960adbdbc4d39f59d3e1 /playlist.c
parentce1ae490f2c6b2d967aa4b47c69846ed2365d9d9 (diff)
[WIP] disabled most codecs, moved streaming out of psdl
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/playlist.c b/playlist.c
index df4c1109..e101fedf 100644
--- a/playlist.c
+++ b/playlist.c
@@ -226,23 +226,23 @@ ps_add_file (const char *fname) {
if (!strcasecmp (eol, "ogg")) {
codec = &cvorbis;
}
- else if (!strcasecmp (eol, "wav")) {
- codec = &cwav;
- }
- else if (!strcasecmp (eol, "mod")) {
- codec = &cmod;
- }
+// else if (!strcasecmp (eol, "wav")) {
+// codec = &cwav;
+// }
+// else if (!strcasecmp (eol, "mod")) {
+// codec = &cmod;
+// }
else if (!strcasecmp (eol, "mp3")) {
codec = &cmp3;
}
- else if (!strcasecmp (eol, "flac")) {
- codec = &cflac;
- return codec->add (fname);
- }
- else if (!strcasecmp (eol, "nsf")) {
- codec = &cgme;
- return codec->add (fname);
- }
+// else if (!strcasecmp (eol, "flac")) {
+// codec = &cflac;
+// return codec->add (fname);
+// }
+// else if (!strcasecmp (eol, "nsf")) {
+// codec = &cgme;
+// return codec->add (fname);
+// }
// else if (!strcasecmp (eol, "cue")) {
// ps_add_cue (fname);
// return -1;