James P. Salsman (bovik@best.com)
Thu, 12 Apr 2001 15:09:59 -0700 (PDT)
Glenn and Jutta,
Thanks for your replies:
> You mean RIFF header right? Playing it will result in a tick sound.
Yes. Do either of you have a tested audio/wav MS-GSM RIFF header
some integer multiple of 65 bytes long?
> allowing MS without a header only makes things worse and more confusing.
I agree; there is established consensus that we have a union type
(audio/basic G.711 with audio/wav MS-GSM). The flag to distinguish
between the two is the RIFF header, because G.711 has no "magic
numbers" or header of its own. If it were not for this problem,
regular GSM would work fine.
The only concern I have from experience is that when the header is
defined, multiple copies can get prepended. It would be best if
those didn't cause the decoder's reader to get out of alignment.
If there is no such header, the stream will be assumed to be G.711.
The probability that an audio/basic stream would begin with the
header ought to be small enough.
Cheers,
James
This archive was generated by hypermail 2.0b3 on Fri Apr 13 2001 - 01:16:19 IDT