search for: bytearrayoutputstream

Displaying 3 results from an estimated 3 matches for "bytearrayoutputstream".

2007 Jun 24
0
JSpeex help
...> Subject: [speex-dev] JSpeex help > To: speex-dev@xiph.org > Message-ID: <1182500469.16229.denwebmail-2000000000@mail-box@nm.ru> > Content-Type: text/plain; charset="koi8-r" > > Hello, > > I have a java applet which currently either captures audio in a > ByteArrayOutputStream or writes the capture as a PCM wave file. > > I want to be able to encode the data using Speex, for playback and/or > saving for use later. > > I've looked around the 'net and havent had much luck finding anywhere > for detailed information on integrating Jspeex into a Jav...
2010 Aug 27
0
Question about encoding
Hey there =] I intend to develop a voip application using the Jspeex (Java implementation of Speex) library. At this point, the progrm can capture the voice from the microphone to an "ByteArrayOutputStream" object and play it back. I`m willing to add the encode\decode features of Jspeex but I can't make it to work, I`m probably missing somethnig. The code (Part of it) : ----- speexEnc = new SpeexEncoder(); speexEnc.init(0, 5, 8000, 1); //narrrow-band, 5 quallity, 8khz, 1 channel speexEn...
2008 Apr 15
4
trouble streaming images with send_data
...bi = b2 biFiltered = bi end rescue $stderr.print "Couldn''t load file" end big.drawImage(biFiltered, java.awt.geom.AffineTransform.getScaleInstance(2, 2), nil) os = java.io.ByteArrayOutputStream.new begin isWritten = javax.imageio.ImageIO.write(biFiltered, "jpeg", os) rescue $stderr.print "Couldn''t write file" end if isWritten send_data "os.toByteArray", :type => "imag...