summaryrefslogtreecommitdiff
path: root/plugins/aac
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-08-16 20:19:40 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-08-16 20:19:40 +0200
commit9ba2851daa2bd4fad7fb9732117952dd2a237c90 (patch)
tree56529e5b7539d8e12c9c53e5c8e634052671a1d6 /plugins/aac
parentcd39db811bf3de0ac39761b39171f5bc10cd4996 (diff)
fixed aac numchannels
Diffstat (limited to 'plugins/aac')
-rw-r--r--plugins/aac/aac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c
index d96079a1..c9199063 100644
--- a/plugins/aac/aac.c
+++ b/plugins/aac/aac.c
@@ -133,7 +133,7 @@ parse_aac_stream(DB_FILE *fp, int *psamplerate, int *pchannels, float *pduration
if (size == 0) {
memmove (buf, buf+1, sizeof (buf)-1);
bufsize--;
- trace ("aac_sync fail, framepos: %d\n", framepos);
+// trace ("aac_sync fail, framepos: %d\n", framepos);
if (deadbeef->ftell (fp) - initfpos > 2000) { // how many is enough to make sure?
break;
}
@@ -436,6 +436,7 @@ aac_init (DB_fileinfo_t *_info, DB_playItem_t *it) {
info->remaining -= consumed;
}
info->faad_channels = ch;
+ _info->channels = ch;
}
if (!info->file->vfs->streaming) {