Andrew Eikum
b5f2833dbe
quartz: Use correct scale for quality control proportion.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:05 +09:00
Thomas Faber
7f9a63e5fd
quartz: Avoid empty initializer braces.
2015-02-17 22:04:30 +09:00
André Hentschel
bf12844bf1
quartz: Remove unused code (Clang).
2014-12-02 10:48:37 +01:00
Erich E. Hoover
dd32785772
quartz: Fix race condition between EndOfStream and Pause.
2014-08-05 17:41:36 +02:00
Erich E. Hoover
126a420c56
quartz: Fix race condition on EndOfStream between csRenderLock and filter.csFilter.
2014-08-05 17:41:26 +02:00
Thomas Faber
7944ca4855
quartz: Correct IAMDirectSound::GetFocusWindow signature.
2013-07-30 20:55:32 +02:00
Nikolay Sivov
17450f0be0
quartz: Use proper method macros.
2012-08-15 12:17:54 +02:00
Aric Stewart
a6dbc28bfe
quartz: Handle a crash and race condition that occurs on directsound renderer input pin disconnect.
2012-05-14 12:06:15 +02:00
Aric Stewart
fb42513a03
quartz: Reinstate DSoundRender_Pause.
2012-05-14 12:06:15 +02:00
Aric Stewart
821b8a834c
quartz: Some cleanup around evComplete now that DSoundRenderer uses baseRenderer.
2012-05-14 12:06:15 +02:00
Aric Stewart
f58c9661a4
quartz: Have DSoundRenderer use strmbase BasicAudio.
2012-04-30 11:00:26 +02:00
Francois Gouget
a3da9a7ab4
quartz: Mark a bunch of functions as static.
2012-04-20 12:00:16 +02:00
Aric Stewart
5bc4c1591a
quartz: COM cleanup for DSoundRenderImpl.
2012-04-04 17:49:05 +02:00
Aric Stewart
56477075c2
strmbase: Remove QualityControlImpl from the general strmbase.h.
...
Quality Control things are not part of the standard strmbase library set.
2012-04-03 12:19:17 +02:00
Aric Stewart
54eafc73e5
strmbase: Implement renderer quality control into the base renderer.
2012-04-03 12:10:33 +02:00
Aric Stewart
821ead201d
quartz: Convert DsoundRenderer to use strmbase BaseRenderer.
2012-04-02 14:01:27 +02:00
Aric Stewart
cdf9c4f223
strmbase: Rename MediaSeekingPassThru to RendererPosPassThru to match standard strmbase naming.
2012-03-15 19:50:39 +01:00
Aric Stewart
026037ab69
strmbase: Move the MediaSeekingPassThru functions from quartz into strmbase.
2012-03-15 19:49:21 +01:00
Marcus Meissner
82cd229cc2
quartz: Removed const from const REFIID (Coverity).
2011-03-14 19:31:29 +01:00
Austin English
a5c50a25fb
quartz: Avoid %L in traces (LLVM/Clang).
2010-12-23 13:47:25 +01:00
Maarten Lankhorst
220d610b3d
quartz: Handle EndOfStream more elegantly in dsound renderer.
2010-12-14 16:01:34 +01:00
Francois Gouget
0eb6e40720
Assorted spelling fixes.
2010-12-13 12:43:29 +01:00
Maarten Lankhorst
cfd4ed9018
quartz: Add quality control to sound renderer.
2010-12-02 12:47:41 +01:00
Maarten Lankhorst
072714f910
quartz: Allow stream time to go negative in sound renderer.
2010-12-02 12:47:40 +01:00
Maarten Lankhorst
97215773d1
Revert "quartz: Fill up sound buffer while in paused state.".
...
This reverts commit e591700177
.
It's not fixing the real issue, filling up buffer while paused is
actually capable of producing quite a few headaches to get it working
right.
2010-12-02 12:47:40 +01:00
Maarten Lankhorst
e591700177
quartz: Fill up sound buffer while in paused state.
2010-12-01 17:18:05 +01:00
Maarten Lankhorst
6e69cd4df4
quartz: Increase min_lag.
...
The max_lag variable determines how much fuzz is allowed between the
sound cursor and the scheduled times, some filters are inaccurate wrt
time and would skip and overwrite data otherwise.
2010-12-01 17:17:47 +01:00
Maarten Lankhorst
4881a354c2
quartz: Add support for advise functions in dsoundrender.
2010-11-30 13:53:28 +01:00
Maarten Lankhorst
9ff6c7d1c7
quartz: Silence fixmes in sound renderer.
2010-11-29 19:43:31 +01:00
Maarten Lankhorst
f4a0ca85af
quartz: Unset time in dsoundrender if it cannot be obtained.
2010-11-29 19:43:31 +01:00
Maarten Lankhorst
44a17d27bb
quartz: Handle state changes in direct sound renderer correctly.
...
Based on a patch from Vladimir Panteleev
2010-11-11 17:20:24 +01:00
Maarten Lankhorst
64b14c0ecd
quartz: Start DirectSound renderer as soon as possible.
...
Makes directsound switch to silent playback even when no buffers are
playing, fixes glitching on starting playback from a stopped buffer.
2010-11-11 17:08:47 +01:00
Maarten Lankhorst
79f1618828
quartz: Rework direct sound renderer rework to be more time aware.
2010-11-10 12:16:42 +01:00
Maarten Lankhorst
875faa3101
quartz: Use media time instead of stream time in directsound renderer.
2010-11-08 13:30:25 +01:00
Maarten Lankhorst
0196da9b4d
quartz: Add IAMFilterMiscFlags to directsound renderer.
2010-11-05 11:24:15 +01:00
Maarten Lankhorst
89223ff78b
quartz: Fix EC_COMPLETE handling on dsound renderer.
2010-11-05 11:24:08 +01:00
Aric Stewart
7602829c4f
strmbase: Add GetMediaType and GetMediaTypeVersion to BasePin function table.
...
Allows for more widespread use of the BasePinImpl version of EnumMediaTypes.
2010-10-14 17:54:51 +02:00
Aric Stewart
3c2dfd186a
strmbase: Standardize "class" function into functions tables in the structs.
...
This allows the standardization of the "class" functions to use the
class as the argument and will aid in expanding the implementation of
these functions.
2010-10-14 17:54:51 +02:00
Aric Stewart
791087089c
strmbase: Add an implementation of BaseFilterImpl_EnumPins.
2010-10-08 11:04:09 +02:00
Aric Stewart
1d42659c40
strmbase: Implement BaseFilter in strmbase.
2010-10-08 11:04:04 +02:00
Aric Stewart
66e1ad8a96
strmbase: Move InputPin implementation to strmbase.
2010-10-06 20:46:48 +02:00
Aric Stewart
0410e50e00
strmbase: Move BasePin implementation to strmbase.
2010-10-06 20:46:48 +02:00
Aric Stewart
bb110c7749
strmbase: Move enumpins from quartz to strmbase.
2010-10-06 20:46:47 +02:00
Maarten Lankhorst
deaeeb7183
quartz: Use MediaSeekingPassThru for DirectSound renderer.
2010-10-05 13:02:33 +02:00
Maarten Lankhorst
3658bf2367
quartz: Fix flushing in dsound renderer.
2010-07-28 13:32:28 +02:00
Michael Stefaniuc
63512e8e98
quartz: Avoid using the long type.
2010-05-20 13:47:44 +02:00
Gerald Pfeifer
cb469fec8b
quartz: Fix return value of DSoundRender_GetState.
2010-05-14 11:05:29 +02:00
Christian Costa
b47091a488
quartz: Add stubbed IAMDirectSound interface to DSoundRenderer.
2010-02-08 17:14:44 +01:00
Michael Stefaniuc
a3269bdc40
quartz: Change long to LONG in control.idl.
2009-03-11 13:03:31 +01:00
Michael Stefaniuc
cc7fc4abef
quartz: Remove superfluous pointer casts.
2009-01-29 14:06:01 +01:00
Maarten Lankhorst
b2d20154fa
quartz: Implement dynamic format changing in directsound renderer.
2008-10-22 11:53:39 +02:00
Michael Stefaniuc
5c0ff73db2
quartz: Add missing LeaveCriticalSection on error path (Smatch).
2008-07-11 14:07:25 +02:00
Maarten Lankhorst
adcf93aeaf
quartz: Fix deadlocks in dsound renderer.
2008-07-10 12:18:13 +02:00
Maarten Lankhorst
992fb02c73
quartz: Fix deadlock with transform filter.
2008-07-09 10:58:27 +02:00
Maarten Lankhorst
b6b67f698a
quartz: Implement state transitions in directsound renderer, and block on pause.
2008-07-04 19:50:04 +02:00
Maarten Lankhorst
e5767b1c02
quartz: Fix return values in directsound renderer.
2008-07-03 11:50:52 +02:00
Maarten Lankhorst
3bda54bb04
quartz: Downgrade a fixme to a warn in dsoundrender.
2008-06-26 12:44:20 +02:00
Maarten Lankhorst
33294331d2
quartz: Remove dead code from DSoundRender.
2008-06-25 10:41:47 +02:00
Maarten Lankhorst
d283bcdb62
quartz: DSoundRender shouldn't delete buffer when already connected.
2008-06-24 11:47:19 +02:00
Maarten Lankhorst
e8705402a4
quartz: Add the ability to force a pin to use a certain renderer.
2008-06-21 11:14:58 +02:00
Maarten Lankhorst
40c0566879
quartz: Improve the directsound renderer a bit.
2008-06-19 11:42:08 +02:00
Maarten Lankhorst
7934951343
quartz: Make the EnumPins interface dynamic.
...
Take a reference to the ibasefilter and request it for the pins and a
cookie. This seems to be the easiest way to ensure correctness.
2008-04-28 14:21:23 +02:00
Austin English
aab8fae59a
Spelling fixes.
2008-04-21 14:25:05 +02:00
Maarten Lankhorst
f9c2d8e2f4
quartz: Add some more tests and fix wine to pass them.
2008-04-21 14:05:38 +02:00
Maarten Lankhorst
810a933f68
quartz: Change longlong printfs.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
9d9bf6f158
quartz: Only drop Preroll samples after obtaining its time.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
d7fbc7ef8c
quartz: Drop preroll frames in directsound renderer too.
2008-04-21 14:05:37 +02:00
Maarten Lankhorst
a0e8b97ffe
quartz: Check for discontinuities in the directsound renderer.
2008-04-17 11:42:41 +02:00
Maarten Lankhorst
5fb4224f81
quartz: Silence requests for IVideoWindow.
2008-04-14 23:50:13 +02:00
Maarten Lankhorst
f2dccab7e3
quartz: Make the directsound renderer handle the Play->Pause->Play position without dropping data.
2008-04-09 12:07:21 +02:00
Maarten Lankhorst
de117c1eb5
quartz: Make the DirectSound renderer return S_FALSE packet if in the paused state.
2008-04-09 11:42:59 +02:00
Maarten Lankhorst
d1aa222e85
quartz: Make wait timeout in directsound slightly larger.
2008-04-08 12:20:55 +02:00
Maarten Lankhorst
01c6e64da6
quartz: Handle flushing and end of stream notifications for input pins.
2008-04-07 11:35:36 +02:00
Maarten Lankhorst
fab66ee7a0
quartz: Get rid of code duplication and add a flush method.
2008-04-07 11:34:59 +02:00
Maarten Lankhorst
db8b2ca7b4
quartz: Silence requests for ipin on filters.
2008-03-24 11:32:26 +01:00
Maarten Lankhorst
17a1c64686
quartz: Play silence in directsound renderer on end of stream notification.
2008-03-24 11:32:03 +01:00
Maarten Lankhorst
9ec4240065
quartz: Add mediaseeking stub to audio renderer.
2008-03-20 14:27:34 +01:00
Maarten Lankhorst
6d965b8fb6
quartz: Silence the directsound buffer on starting.
...
If the buffer is created and stopped, the contents of the buffer are
indeterminate, by zeroing it you won't get leftovers from last play.
2008-03-15 11:20:26 +01:00
Maarten Lankhorst
b5a8df58cb
quartz: Fix typo.
2008-03-14 12:58:00 +01:00
Michael Stefaniuc
41044dcd8c
quartz: Fix memory leaks on error paths. Found by Smatch.
2007-11-19 13:53:56 +01:00
Andrew Talbot
1f3133d214
quartz: Constify some variables.
2007-08-08 15:32:00 +02:00
Andrew Talbot
5ded3a9e88
quartz: Exclude unused headers.
2007-05-17 12:45:03 +02:00
Chris Robinson
147b0cf5ac
quartz: Create DirectSound device and buffer at filter creation and connection respectively.
2007-04-16 12:07:55 +02:00
Chris Robinson
e508f2cc90
quartz: Add partial implementation of IReferenceClock for DSoundRenderer.
2007-04-07 10:57:33 +02:00
Chris Robinson
2994695189
quartz: Use more precise positioning information for the DSound filter's reference clock.
2007-04-07 10:57:23 +02:00
Chris Robinson
c76d5561a8
quartz: Use a second-long DSound buffer for playback.
2007-04-03 11:32:40 +02:00
Chris Robinson
4eea356e2d
quartz: Don't fill the dsound buffer with small amounts.
2007-04-02 11:15:44 +02:00
Chris Robinson
8a1d4d1e4c
quartz: Protect DSound buffer creation with a critical section lock.
2007-03-28 12:05:35 +02:00
Chris Robinson
57400724b6
quartz: Implement volume and pan control for DSoundRenderer.
2007-03-26 12:30:04 +02:00
Chris Robinson
a7151d8851
quartz: Make DSoundRender_Run start the playback buffer.
2007-03-26 12:29:58 +02:00
Chris Robinson
6bd3b156ac
quartz: Don't delete critical sections before the filter's pins are done using them.
2007-03-20 13:00:26 +01:00
Chris Robinson
809f68420f
quartz: Force disconnect when a filter is fully released.
2007-03-13 21:28:26 +01:00
Jan Zerebecki
b5619e8628
quartz: Add DebugInfo to critical sections.
...
Also add missing DeleteCriticalSection.
2007-03-12 13:39:49 +01:00
Chris Robinson
868dd534e8
quartz: Stop DSound buffer playback when the filter is paused or stopped, not the next time it's processed.
2007-03-12 12:08:25 +01:00
Chris Robinson
e44a0d6d4d
quartz: Check allocation failure and clear memory in DSound Renderer.
2007-03-09 21:20:22 +01:00
Tomas Carnecky
9b4f99782e
dsound: Update prototypes for IDirectSoundBuffer::Lock/Unlock.
2007-03-08 21:30:54 +01:00
Chris Robinson
045270605c
quartz: Use proper alloc/free functions for COM objects.
2007-03-08 13:53:54 +01:00
Chris Robinson
0717c96192
quartz: Improve reference traces.
2007-03-05 18:08:29 +01:00
Chris Robinson
e3061405ca
quartz: Check for the proper ID when querying for the IBasicAudio interface.
2007-02-19 12:42:39 +01:00
Chris Robinson
7605dc0d74
quartz: Stop and free the dsound buffer when needed.
2007-02-19 12:39:59 +01:00