Commit 3292bc29 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmsynth: Drop "synth" from the synth_sink field.

parent 8dae8ad8
...@@ -65,7 +65,7 @@ struct IDirectMusicSynth8Impl { ...@@ -65,7 +65,7 @@ struct IDirectMusicSynth8Impl {
DMUS_PORTCAPS pCaps; DMUS_PORTCAPS pCaps;
BOOL fActive; BOOL fActive;
IReferenceClock* pLatencyClock; IReferenceClock* pLatencyClock;
IDirectMusicSynthSink *synth_sink; IDirectMusicSynthSink *sink;
}; };
/***************************************************************************** /*****************************************************************************
......
...@@ -320,7 +320,7 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_GetLatencyClock(IDirectMusicSynth8 ...@@ -320,7 +320,7 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_GetLatencyClock(IDirectMusicSynth8
if (!clock) if (!clock)
return E_POINTER; return E_POINTER;
if (!This->synth_sink) if (!This->sink)
return DMUS_E_NOSYNTHSINK; return DMUS_E_NOSYNTHSINK;
*clock = This->pLatencyClock; *clock = This->pLatencyClock;
...@@ -341,16 +341,16 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_Activate(IDirectMusicSynth8 *iface, ...@@ -341,16 +341,16 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_Activate(IDirectMusicSynth8 *iface,
} }
static HRESULT WINAPI IDirectMusicSynth8Impl_SetSynthSink(IDirectMusicSynth8 *iface, static HRESULT WINAPI IDirectMusicSynth8Impl_SetSynthSink(IDirectMusicSynth8 *iface,
IDirectMusicSynthSink *synth_sink) IDirectMusicSynthSink *sink)
{ {
IDirectMusicSynth8Impl *This = impl_from_IDirectMusicSynth8(iface); IDirectMusicSynth8Impl *This = impl_from_IDirectMusicSynth8(iface);
TRACE("(%p)->(%p)\n", iface, synth_sink); TRACE("(%p)->(%p)\n", iface, sink);
This->synth_sink = synth_sink; This->sink = sink;
if (synth_sink) if (sink)
return IDirectMusicSynthSink_GetLatencyClock(synth_sink, &This->pLatencyClock); return IDirectMusicSynthSink_GetLatencyClock(sink, &This->pLatencyClock);
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment