Lines Matching defs:hw
180 static int audio_pcm_hw_find_min_out (PPDMAUDIOHSTSTRMOUT hw, int *nb_livep)
187 RTListForEach(&hw->lstGstStrmOut, pIter, PDMAUDIOGSTSTRMOUT, Node)
201 static int audio_pcm_hw_get_live_out2 (PPDMAUDIOHSTSTRMOUT hw, int *nb_live)
205 smin = audio_pcm_hw_find_min_out (hw, nb_live);
214 if (live < 0 || live > hw->cSamples)
216 LogFlowFunc(("Error: live=%d hw->samples=%d\n", live, hw->cSamples));
224 static int audio_pcm_hw_get_live_out (PPDMAUDIOHSTSTRMOUT hw)
229 live = audio_pcm_hw_get_live_out2 (hw, &nb_live);
230 if (live < 0 || live > hw->cSamples)
232 LogFlowFunc(("Error: live=%d hw->samples=%d\n", live, hw->cSamples));
241 static int audio_pcm_hw_find_min_in (PPDMAUDIOHSTSTRMIN hw)
244 int m = hw->cTotalSamplesCaptured;
246 RTListForEach(&hw->lstGstStreamsIn, pIter, PDMAUDIOGSTSTRMIN, Node)
256 int audio_pcm_hw_get_live_in (PPDMAUDIOHSTSTRMIN hw)
258 int live = hw->cTotalSamplesCaptured - audio_pcm_hw_find_min_in (hw);
259 if (live < 0 || live > hw->cSamples)
261 LogFlowFunc(("Error: live=%d hw->samples=%d\n", live, hw->cSamples));
535 static DECLCALLBACK(int) drvAudioVideoRecFiniIn(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMIN hw)
552 static DECLCALLBACK(int) drvAudioVideoRecControlOut(PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMOUT hw,