ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pcmconverter.c File Reference
#include "config.h"
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "mmsystem.h"
#include "mmreg.h"
#include "msacm.h"
#include "wingdi.h"
#include "winnls.h"
#include "winuser.h"
#include "msacmdrv.h"
#include "wineacm.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  AcmPcmData

Defines

#define NOBITMAP
#define NUM_PCM_FORMATS   (sizeof(PCM_Formats) / sizeof(PCM_Formats[0]))
#define NUM_OF(a, b)   ((a)/(b))
#define PCM_RESAMPLE   1

Typedefs

typedef void(* PCM_CONVERT_KEEP_RATE )(const unsigned char *, int, unsigned char *)
typedef void(* PCM_CONVERT_CHANGE_RATE )(DWORD, const unsigned char *, LPDWORD, DWORD, unsigned char *, LPDWORD)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msacm)
static DWORD PCM_drvOpen (LPCSTR str, PACMDRVOPENDESCW adod)
static DWORD PCM_drvClose (DWORD dwDevID)
static DWORD PCM_GetFormatIndex (LPWAVEFORMATEX wfx)
static short C816 (unsigned char b)
static unsigned char C168 (short s)
static short R16 (const unsigned char *src)
static void W16 (unsigned char *dst, short s)
static short M16 (short l, short r)
static unsigned char M8 (unsigned char a, unsigned char b)
static void cvtMM88K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSS88K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMM1616K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSS1616K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMS88K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMS816K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMS168K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMS1616K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSM88K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSM816K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSM168K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSM1616K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMM816K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSS816K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtMM168K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSS168K (const unsigned char *src, int ns, unsigned char *dst)
static void cvtSS88C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSM88C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMS88C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMM88C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSS816C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSM816C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMS816C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMM816C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSS168C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSM168C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMS168C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMM168C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSS1616C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtSM1616C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMS1616C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static void cvtMM1616C (DWORD srcRate, const unsigned char *src, LPDWORD nsrc, DWORD dstRate, unsigned char *dst, LPDWORD ndst)
static LRESULT PCM_DriverDetails (PACMDRIVERDETAILSW add)
static LRESULT PCM_FormatTagDetails (PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
static LRESULT PCM_FormatDetails (PACMFORMATDETAILSW afd, DWORD dwQuery)
static LRESULT PCM_FormatSuggest (PACMDRVFORMATSUGGEST adfs)
static LRESULT PCM_StreamOpen (PACMDRVSTREAMINSTANCE adsi)
static LRESULT PCM_StreamClose (PACMDRVSTREAMINSTANCE adsi)
static DWORD PCM_round (DWORD a, DWORD b, DWORD c)
static LRESULT PCM_StreamSize (PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE adss)
static LRESULT PCM_StreamConvert (PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEADER adsh)
LRESULT CALLBACK PCM_DriverProc (DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg, LPARAM dwParam1, LPARAM dwParam2)

Variables

struct {
   int   nChannels
   int   nBits
   int   rate
PCM_Formats []
static const PCM_CONVERT_KEEP_RATE PCM_ConvertKeepRate [16]
static const
PCM_CONVERT_CHANGE_RATE 
PCM_ConvertChangeRate [16]

Generated on Sun May 27 2012 05:12:45 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.