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

synths.h
Go to the documentation of this file.
00001 #ifndef MPG123_SYNTH_H
00002 #define MPG123_SYNTH_H
00003 
00004 /* This is included inside frame.h, which is included in mpg123lib_intern.h,
00005    at the appropriate place.
00006    Explicit header inclusions here would cause circular dependencies. */
00007 
00008 /* The handle needs these types for selecting the decoding routine at runtime.
00009    Not just for optimization, mainly for XtoY, mono/stereo. */
00010 typedef int (*func_synth)(real *,int, mpg123_handle *,int );
00011 typedef int (*func_synth_mono)(real *, mpg123_handle *);
00012 typedef int (*func_synth_stereo)(real *, real *, mpg123_handle *);
00013 enum synth_channel  { c_plain=0, c_stereo, c_mono2stereo, c_mono, c_limit };
00014 enum synth_resample
00015 {
00016      r_none=-1
00017     ,r_1to1=0
00018 #   ifndef NO_DOWNSAMPLE
00019     ,r_2to1
00020     ,r_4to1
00021 #   endif
00022 #   ifndef NO_NTOM
00023     ,r_ntom
00024 #   endif
00025     ,r_limit
00026 };
00027 enum synth_format
00028 {
00029      f_none=-1
00030 #   ifndef NO_16BIT
00031     ,f_16
00032 #   endif
00033 #   ifndef NO_8BIT
00034     ,f_8
00035 #   endif
00036 #   ifndef NO_REAL
00037     ,f_real
00038 #   endif
00039 #   ifndef NO_32BIT
00040     ,f_32
00041 #   endif
00042     ,f_limit
00043 };
00044 struct synth_s
00045 {
00046     func_synth              plain[r_limit][f_limit];
00047     func_synth_stereo      stereo[r_limit][f_limit];
00048     func_synth_mono   mono2stereo[r_limit][f_limit];
00049     func_synth_mono          mono[r_limit][f_limit];
00050 };
00051 
00052 #endif

Generated on Sun May 27 2012 04:33:13 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.