Mercurial > audlegacy-plugins
comparison src/madplug/input.c @ 2390:bd9673d8b7d5
converted to new sound engine scheme.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Fri, 15 Feb 2008 19:10:19 +0900 |
parents | 78a0e19530e2 |
children | 4ad6e7dfb389 |
comparison
equal
deleted
inserted
replaced
2389:46d3e970f0a5 | 2390:bd9673d8b7d5 |
---|---|
74 { | 74 { |
75 AUDDBG("f: input_init\n"); | 75 AUDDBG("f: input_init\n"); |
76 | 76 |
77 memset(info, 0, sizeof(struct mad_info_t)); // all fields are cleared to 0 --yaz | 77 memset(info, 0, sizeof(struct mad_info_t)); // all fields are cleared to 0 --yaz |
78 | 78 |
79 info->fmt = FMT_S16_LE; | 79 info->fmt = FMT_FIXED32; |
80 info->channels = -1; | 80 info->channels = -1; |
81 info->mpeg_layer = -1; | 81 info->mpeg_layer = -1; |
82 info->size = -1; | 82 info->size = -1; |
83 info->freq = -1; | 83 info->freq = -1; |
84 info->seek = -1; | 84 info->seek = -1; |