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

« back to all changes in this revision

Viewing changes to src/extract/xtr_wav.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
   mkvextract -- extract tracks from Matroska files into other files
 
3
 
 
4
   Distributed under the GPL
 
5
   see the file COPYING for details
 
6
   or visit http://www.gnu.org/copyleft/gpl.html
 
7
 
 
8
   $Id: xtr_wav.h 2882 2005-04-07 17:15:31Z mosu $
 
9
 
 
10
   extracts tracks from Matroska files into other files
 
11
 
 
12
   Written by Moritz Bunkus <moritz@bunkus.org>.
 
13
*/
 
14
 
 
15
#ifndef __XTR_WAV_H
 
16
#define __XTR_WAV_H
 
17
 
 
18
#include "os.h"
 
19
 
 
20
#include "xtr_base.h"
 
21
 
 
22
class xtr_wav_c: public xtr_base_c {
 
23
public:
 
24
  wave_header wh;
 
25
 
 
26
public:
 
27
  xtr_wav_c(const string &_codec_id, int64_t _tid, track_spec_t &tspec);
 
28
 
 
29
  virtual void create_file(xtr_base_c *_master, KaxTrackEntry &track);
 
30
  virtual void finish_file();
 
31
};
 
32
 
 
33
class xtr_wavpack4_c: public xtr_base_c {
 
34
public:
 
35
  uint32_t number_of_samples;
 
36
  int extract_blockadd_level;
 
37
  binary version[2];
 
38
  mm_file_io_c *corr_out;
 
39
  int channels;
 
40
 
 
41
public:
 
42
  xtr_wavpack4_c(const string &_codec_id, int64_t _tid, track_spec_t &tspec);
 
43
 
 
44
  virtual void create_file(xtr_base_c *_master, KaxTrackEntry &track);
 
45
  virtual void handle_block(KaxBlock &block, KaxBlockAdditions *additions,
 
46
                            int64_t timecode, int64_t duration, int64_t bref,
 
47
                            int64_t fref);
 
48
  virtual void finish_file();
 
49
};
 
50
 
 
51
#endif