Displaying 20 results from an estimated 1000 matches similar to: "Problems with Speex Libary"
2017 Nov 03
1
[PATCH] Check for _WIN32 instead of WIN32 in preprocessor checks
_WIN32 is always defined by the compiler automatically when targeting
that platform, while WIN32 only is defined automatically in some
configurations, and e.g. in MSVC only ever is defined in project files
(if at all).
Some other checks in the codebase already check for both WIN32 and
_WIN32; those are left untouched.
---
include/speex/speex.h | 2 +-
libspeex/stack_alloc.h | 2 +-
2011 Nov 16
0
Just getting noise
At just a first quick glance, I'm pretty sure that you don't want to be
creating and destroying the speex encoder/decoder with each frame. That's
supposed to stay the same for more-or-less the entire session.
Ken Smith
Cell: 425-443-2359
Email: ken at alanta.com
Blog: http://blog.wouldbetheologian.com/
On Wed, Nov 16, 2011 at 2:52 PM, Christopher Schaefer <disks86 at
2011 Nov 16
2
Just getting noise
I'm completely new to speex and I'm having issues adding it to my
application. I can pass raw PCM and that works fine so I know my
transmission code is fine however when I try to encode/decode using
speex I get noise almost like a whining/buzzing sound. I'm sure it's
and issue in my code but I'm not sure where to start looking other
then my gut tells me I'm not sizing or
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
2009 Feb 03
0
Problems with Speex Libary
Hello,
today I try to compile a test-file from the Documentation.
I link the libarys correct but have only one error in this line:
state = speex_encoder_init(&speex_nb_mode);
The error:
main.cpp|21|undefined reference to `speex_nb_mode'|
The linking libarys:
"libspeex.lib" "libspeexdsp.lib"
I ask in more c++ boards, but nobody can help me.
Hopefully I ask the
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
2011 Nov 16
0
Just getting noise
The way I do this is to compute the number of frames (by dividing the
size of my input by the number of bytes per frame and then calling
speex_encode_int() that many times. Something like
speex_bits_reset( &bits );
for( n = 0; n < num_frames; ++n )
{
speex_encode_int( enc_state,
(int16_t*)input_tail,
2004 Nov 03
2
libspeex.dll
hello,
we start to develop an open source project. This project is a VoIp
application
with the same features like "Teamspeak" (http://www.goteamspeak.com).
Our test application run in peer to peer mode under windows 2000 and above.
At the moment we are using the gsm codec (13 kbps bandwidth). Later there
will be a port for *unix systems. As aforementioned the project will be
released
2005 Jun 22
1
Newbie - Encoding PCM
Hi all,
i've to encode voice from a voicemodem. I choose speex 1.0.5 for its quality
in voice encoding. I've tried to implement an encoder but unsuccesfully.
Here's my code:
/* ============ SPEEX stream ENCODER
============================================ */
int SPEEX_EncodePCM(struct _IDA_ClientSocket *IDA,char *buffer,unsigned char
*PCM,int num_samples) {
/* buffer point to the
2005 Aug 11
1
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font size=2>Hi! I excuted
2005 Dec 10
0
Labview to speex interface
I working on a Labview application for an audio server with multiple
clients and I would like to interface with the speex codec using the
Labview call library function. I'm having some difficulty since I have
not worked with C for over 12 years and am quite confused on the best
way to link into the DLL exports. Has anyone developed Labview VI's for
this purpose?
Also I have attempted to
2005 Aug 10
0
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font
2011 Nov 16
2
Just getting noise
Alright noted, I changed me code so that the state is created in the
constructor and destroyed in the destructor of the object. However I'm
still getting the same issue although I'm sure that would have bit me
sooner or later.
The new code is as follows.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
short *in=(short*)inputBuffer;
2011 Nov 17
1
Just getting noise
I'm only doing one frame using speex_encode_int greatly simplifies my
code I'm not sure why the sample I was working off of was converting
the shorts to floats then calling the other encode/decode methods.
Based off of your suggestions I tried the following but I get the same
result.
virtual Enigma::u8* Encode(Enigma::u8* inputBuffer,size_t inputSize,
size_t& outputSize)
{
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
2009 Apr 13
0
encoding -> decoding doesnt work
hi all,
i'm new to speex and i'm stuck on a problem. I have a buffer that holds 5
seconds of audio data, sampled at 16000 hz and quantitized with 16 bits pcm.
I only want to encode it with speex and then decode it and write it back in
the same buffer.
no compiling errors and no errors during runtime, but from the sample of 5
seconds only a short noise is all I get.
I hope you have any
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
Anton A. Shpakovsky <saa <at> tomsksoft.com> writes:
>
> As for me - speex_echo_cancellation is a better choise. Try using it in
> capture thread instead
> of those speex_echo_capture and speex_echo_playback functions.
>
> And please, describe your problem in details. Cause the fact that you
> "didn get echo cancellation"
> doesn't mean you are
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
2006 Dec 28
0
using speex in C#
Hi,
I have read the message below,
http://lists.xiph.org/pipermail/speex-dev/2006-October/004924.html
and try to use P/Invoke to use speex in C#.
This is a part of my code.
[StructLayout(LayoutKind.Sequential)]
public struct SpeexBits {
IntPtr chars; // "raw" data
int nbBits; // Total number of bits stored in the stream
int charPtr; // Position of the byte
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