~ubuntu-branches/ubuntu/feisty/muse/feisty

« back to all changes in this revision

Viewing changes to synti/stklib/MatWvIn.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************/
 
2
/*  MatWvIn Input Class,                   */
 
3
/*  by Gary P. Scavone, 1999               */
 
4
/*                                         */
 
5
/*  This object inherits from WvIn and is  */
 
6
/*  used to open Matlab MAT-file data      */
 
7
/*  (doubles) files for playback.  In      */
 
8
/*  order for this class to work, the      */
 
9
/*  MAT-file must contain a single array   */
 
10
/*  (matrix) of double-precision floating  */
 
11
/*  point values (can be multi-channel).   */
 
12
/*  It does not work for any other data    */
 
13
/*  formats.                               */
 
14
/*                                         */
 
15
/*  MAT-file data is either big- or        */
 
16
/*  little-endian, which can be determined */
 
17
/*  from the header.                       */
 
18
/*******************************************/
 
19
 
 
20
#if !defined(__MatWvIn_h)
 
21
#define __MatWvIn_h
 
22
 
 
23
#include "Object.h"
 
24
#include "WvIn.h"
 
25
 
 
26
class MatWvIn : public WvIn
 
27
{
 
28
public:
 
29
  MatWvIn(char *fileName, char *mode);
 
30
  ~MatWvIn();
 
31
protected:
 
32
  void getData(long index);
 
33
  int doSwap;
 
34
  int interleaved;
 
35
};
 
36
 
 
37
#endif