Commit Graph

118 Commits

Author SHA1 Message Date
Zebediah Figura e994c62e3e quartz: Use nAvgBytesPerSec to calculate length.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 19:15:12 +02:00
Michael Stefaniuc ddfc1a2e88 quartz: Use the proper COM method wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-12 22:58:54 +09:00
Michael Stefaniuc fd99282319 quartz: There is no point in tracing the GUID pointer too.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:22:52 +09:00
Béla Gyebrószki 9c8566654d quartz: Fix a typo in an ERR() message.
Signed-off-by: Béla Gyebrószki <gyebro69@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 12:12:03 +09:00
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