~ubuntu-branches/ubuntu/wily/mkvtoolnix/wily

« back to all changes in this revision

Viewing changes to src/input/r_wavpack.h

  • Committer: Bazaar Package Importer
  • Author(s): Clément Stenac
  • Date: 2005-09-07 19:54:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050907195442-funmigmy8ua340hq
Tags: upstream-1.5.6
Import upstream version 1.5.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   mkvmerge -- utility for splicing together matroska files
 
3
   from component media subtypes
 
4
 
 
5
   Distributed under the GPL
 
6
   see the file COPYING for details
 
7
   or visit http://www.gnu.org/copyleft/gpl.html
 
8
 
 
9
   $Id: r_wavpack.h 2809 2005-02-24 21:05:35Z mosu $
 
10
 
 
11
   class definitions for the TTA demultiplexer module
 
12
 
 
13
   Written by Steve Lhomme <steve.lhomme@free.fr>.
 
14
*/
 
15
 
 
16
#ifndef __R_WAVPACK_H
 
17
#define __R_WAVPACK_H
 
18
 
 
19
#include "os.h"
 
20
 
 
21
#include <stdio.h>
 
22
 
 
23
#include "common.h"
 
24
#include "error.h"
 
25
#include "mm_io.h"
 
26
#include "pr_generic.h"
 
27
#include "wavpack_common.h"
 
28
 
 
29
class wavpack_reader_c: public generic_reader_c {
 
30
private:
 
31
  mm_io_c *io,*io_correc;
 
32
  int64_t size;
 
33
  wavpack_header_t header, header_correc;
 
34
  wavpack_meta_t meta, meta_correc;
 
35
 
 
36
public:
 
37
  wavpack_reader_c(track_info_c &_ti) throw (error_c);
 
38
  virtual ~wavpack_reader_c();
 
39
 
 
40
  virtual file_status_e read(generic_packetizer_c *ptzr, bool force = false);
 
41
  virtual int get_progress();
 
42
  virtual void identify();
 
43
  virtual void create_packetizer(int64_t id);
 
44
 
 
45
  static int probe_file(mm_io_c *io, int64_t size);
 
46
};
 
47
 
 
48
#endif // __R_WAVPACK_H