Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

LoaderAIFF.cpp File Reference

#include "generic.h"
#include "LoaderAIFF.h"
#include <wx/filename.h>
#include <math.h>

Classes

struct  ChunkHeader
 Generic chunk header. More...

struct  CommonChunk
 Common Chunk header. More...

struct  IFFHeader
 IFF file main header. More...

struct  SoundDataChunk
 Sound Data Chunk header. More...


Defines

#define float_to_unsigned(f)   ((unsigned long) (((long) (f - 2147483648.0)) + 2147483647L) + 1)
#define unsigned_to_float(u)   (((double) ((long) (u - 2147483647L - 1))) + 2147483648.0)

Functions

void double_to_wxFloat80 (double num, wxFloat80 &flt)
 Convert double to IEEE 754 80b float.

double wxFloat80_to_double (const wxFloat80 flt)
 Convert IEEE 754 80b float to double.

const wxString AIFFLoaderName ("AIFF loader")
 Loader name.


Define Documentation

#define float_to_unsigned  )     ((unsigned long) (((long) (f - 2147483648.0)) + 2147483647L) + 1)
 

#define unsigned_to_float  )     (((double) ((long) (u - 2147483647L - 1))) + 2147483648.0)
 


Function Documentation

const wxString AIFFLoaderName "AIFF loader"   ) 
 

Loader name.

void double_to_wxFloat80 double  num,
wxFloat80 flt
 

Convert double to IEEE 754 80b float.

Copyright (C) 1988-1991 Apple Computer, Inc. All rights reserved.

Parameters:
num Double number.
flt IEEE 754 80b float.

double wxFloat80_to_double const wxFloat80  flt  ) 
 

Convert IEEE 754 80b float to double.

Copyright (C) 1988-1991 Apple Computer, Inc. All rights reserved.

Parameters:
flt IEEE 754 80b float.
Returns:
Double value.


Generated on Wed Jul 28 17:17:42 2004 for FinalMix by doxygen 1.3.5