Displaying 20 results from an estimated 5000 matches similar to: "windows buffering example"
2003 Oct 17
3
Streaming audio to the waveout device
Hi,
Please excuse my ignorance but I'm having trouble with a very basic matter:
I'm using vorbisfile to stream audio to the waveout device in Win32 (using
waveOutWrite). I'm basically reading packets from an ogg file and streaming
them using a simple buffering scheme. The thing is, this works great when
the bitrate is more or less constant but the audio sounds garbled if there
is a
2001 Mar 14
2
Playing Problems :(
Hi all!
I've problem with playing ogg files. I'm triing to use tripple buffer
method:
+-------------+
+-| buffer 1 |-+
| +-------------+ |
| |
| +-------------+-+
| | buffer 2 |
| +-------------+-+
| |
| +-------------+-+
2012 Dec 05
7
ov_open_callbacks takes so much time to open 210 MB OGG file
Why ov_open_callbacks(fd_, &vf, NULL, 0, OV_CALLBACKS_NOCLOSE) takes so
long to open OGG file?
The OGG file has just 210 MB. It takes a lot of time open the file.
I am working on OGG audio recorder and player.
Thanks in advance!
With kind regards,
Pavel
2002 Mar 21
1
Ogg Vorbis and DirectSound streaming
hi,
I downloaded the vorbis-sdk-1.0rc3 and wrote an application that plays ogg
files using DirectSound(win32 application). It uses streaming technique -
I'm implementing and passing IStream interface to the DirectX. The interface
is used by DirectX to fill his buffers during playing. DirectX is assuming
that it's readind from a wav file, so the interface decodes on-the-fly so
that
2001 Sep 25
2
Couple more problems (ov_open_callbacks)
I'm in the final throes of debugging (hopefully) and the last thing I'm
trying to do is figure out why I'm getting static instead of usable
data. I have a verified Ogg file (it plays fine in WMA); I've visibly
inspected the info struct and it matches my output format; I've verified
my audio playback code by using a generated sine wave (sounds correct).
So that leads to a
2004 Apr 12
3
Decoding with 8 bit-samples
Hi!
I'd like to make a stereo 8-bit wav file
from a stereo (16 bit) ogg vorbis file
(in delphi, with the vorbisfile).
I use:
ret := ov_open_callbacks(filein,vf,nil,0,ops_callbacks);
if ret = 0 Then
begin
fileOut := TFileStream.Create(savedlg.FileName,fmCreate);
repeat
ret := ov_read(VF, pcmout, BufferSize, 0, 1, 1, nil); //'cause of the 8-bit
2001 Jun 27
1
Simple player example?
I am starting a small personal project (for some Thesis work) involving
some audio, and I am wanting to use Vorbis. While I am a programmer, I
have not dealt with audio before so I am trying to find good resources
to learn how to get Windows to play the sounds I want it to.
Are there any simple Vorbis players out there that are open source? I
know of FreeAmp, but it is 1000x more
2008 Mar 31
1
AsterPas ObjectPascal Based FastAGI Server goes Open Source
Announcement:
We are pleased to announce that we have released AsterPas FastAGI ObjectPascal
Script Server for Asterisk PBX under xxxx license.
What is AsterPas?
AsterPas is a FastAGI server which allows real-time scripting of Asterisk PBX
call flow using ObjectPascal based scripting.
AsterPas includes many built objects available from scripts such as Cepstral TTS
Engine class, database access
2001 Sep 25
2
Controlling
More newbie questions, please bear with me =)
I've got my high level code pretty well structured, and I'm now trying
to decode vorbis streams on the fly using the ov_open_callbacks()
routines. I can't seem to figure out how to tell it what output format
I want -- is this possible? For example, I would like to be able to
specify number of channels output (e.g. stereo vs. sum-to-mono
2009 Mar 24
5
Wine apps in realtime,possible?
Hi All
I need a sound application which is cpu heavy,to run in real time.Im guessing it would eliminate skipping sound when I open other windows etc.
Is there a way of running wine apps in real time?
[Question]
2004 Oct 11
1
Streaming API?
I'm new to Speex and was wondering if there is a nice streaming API similar
to Vorbis' "ov_open_callbacks", "ov_read", "ov_time_tell", etc.
If not, is there an easy way to get Speex streaming from files?
My appologies if this has already been answered a million times, but the
archives aren't currently accessable!
Thanks,
Kevin
-------------- next part
2003 Feb 27
1
ov_open from memory
Hi folks,
i would like to know if it is valid to load a whole .ogg file into memory
and call ov_open like this:
ov_open(NULL, &OggVorbisFile, pRawData, RawDataLen);
An other question is, is it valid to copy some ogg files into one (resource)
file, position the filehandle and use ov_read to read only the ogg file
which starts at the current position of the file handle? (In other words,
does
2007 Nov 04
2
WaveIn/WaveOut and Speex
Thank you for such a quick response.
The only reason I started with Char buffers is because WaveIn and WaveOut on Windows XP accept/emit WAVEHDR structures, which store audio data in LPSTR, which is Char*.
typedef struct {
LPSTR lpData;
DWORD dwBufferLength;
...
} WAVEHDR;
When I was going from Char to float and back looked very wrong to me as well, but I was just not
2007 Nov 04
3
WaveIn/WaveOut and Speex
Hello,
I know my question has been asked before because I spent the last week
searching the web for how to use Speex in combination with
WaveIn/WaveOut and I ran into a few posts, but none of them answer the
question. There is still a lot of confusion how to use WaveIn/WaveOut
and Speex by junior developers such as myself. Even after examining code
for SpeexDec and SpeexEnc, I cannot get clear
2006 Sep 14
2
ov_open_callbacks() performance & memory requirements
Hi guys,
I'm writing a sample playback engine using vorbisfile, but I've hit a
performance problem - hoping someone here can help!
I'm using ov_open_callbacks() to decode memory-based ogg files. It works
OK, but when I call ov_open_callbacks() approximately 300k of memory is
used (presumably to initialise the decoder). It also takes some time to
execute ov_open_callbacks() - the read
2005 Nov 05
1
Ogg files versus Ogg streams
Hi all,
I'm very new to Ogg, and am learning about it in an attempt to stream it
from a CF card through a microcontroller. This particular setup requires
me to move parts of the file from the CF card to the microcontroller
buffer, effectively making the file like a data stream. Also, should this
question be directed at the Tremor group instead since that is the codec
I'm using? It
2009 May 08
4
monitoring traffic through shorewall
Dear All,
I have been using -- shorewall-4.0.14-1 on Centos 5.2 and its been working
just great.
i would like to monitor shorewall traffic ( i mean the allowed and dropped
traffic passing through my firewall )with a browser from any location
apprecite if someone could help me or advice me which software or add on
utility would do the above.
really apprecite
thanks nd regards
simon
2007 Nov 05
2
WaveIn/WaveOut and Speex
Evgueni,
Don't listen to this guy. The last thing someone confused about types
should use is a union. Listen, whatever types you're using, you're just
dealing with data in memory. For an array, it's just a big block of data in
memory. You need to know how that data is stored in memory. For audio data,
WAVEFORMATEX tells you that with its contents. Don't let types
2000 Aug 07
1
Starting at square one with Vorbis...
I want to use Vorbis to stream music off the HD in my
DirectX app. Currently, we have a generic streamer that
writes raw digital sound data into the primary sound
buffer. We plug sound sources (e.g. wav files, PCM files)
into this streamer by having the sound sources have
an interface something like this:
class SourceDataSourceInterface{
virtual bool Init(char* pSource) = 0;
2009 May 13
1
shorewall + openvpn: address rewriting
I have two sites connected via openvpn. Both routers are running
shorewall. Behind Network A is a SIP Phone which tries to register
with an Asterisk PBX in Network B.
I see in the log of the SIP device, that it is sending SIP packets
with its internal assigned address 192.168.1.11. The router at Network
B logs these SIP packets coming from the external IP address of Router
A, and not