Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

SV: framesize v/s audio buffer size: msg#00015

audio.compression.speex.devel

Subject: SV: framesize v/s audio buffer size

Hi,
The most obvious solution would be to use an audio buffer of 160 x N
instead of 512 bytes. About your soundcard you should disable that
threshold feature (of which I've never heard).

What kind of a soundcard do you have?

//Best Regards Jonas Tärnström


> -----Ursprungligt meddelande-----
> Från: owner-speex-dev@xxxxxxxx [mailto:owner-speex-dev@xxxxxxxx] För
Eric
> Ross
> Skickat: den 13 september 2003 02:40
> Till: speex-dev@xxxxxxxx
> Ämne: [speex-dev] framesize v/s audio buffer size
>
> Hello all..
>
> Im new to speex, and im trying to use it in my application to transmit
> speech over multicast.
>
> I've done some test, but i have some questions. First, I'm reading
audio
> with a buffer of 512 bytes, but the speex frames are 160 (using
> SPEEX_GET_FRAME_SIZE), so i have to manually divide the 512 bytes (256
> 16bit samples) in blocks of 160 float samples. Using 1 frame, i
dispatch
> the first 160 samples, but there are 96 (256-160) samples remaining.
What
> can i do with them ? I need to send them as soon as posible, so i
guess i
> cant just wait until the next audio buffer comes to push the data
inside
> the codec. I dont even know if the sound card will produce more audio
> because before getting here, the audio have to pass some noise level.
If
> the audio is not louder enought i will not get any data.
>
> Any ideas ?
> Thanks in advance.
>
>
> --
> The names of their development products, visual this, visual that,
almost
> makes one think that you can create software just by looking at your
> computer
>
>
>
> --- >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@xxxxxxxx'
> containing only the word 'unsubscribe' in the body. No subject is
needed.
> Unsubscribe messages sent to the list will be ignored/filtered.



--- >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@xxxxxxxx'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation