search for: speex_can_decode

Displaying 1 result from an estimated 1 matches for "speex_can_decode".

2005 Jun 04
0
Allignment of vorbis, flac and speex headers
...start at char 29 (the 30th char in the file) and "speex " starts at char 28 (the 29th char in the file). Speex appears to correlate with the documents supplied and the other two not. Speex ---------- In the file at \vorbis-tools-1.0.1\ogg123\speex_format.c I find the following int speex_can_decode (data_source_t *source) { char buf[36]; int len; len = source->transport->peek(source, buf, sizeof(char), 36); if (len >= 32 && memcmp(buf, "OggS", 4) == 0 && memcmp(buf+28, "Speex ", 8) == 0) /* 3 trailing spaces */ return 1; els...