Lines Matching defs:magic
36 uint16_t magic;
37 magic=le2me_16(*((uint16_t*)p->buf));
38 if ((magic == 0x0B8D || magic == 0x0C0D || magic == 0x0C8D) &&
50 static enum CodecID sol_codec_id(int magic, int type)
52 if (magic == 0x0B8D)
60 else if (magic == 0x0C8D) return CODEC_ID_SOL_DPCM;
67 static int sol_codec_type(int magic, int type)
69 if (magic == 0x0B8D) return 1;//SOL_DPCM_OLD;
73 else if (magic == 0x0C8D) return 1;//SOL_DPCM_OLD;
79 static int sol_channels(int magic, int type)
81 if (magic == 0x0B8D || !(type & SOL_STEREO)) return 1;
89 unsigned int magic,tag;
96 magic = get_le16(pb);
103 if (magic != 0x0B8D)
106 codec = sol_codec_id(magic, type);
107 channels = sol_channels(magic, type);
110 id = sol_codec_type(magic, type);