Displaying 20 results from an estimated 600 matches similar to: "More frames in one packet"
2009 Oct 29
1
speex_bits_write_whole_bytes problem
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20091029/e587399d/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmezo.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20091029/e587399d/attachment.vcf
2006 Aug 01
2
bits.c problem
I'm trying to use speex on OMAP's DSP using dsp gateway, and have some
questions. The code almost works (within few next days I'll post a some kind
tutorial and patches), but it seems to be a little bug in bits.c. The code
looks like this
void speex_bits_read_from(SpeexBits *bits, char *chars, int len)
{
////////////////// bla-bla-bla ///////////////////
for (i=0;i<len;i++)
2004 Aug 06
3
Multiple Frames per Packet
David,
Here's the trick ... do this just before your speex_bits_write():
speex_bits_insert_terminator(&bits);
Then, when decoding, keep calling speex_decode() until it returns -1
or speex_bits_remaining(&bits) returns 0.
Works for me, anyway.
Tom
David Barrett (dbarrett@quinthar.com) wrote:
>
> Hi, I'm using Speex and I want to pack multiple frames into a single
>
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
Hi All,
I am trying to cross compile speex-1.1.12 to powerpc-405,
i get a error after the make, speexec.lo error,
please help me how to get rid of this error.
On 2/9/07, speex-dev-request@xiph.org <speex-dev-request@xiph.org> wrote:
> Send Speex-dev mailing list submissions to
> speex-dev@xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2010 Apr 11
2
Is Speex 1.0 and >=1.1 compatible?
On Saturday 10 April 2010 21.51.55 Jean-Marc Valin wrote:
> All version after 1.0 are compatible with each other and with 1.0.
Hi Jean-Marc and thanks for the quick reply.
I have now looked at this further and got the idea to hard code the number of
frames in the decoder temporarily as a test and voil?, it works! The problem
seem to be some incompatibility in the termination handling. After
2008 Mar 29
0
GCC/ELF Visibility patch
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility
information to all symbols exported from libspeex.so and libspeexdsp.so.
It includes a configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2010 Apr 10
2
Is Speex 1.0 and >=1.1 compatible?
Hi list,
I'm trying to figure out how to do the most compatible implementation that will
work with as many versions of Speex as possible. I am streaming multi frame
Speex blocks over a TCP connection which works fine as long as the version of
Speex is the same on both sides. When using a newer Speex (1.1.?) to encode
and an older version to decode (1.0.5), it does not work.
The encoder
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility information
to all symbols exported from libspeex.so and libspeexdsp.so. It includes a
configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2007 Feb 09
1
speex in C# please help
hello guys this is my code for the C# wrapper.
=================================
using System;
using System.Runtime.InteropServices;
using System.IO;
namespace Speex
{
///<summary>
///the following class is the win32 SPEEX API that retrieve
///methods and structures from the libspeex file
///</summary>
public unsafe class Speex_win32
{
#region Speex Constants
//global speex
2006 Dec 09
1
New function for manipulating SpeexBits
It would be nice to have the following function added to the speex
bits...
void speex_bits_read_from_buffer(
SpeexBits * const bits,
void * const buff,
const int buf_size)
{
bits->bytes = (char*)buff;
bits->buf_size = buf_size;
bits->nbBits = buf_size << 3;
bits->bytePtr = 0;
bits->bitPtr = 0;
bits->owner = 0;
2005 Apr 04
1
tgAudioCodec.zip
Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> wrote:
>
> > 1) Supporting the various versions of Speex is a nuisance, mainly
> > because there is no #define or API call to query the version.
>
> It is possible to get the version using speex_lib_ctl(int request, void
> *ptr). Possible requests are SPEEX_LIB_GET_MAJOR_VERSION,
> SPEEX_LIB_GET_MINOR_VERSION,
2005 May 25
2
Speex on TI C6x, Problem with TI C5x Patch
Stuart, Jean-Marc,
>> 1) We need our own "fixed_xx.h" header file. I don't know why, and
>> haven't
>> had time to investigate, but there is a definite improvement when I use
>> the
>> attached fixed_c55x.h file which has turned all the maths into inline
>> functions.
>
> Did you try with fixed_generic.h or just with fixed_debug.h?
2005 Apr 26
1
tgAudioCodec.zip
I have (finally) posted my Speex wrapper classes. They are at:
http://www.grandgent.com/spx/tgAudioCodec.zip
I followed your recommendations and they worked fine with 1.1.0.
However, I'm still having the same problem with 1.1.7 that I had the
last time I tried to upgrade. I'm using the same code with both versions,
except for calling speex_encode_int instead of speex_encode, and
2004 Aug 06
1
draft-herlein-speex-rtp-profile-01
Ok, I figured it out. :) This seems to work:
1) Call speex_bits_read_from() once, specifying the location in
memory of the compressed data, and the total length of that data.
2) Keep calling speex_decode() until speex_bits_remaining()
returns 0.
Then you don't have to keep track of the # of frames per packet,
or the size of each compressed frame. It's done magically by the
codec.
2005 Aug 29
1
Bug in decoding
Hi everyone,
I think I just found a bug (which is easy to avoid if you use Speex the
"standard" way). I'm writing a wrapper-dll in C# for Speex and it's up
and running. However, I had some problem with the wrapper (Garbage
Collector-related) so I found out that if I created a new decoder every
run, everything worked smoothly. What I also discovered was that the
sound quality
2008 Jul 30
1
Speex in VB .NET
Hi there,
I have searched what seems like everywhere and was unable to find a .NET wrapper so that I can use speex in VB. I did find a speex.NET.dll but this didn't seem to work on what I needed.
I therefore decided I could just use DllImport within VB .NET and create my own unmanaged links to libspeex.dll.
With the help of this partial c# code
2005 Feb 09
1
encoding speex, (insanity looming)
Hi Tom,
Thanks for your reply, I'm having a few difficulty's following you
advise. You mention that I should be calling 'speex_encoder_int' &
'speex_decoder_int', I'm having problems finding these functions in
the speex header. I am currenlty calling speex_encoder_init &
speex_decoder_init in my test code, I have repeated the relevent bits
of the example
2006 Dec 29
0
using speex in C#
Hi SAITAMA Taro,
I have been using speex-1.2beta1 dll in our voice application written with
C#. In order to use Speex correctly firstly I advice to you examination
speexenc and speexdec projects.
I have used unsafe code and fixed statements in C#. I have added following
method to library and I used that instead of speex_encoder_init simply.
void *speex_encoder_init_new(int modeID)
{
const
2004 Aug 06
1
speex_bits_pack optimizations...
another optimization you can do for packing bits together...
the original one is :
-------------------------------------------------------------------------------------------------------------
void speex_bits_pack(SpeexBits *bits, int data, int nbBits)
{
int i;
unsigned int d=data;
if (bits->bytePtr+((nbBits+bits->bitPtr)>>3) >= bits->buf_size)
{
//remain
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
Hi,
Sorry! Marc Gimpel. I wrote it in a false thread before. It was my
first time. :-)
I have to write a small programm which should be able to record speeches
and in addition synchronize the recorded speeches with measuring data.
My idea is to record the speech in the normal way with speex and without
ogg. If a sync message was received, i write a custom in-band messages
using mode 13