/usr/include/k3bvideodvdaudiostream.h is in libk3b-dev 2.0.3-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | /*
*
* Copyright (C) 2006 Sebastian Trueg <trueg@k3b.org>
*
* This file is part of the K3b project.
* Copyright (C) 1998-2007 Sebastian Trueg <trueg@k3b.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* See the file "COPYING" for the exact licensing terms.
*/
#ifndef _K3B_VIDEODVD_AUDIO_STREAM_H_
#define _K3B_VIDEODVD_AUDIO_STREAM_H_
#include "k3b_export.h"
#include <qstring.h>
namespace K3b {
namespace VideoDVD
{
enum AudioFormat {
AUDIO_FORMAT_AC3 = 0,
AUDIO_FORMAT_MPEG1 = 2,
AUDIO_FORMAT_MPEG2EXT = 3,
AUDIO_FORMAT_LPCM = 4,
AUDIO_FORMAT_DTS = 6
};
enum AudioApplicationMode {
AUDIO_APPLICATION_KARAOKE = 1,
AUDIO_APPLICATION_SURROUND = 2
};
enum AudioQuantization {
AUDIO_QUANTIZATION_16BIT = 0,
AUDIO_QUANTIZATION_20BIT = 1,
AUDIO_QUANTIZATION_24BIT = 2
};
enum AudioSampleFrequency {
AUDIO_SAMPLE_FREQ_48HZ = 0,
AUDIO_SAMPLE_FREQ_96HZ = 1
};
enum AudioCodeExtension {
AUDIO_CODE_EXT_UNSPECIFIED = 0,
AUDIO_CODE_EXT_NORMAL = 1,
AUDIO_CODE_EXT_VISUALLY_IMPAIRED = 2,
AUDIO_CODE_EXT_DIR_COMMENTS_1 = 3,
AUDIO_CODE_EXT_DIR_COMMENTS_2 = 4
};
class LIBK3B_EXPORT AudioStream
{
public:
AudioStream() {}
/**
* \return A two chars language code or the empty string
* if the language is undefined.
*/
const QString& langCode() const { return m_langCode; }
/**
* \see AudioFormat
*/
unsigned short format() const { return m_format; }
/**
* \see AudioApplicationMode
*/
unsigned short applicationMode() const { return m_applicationMode; }
/**
* \see AudioQuantization
*/
unsigned short quantization() const { return m_quantization; }
/**
* \see AudioSampleFrequency
*/
unsigned short sampleFrequency() const { return m_sampleFrequency; }
/**
* \see AudioCodeExtension
*/
unsigned short codeExtension() const { return m_codeExtension; }
bool multiChannelExt() const { return m_multiChannelExt; }
unsigned short channels() const { return m_channels; }
private:
unsigned short m_format:3;
unsigned short m_applicationMode:2;
unsigned short m_quantization:2;
unsigned short m_sampleFrequency:2;
unsigned short m_codeExtension;
bool m_multiChannelExt;
unsigned short m_channels:3;
QString m_langCode;
friend class VideoDVD;
};
}
}
#endif
|