similar to: Sample code for streaming from a file

Displaying 20 results from an estimated 5000 matches similar to: "Sample code for streaming from a file"

2007 Dec 25
1
Sample code for streaming from a file
It's not by much but the little piece of the puzzle I haven't been able to figure out is how to write the function that will read out a small chuck, process it, and then exit. This function would then be called continuously to process another small chunk when the previous chunk is done playing. I've already tried separating out that bit of code in speexdec to no avail.
2008 Jan 18
1
Questions about the Xcode projects and a bug found
What is the difference between Speex. xcodeproj and Speex_UB.xcodeproj? In building the Speex framework, I noticed that Speex_UB.xcodeproj is including several files that don't exist anymore as well as missing files that were added since it was last updated. Also, modes_wb.c is not included in either framework project which causes a link error when I call speex_lib_get_mode().
2008 Jan 26
1
How do I seek back to the beginning of a speex file?
Okay, I feel really stupid here but I've been unable to figure out how to easily seek within a speex file so that playback starts from the beginning. I've scoured the mailing lists for solutions and the best that I could come up with was to see what libvorbis was doing when it performed a seek inside of an ogg stream but it looked rather complicated for what I want to do. Does
2008 Feb 03
0
Re: How do I seek to the beginning of an ogg stream? (Vince Tagle)
On 2/2/08, ogg-dev-request@xiph.org <ogg-dev-request@xiph.org> wrote: > > Send ogg-dev mailing list submissions to > ogg-dev@xiph.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xiph.org/mailman/listinfo/ogg-dev > or, via email, send a message with subject or body 'help' to > ogg-dev-request@xiph.org >
2003 Mar 03
2
printer configuration issue
I've installed Samba 2.2.7a on my SuSE 8.1 system in an effort to persuade it to act as a print server on my LAN, which consists of it and 6 Windows desktops of various flavors. Right away it seemed to allow file sharing and printing from DOS and became browsable from the Network Neighborhood, but I can't get it to print from Windows. I keep getting a Status of "Access denied,
2006 Aug 17
2
validates_associated bug?
i seem to be experiencing a bug where rails tells me that my organization object''s associated credit card is invalid (activerecord validation-wise invalid), when i know it to be valid. this happens only if i tell the organization to validate_associated :credit_card. i know the associated credit card is valid, because a) that credit_card object itself throws no validation errors, and b)
2010 Apr 29
4
Simple example of decoding streaming audio realtime?
Hi, I'm new to Speex and a little uncomfortable in C programming. I'm looking for a simple example of how I'd use Speex to decode a speex file read off of an network stream and pass the decoded samples to an audio player. I have speex running in an iPhone project and I started digging thru the speexdec.c example trying to refactor as I made sense of the API calls. The example is a
2016 Jul 08
3
failure with latest cross compiling
As a note, with the latest versions, I get this "new" failure, when cross compiling for windows using mingw: CCLD speexdec.exe speexdec.o:speexdec.c:(.text+0x4af): undefined reference to `_imp__waveOutGetNumDevs at 0' speexdec.o:speexdec.c:(.text+0x54d): undefined reference to `_imp__waveOutOpen at 24' speexdec.o:speexdec.c:(.text+0x5aa): undefined reference to
2016 Jul 11
1
failure with latest cross compiling
Hi Roger, > > On Fri, Jul 8, 2016 at 6:41 PM, Roger Pack <rogerdpack2 at gmail.com> wrote: >> As a note, with the latest versions, I get this "new" failure, when >> cross compiling for windows using mingw: >> >> CCLD speexdec.exe >> speexdec.o:speexdec.c:(.text+0x4af): undefined reference to >> `_imp__waveOutGetNumDevs at 0'
2011 Sep 15
2
Dragonfly and Zip uploads
I''m poring through the Dragonfly source code right now, trying to get a handle on how to apply the following technique there: Client uploads a Zip archive containing N images, PDF files, text files, etc. When that file arrives at the server, but before it is stored as an attachment to the current object, the Zip is burst open, contents are iterated over, and each contained file is saved
2011 Jan 04
1
Question About Conferencing Capabilities
My company is building a VOIP application, and initially were just using a barebones OpenSIPS implementation to host one-on-one calls; however, we want to expand the functionality to conferencing (which, of course, OpenSIPS doesn't handle) and was looking into Asterisk (the other option being Freeswitch). I've been poring through the docs, and have even set up a test server myself, but
2007 Oct 10
2
compilation errors netbsd
hello, i am experiencing some persistent compilation errors with both the 1.2beta2 release and the svn speex-trunk: ====================== speexdec.o(.text+0x23b): In function `out_file_open': /speex-trunk/src/speexdec.c:158: undefined reference to `_oss_ioctl' speexdec.o(.text+0x268):/speex-trunk/src/speexdec.c:168: undefined reference to `_oss_ioctl'
2008 Apr 20
1
Attempting to sync x-axis labels with grid lines in lattice bwplot
I have created a lattice bwplot that suffers from axis label overplotting. The box plot contains grid lines, and I thought that only plotting the labels for corresponding vertical grid lines would not only cure the overplotting but also be more aesthetically pleasing. Unfortunately hours of poring over manuals, documentations, mailing list archives, and other R-related text hasn't helped.
2004 Aug 06
2
Error in compiling Speexdec code (Speex-1.1.5 code) on Windows usingVC++6.0
Hi Chris, Thanks a lot for your help. I've been able to resolve all the errors except one. I don't have ogg.h header file, so when I try to build Speexdec.exe, I get an error d:\speex\speex-1.1.5\src\speexdec.c(44) : fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory I don't have this file, but as I wrote in my previous mail, an ogg_static
2008 Apr 01
2
speexdec 1.2.3
Dear Speex codec community: I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any pointer to web or file of instruction is appreciated. Attempt (one long command line, failed): type d:\test.spx | "d:\speex 1.2.3\bin\speexdec.exe" - -
2018 Feb 09
3
[PATCH]Add address overflow check
Hi, I came into a crash when using 32-bit `speexdec` and found that there's an address overflow in function `print_comments()`: static void print_comments(char *comments, int length) { char *c=comments; int len, i, nb_fields; char *end; if (length<8) { fprintf (stderr, "Invalid/corrupted comments\n"); return; } end = c+length;
2007 Oct 11
1
compilation errors netbsd
hello again, on NetBSD the library ossaudio needs to be linked in for speex to build. i did it by hand in the src/Makefile by altering LDFLAGS to "-lossaudio". it now compiles properly. thanks for your time, b On 10/11/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > > Seems like NetBSD doesn't like the ioctl calls. Maybe you need to link > with another
2006 Oct 03
3
How to get podcasters to adopt Speex?
Please consider using 16-bit 16kHz (wideband) instead. It's a huge increase in audio quality and the bitrate is still very low, especially if you take advantage of Speex features such as VBR. 8kHz seems totally inappropriate to me for desktop streaming audio, let alone 8-bit samples. Or perhaps your recording equipment is an original Sound Blaster from 1989? (Even that could record at
2004 Aug 06
1
patch for compiling on IRIX
The following patch (based off of the current CVS tree) is necessary to compile Speex on IRIX (or any other system that doesn't include getopt_long in the system libraries). I would suggest further that src/getopt_win.h be renamed to getopt_long.h since it's not just Windows that lacks getopt_long. Michael Index: configure.in
2009 Aug 31
2
streaming speex frames
Hi, I want to stream a file encoded in speex frame by frame (like a phone). I don't want to decode it, nor encode it. I have a speex file on disk and need to stream it one frame at a time. Speex frame size are dynamic (silence is compressed, VBR, etc.) so I need the speex specification to know how to read different frame "types". I've looked at the speex manual, but it's