ReactOS 0.4.16-dev-125-g798ea90
rtminiport.h File Reference
#include "shared.h"
Include dependency graph for rtminiport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CAC97MiniportWaveRT
 

Functions

NTSTATUS CreateAC97MiniportWaveRTStream (OUT CAC97MiniportWaveRTStream **pRTStream)
 

Variables

const int WAVE_SAMPLERATES_TESTED = 7
 
const int MIC_SAMPLERATES_TESTED = 4
 
const DWORD dwWaveSampleRates [WAVE_SAMPLERATES_TESTED]
 
const DWORD dwMicSampleRates [MIC_SAMPLERATES_TESTED]
 
const int PIN_WAVEOUT_OFFSET = (PIN_WAVEOUT / 2)
 
const int PIN_WAVEIN_OFFSET = (PIN_WAVEIN / 2)
 
const int PIN_MICIN_OFFSET = (PIN_MICIN / 2)
 

Function Documentation

◆ CreateAC97MiniportWaveRTStream()

NTSTATUS CreateAC97MiniportWaveRTStream ( OUT CAC97MiniportWaveRTStream **  pRTStream)

Definition at line 37 of file rtstream.cpp.

41{
42 PAGED_CODE ();
43
44 DOUT (DBG_PRINT, ("[CreateAC97MiniportWaveRTStream]"));
45
46 //
47 // This is basically like the macro at stdunk with the change that we
48 // don't cast to interface unknown but to interface CAC97MiniportWaveRTStream.
49 //
51 if (*RTStream)
52 {
53 (*RTStream)->AddRef ();
54 return STATUS_SUCCESS;
55 }
56
58}
#define PAGED_CODE()
#define NULL
Definition: types.h:112
#define DOUT(lvl, strings)
Definition: debug.h:82
#define NonPagedPool
Definition: env_spec_w32.h:307
#define STATUS_SUCCESS
Definition: shellext.h:65
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
Definition: wdfmemory.h:164
#define DBG_PRINT(ppi, ch, level)
Definition: win32kdebug.h:169

Variable Documentation

◆ dwMicSampleRates

const DWORD dwMicSampleRates[MIC_SAMPLERATES_TESTED]
Initial value:
=
{48000, 32000, 16000, 8000}

Definition at line 26 of file rtminiport.h.

◆ dwWaveSampleRates

const DWORD dwWaveSampleRates[WAVE_SAMPLERATES_TESTED]
Initial value:
=
{48000, 44100, 32000, 22050, 16000, 11025, 8000}

Definition at line 24 of file rtminiport.h.

◆ MIC_SAMPLERATES_TESTED

const int MIC_SAMPLERATES_TESTED = 4

Definition at line 22 of file rtminiport.h.

◆ PIN_MICIN_OFFSET

const int PIN_MICIN_OFFSET = (PIN_MICIN / 2)

Definition at line 31 of file rtminiport.h.

◆ PIN_WAVEIN_OFFSET

const int PIN_WAVEIN_OFFSET = (PIN_WAVEIN / 2)

Definition at line 30 of file rtminiport.h.

◆ PIN_WAVEOUT_OFFSET

const int PIN_WAVEOUT_OFFSET = (PIN_WAVEOUT / 2)

Definition at line 29 of file rtminiport.h.

◆ WAVE_SAMPLERATES_TESTED

const int WAVE_SAMPLERATES_TESTED = 7

Definition at line 21 of file rtminiport.h.