AAM_SRCCAP

This structure describes the audio source.

Syntax

typedef struct {
DWORD
m_dwID;
DWORD
m_dwInfo;
WCHAR[]
m_szDevDrv[AAM_SRC_DEVDRV_LEN];
WCHAR[]
m_szName[AAM_SRC_NAME_LEN];
DWORD
m_dwMisc;
DWORD
m_dwReserve1;
DWORD
m_dwReserve2;
} AAM_SRCCAP;

Members

m_dwID
Audio source identifier. It is one of the following values:
AAM_SRC_TUNER
Specifies AM/FM tuner 1
AAM_SRC_TUNER2
Specifies AM/FM tuner 2
AAM_SRC_CD
Specifies the compact disc player
AAM_SRC_AUX1
Specifies auxiliary input 1
AAM_SRC_AUX2
Specifies auxiliary input 2
AAM_SRC_CDCHANGER
Specifies the compact disc changer

These seven identifiers are predefined, but OEMs can add identifiers.

m_dwInfo
Current audio source status or other information
m_szDevDrv
Null-terminated string that contains the name of the associated device driver, for example, “DSP1:”
m_szName
Null-terminated string that contains that audio source name or description
m_dwMisc
Reserved for a future extension
m_dwReserve1
Reserved
m_dwReserve2
Reserved

Remarks

An application can get the AAM_GetSourceCap of a particular audio source and check the m_dwinfo member of that structure. If AAM_FLAG_SELECTED is set, then that audio source is active.