Ticket #1104: mythtv_ac3.51.patch
File mythtv_ac3.51.patch, 3.4 KB (added by , 16 years ago) |
---|
-
libs/libmyth/audiooutputdx.h
38 38 virtual void Reconfigure(int audio_bits, 39 39 int audio_channels, 40 40 int audio_samplerate, 41 bool audio_passthru, 42 AudioCodecMode aom = AUDIOCODECMODE_NORMAL); 41 bool audio_passthru); 43 42 virtual void SetBlocking(bool blocking); 44 43 45 44 virtual bool AddSamples(char *buffer, int samples, long long timecode); -
libs/libmyth/audiooutputdx.cpp
133 133 void AudioOutputDX::Reconfigure(int audio_bits, 134 134 int audio_channels, 135 135 int audio_samplerate, 136 int audio_passthru, 137 AudioCodecMode laom) 136 int audio_passthru) 138 137 { 139 138 if (dsbuffer) 140 139 DestroyDSBuffer(); -
libs/libmyth/audiooutputbase.cpp
14 14 #include <qdeepcopy.h> 15 15 16 16 // MythTV headers 17 #include "compat.h" 17 18 #include "audiooutputbase.h" 18 19 #include "audiooutputdigitalencoder.h" 19 20 #include "SoundTouch.h" 20 21 #include "freesurround.h" 21 #include "compat.h"22 22 23 23 #define LOC QString("AO: ") 24 24 #define LOC_ERR QString("AO, ERROR: ") -
libs/libmyth/audiooutputdigitalencoder.cpp
1 1 // Std C headers 2 2 #include <cstdio> 3 3 #include <unistd.h> 4 #include <string.h> 4 5 5 6 #include "config.h" 6 7 … … 303 304 304 305 //uint32_t x = *(uint32_t*)(data+8); 305 306 // in place swab 306 swab( data + 8, data + 8, enc_len);307 swab((const unsigned char*)(data + 8), data + 8, enc_len); 307 308 //VERBOSE(VB_AUDIO|VB_TIMESTAMP, 308 309 // QString("DigitalEncoder::Encode swab test %1 %2") 309 310 // .arg(x,0,16).arg(*(uint32_t*)(data+8),0,16)); -
libs/libmythfreesurround/freesurround.cpp
21 21 #include <cerrno> 22 22 #include <iostream> 23 23 #include <sstream> 24 //#include "compat.h"24 #include "compat.h" 25 25 #include "freesurround.h" 26 26 #include "el_processor.h" 27 27 #include <vector> -
libs/libmythfreesurround/libmythfreesurround.pro
5 5 TARGET = mythfreesurround-$$LIBVERSION 6 6 CONFIG += thread staticlib warn_off 7 7 8 INCLUDEPATH += ../../libs/libavcodec ../.. 8 INCLUDEPATH += ../../libs/libavcodec ../.. ../libmyth 9 9 10 10 #build position independent code since the library is linked into a shared library 11 11 QMAKE_CXXFLAGS += -fPIC -DPIC