|
|
Choosing A Webhost: |
SV: framesize v/s audio buffer size: msg#00015audio.compression.speex.devel
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> |
|---|---|---|
| Previous by Date: | framesize v/s audio buffer size, Eric Ross |
|---|---|
| Next by Date: | Some simple questions, John Haugeland |
| Previous by Thread: | framesize v/s audio buffer size, Eric Ross |
| Next by Thread: | Some simple questions, John Haugeland |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |