search for: getcurrentposition

Displaying 8 results from an estimated 8 matches for "getcurrentposition".

2005 Jun 23
0
Speex and DS
For any kind of capture with computation, you need to use the DS concept of read and capture positions. Basically, allocate a DS capture buffer of at least 2 * framesize * sizeof(short), preferably 4 * framesize or so. Keep calling pDSCaptureBuffer->GetCurrentPosition(&dwCapturePosition, &dwReadPosition) When dwReadPosition has changed enough since the last processed frame that there's a whole frame ready, lock the region from dwLastFrameReadPosition to dwReadPosition. Never lock the entire buffer, that will halt capture while you compress. Copy...
2005 Jun 23
2
Speex and DS
Hello everyone I've a following problem with the speex codec. I'm developing application that is supposed to read sounds from the microphone with DirectSoundCapture. Unfortunately when I want to compress and decompress the sound buffer from DirectSound I only have jitter. Maybe you have some code samples how to compress standard DS buffers: LPDIRECTSOUND8 lpDS = NULL;
2020 Aug 01
0
Wine release 5.14
...no longer used callbacks. strmbase: Get rid of BaseRendererImpl_Receive(). strmbase: Wait for presentation time after rendering the first sample. quartz/vmr9: Signal state change completion only after PresentImage() has been called. quartz/tests: Add tests for IMediaSeeking::GetCurrentPosition() and EC_COMPLETE interaction. quartz: Return the stop position from GetCurrentPosition() after all filters return EC_COMPLETE. wine.inf: Map CursorBlinkRate to the registry. wine.inf: Map the Windows section of win.ini to the registry. quartz/vmr9: Return E_INVALIDARG if bo...
2013 Mar 15
0
Wine release 1.5.26
...msvcrt: Fix incorrect casts in _wcstoi64_l and _wcstoui64_l. Alessandro Pignotti (4): strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. qedit: Implement IMediaSeeking and IMediaPosition in sample grabber. quartz: The filter graph manager should handle GetCurrentPosition itself. strmbase: Frame scheduling should use IMediaSample::GetTime. Alexandre Julliard (22): vbscript: Tweak enum macros to avoid confusing winapi_extract. gdi32: Store the font stat information when loading it. gdi32: Increment the face refcount when loading the same font...
2019 Nov 01
0
Wine release 4.19
...: Handle stateblocks in d3d9_device_SetTextureStageState(). d3d8: Handle stateblocks in d3d8_device_SetTextureStageState(). quartz/filtergraph: Iterate filters directly in IMediaSeeking::SetPositions(). quartz/filtergraph: Store the current position and return it in IMediaSeeking::GetCurrentPosition(). quartz/filtergraph: Set the current position in IMediaFilter::Stop(). quartz/filtergraph: Pause the graph even if AM_SEEKING_NoFlush is used. quartz/filtergraph: Clarify stream time tracking. strmbase: Return S_FALSE from IBaseFilter::Pause() when performing asynchronous...
2020 Oct 23
0
Wine release 5.20
...ws2_32/tests: Fix an intermittent test failure on w10pro64. ws2_32: Use server-side async I/O in AcceptEx(). ws2_32: Use server-side async I/O in accept(). server: Forbid accepting into the same socket more than once. quartz: Return the paused timestamp from IMediaSeeking::GetCurrentPosition() if the graph is running asynchronously. winegstreamer: Respect integer promotion rules when clamping timestamp + diff. winegstreamer: DirectShow and GStreamer proportions are inverted with respect to each other. quartz/tests: Use compare_double() to test IBasicVideo::get_AvgTime...
2008 Apr 04
0
Wine release 0.9.59
...uartz: Play silence in directsound renderer on end of stream notification. quartz: Forward requests for MediaSeeking from all pins properly. quartz: Silence requests for ipin on filters. quartz: Change name from Start position to Current position in MediaSeeking. quartz: Add GetCurrentPosition using the reference clock. quartz: Check against a null dereference and don't read beyond the end of file. winemp3: Replace fprintf with wine debugging facilities. quartz: Small mpeg splitter fixes. quartz: Allow parser filters to implement their own seeking methods....
2010 Jul 30
0
Wine release 1.3.0
...of int $0x80. ntdll: Use syscall instead of int $0x80. mmdevapi: Blacklist portaudio. quartz: Fix flushing in dsound renderer. quartz: Accept tiny discontinuities in video renderer without printing out an error. quartz: Make it possible to just override IMediaSeeking::GetCurrentPosition. quartz: Implement MediaSeekingPassThru. quartz: Add support for renderer methods to MediaSeekingPassThru. mciqtz32: Remove individual queryinterfaces. mciqtz32: Add support for mciWindow. mciqtz32: Add support for MCI_STATUS_MODE. mciqtz32: Simplify mciWhere....