Hauptseite   Klassenhierarchie   Alphabetische Liste   Übersicht   Auflistung der Dateien   Elementübersicht  

A_Format.h

00001 /***************************************************************************
00002                           A_Format.h  -  description
00003                              -------------------
00004     begin                : Tue Jan 29 2002
00005     copyright            : (C) 2002 by Christian Tusche
00006     email                : christian.tusche@stud.uni-goettingen.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef A_FORMAT_H
00019 #define A_FORMAT_H
00020 
00021 #include <inttypes.h>
00022 
00027 class A_Format {
00028 public: 
00029     A_Format();
00030     A_Format( A_Format &format );
00031     A_Format( int Sample_rate, int Channels );
00032     virtual ~A_Format();
00033 
00036     //virtual int Bits( void ) { return bits; }
00037 
00040     virtual int SampleRate( void ) { return sample_rate; }
00041 
00044     virtual int Channels( void ) { return channels; }
00045 
00046     A_Format &operator =(A_Format format);
00047     
00048 protected:
00049     int sample_rate;            // Sampels/sec
00050     int channels;               // Audio-Kanäle
00051     //int bits;                   // Bits pro Sample und Kanal (8, 16)
00052 };
00053 
00054 #endif

Erzeugt am Tue Dec 31 22:54:54 2002 für av_convert von doxygen1.2.9.1 geschrieben von Dimitri van Heesch, © 1997-2001