Age | Commit message (Collapse) | Author |
|
This commit removes all checks if the device is external released as it
is not possible/wanted to set playmode to pmExtern_THIS_SHOULD_BE_AVOIDED and
call play methods of device class.
Also I removed DON and DOF svdr commands, as
in my opinion these two commands are not useful at all. If somebody who
needs them give me an example usage for these commands, I will bring them
back.
|
|
|
|
|
|
|
|
At the moment I am not sure who/what sets samplerate and channel to -1,
but i hope to remove this workaround soon.
|
|
m_strBuf is not needed, as vdr gives us a 'exactly one complete PES packet of the given Length'.
As a result of this there is no leftover of pesdata. This change is testes with vdr-1.6.0 - dont
know about the recent development version of vdr.
|
|
The big goal for the next days will be to throw away the whole
demuxdevice and add a very small and easy to understand demuxer. The current
demuxdevice has a very bad coding style and is quite hard to follow whats
going on.
|
|
|
|
- keep track if sound device is open
- use pass-by-reference-to-const instead of pass-by-value (no copying needed)
|
|
|
|
|
|
At the moment alsa support is disabled, but it is working (with some problems)
|
|
|
|
|
|
|
|
|
|
|
|
Split up the process of audio resampling. First, change the sound levels.
Second, respect audio channel setting.
|
|
With this commit ALSA support is only some commits away. This commit
introduces cAudioOss, which has everything needed in it to handle a oss
audio device. There are some problems, which will fixed soon.
For instance, external mode is not supported at the moment.
|
|
|
|
|
|
|
|
With the help of iAudio class, we can factor out the resample
methode and clean up dxr3interface.[ch] a little bit.
|
|
Introduce a iAudio class - will be later base class for oss and alas
output -, which handles volume and channel handling.
|
|
|
|
|
|
|
|
cDxr3NextPts was only used to set a pts and to clear the value. There
was never a get for the pts. So there is no need for this class -> kick it
|
|
|
|
|
|
*** glibc detected *** vdr: free(): invalid pointer: 0xb7875f80 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d21986]
/lib/libc.so.6(cfree+0x89)[0xb7d232b9]
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed9eb1]
/usr/lib/vdr/plugins/libvdr-dxr3.so.1.6.0(_ZN11cDxr3DeviceD0Ev+0x85)[0xb7866695]
vdr(_ZN7cDevice8ShutdownEv+0x33)[0x80a43b3]
We do not need to delete created instance of cDxr3Device() not by our own,
as it looks like vdr does it. So there are commented calls to Reset, but
the plugin needs much love so this is only a workaround.
|
|
If we can not find the audio codec, stop everything, as we
need a working ffmpeg installation. Also some unused variables
were removed.
|
|
|
|
|
|
Dont include .h files, which are not used in the current context.
|
|
|
|
Add IsOssAudio() to check, if we have an oss audio device. This is needed
for the coming alsa support.
|
|
We dont need to give the used cardnum as param for Dxr3Open, as Dxr3Open
will get the used cardnum by its own.
|
|
|
|
|
|
|
|
on amd64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With the old singleton pattern it could happen that two instances are
created. See...
static T& Instance()
{
static T m_Instance;
return m_Instance;
}
static T* InstanceP()
{
static T* m_InstanceP = new T;
return m_InstanceP;
}
|