hi, a simple question which i can't answer through the manuals ... is the header always 80 bytes long? thanks in advance, ulrich -- Ulrich B. Staudinger http://www.die-horde.de email: us@die-horde.de jid: uls@jabber.org current project: REDHORN http://redhorn.sourceforge.net Blog: uls@jabber.org">http://jabber.linux.it/jogger/user.php?jid=uls@jabber.org</a> <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jean-Marc Valin wrote:>>a simple question which i can't answer through the manuals ... is the >>header always 80 bytes long? >>thanks in advance, >> >> > >Right now it is. However, I may add some fields (or even additional >headers) in the future if needed. This shouldn't be a problem since the >header is always alone in his packet and there's a field that tells you >if there are additional header packets (always zero for now). BTW, why >is that important for you? >I write another voice relay and i use java speex. whenever a new user connects to a channel on the relay i transmit the header and after that i transmit the live speex encoded channel data. i am right now just splitting the header from the content to do the initialization of SpeexDecoder the manual way. however i am not that sure if i shouldn't (for easiness' sake) tweak org.xiph.speek to open the audio output line straight away by implementing another class based on PcmWaveWriter .... that way i don't have to split header from content ... do you have some hints? thanks for replying so fast ulrich -- Ulrich B. Staudinger http://www.die-horde.de email: us@die-horde.de jid: uls@jabber.org current project: REDHORN http://redhorn.sourceforge.net Blog: uls@jabber.org">http://jabber.linux.it/jogger/user.php?jid=uls@jabber.org</a> <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> a simple question which i can't answer through the manuals ... is the > header always 80 bytes long? > thanks in advance,Right now it is. However, I may add some fields (or even additional headers) in the future if needed. This shouldn't be a problem since the header is always alone in his packet and there's a field that tells you if there are additional header packets (always zero for now). BTW, why is that important for you? Jean-Marc -- Jean-Marc Valin, M.Sc.A., ing. jr. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Ceci est une partie de message numériquement signée Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20031020/0bb2d96e/signature-0001.pgp