Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The function AC97_GetCodecID gets the ID of the Audio/Touch-codec connected to the AC97-link.

DWORD AC97_GetCodecID( void);

Parameters

none

Return Values

ID

Codec

0x50534300

NXP UCB1400

0x574D4C12

Wolfson WM9715L

When evaluating which codec is used, ignore the lowest byte, because it typically contains the sub-revision of the chip.

   DWORD id = AC97_GetCodecID();
   switch( id & 0xFFFFFF00)
   {
      case 0x50534300:
         ...
      break;
      case 0x574D4C00:
         ...
      break;
   }

Remarks

Requirements

OS Versions: Windows CE 5 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib

See Also

AC97_Init, AC97_Free

  • No labels