summaryrefslogtreecommitdiff
path: root/dxr3device.c
AgeCommit message (Collapse)Author
2010-02-28Fix indentation settings.HEADmasterVille Skyttä
2010-01-08add changes needed for vdr 1.7.11Christian Gmeiner
2010-01-08make use of turnPlugin(bool) in cDxr3Device::SetPlayModeChristian Gmeiner
2009-12-09change structure of iAudio classChristian Gmeiner
This change introduces some bigger changes in how analog/digital audio will be handled. VDR notifices the plugin via cDxr3Device::SetDigitalAudioDevice, if if the we need to use analog or digital audio. With digital audio I mean digital PCM. Based on the informations get via the pes packet ac3dts will be switched on or off. So the svdrp commands SDO, SAO and SAC3 do not make sense at the moment.
2009-12-09DemuxPes has a third pararmeter - isAc3. make use of itChristian Gmeiner
2009-12-08do not set audiomode in PlayAudioChristian Gmeiner
2009-12-07add basic SetDigitalAudioDevice stub methodChristian Gmeiner
As analog audio is working with vdr-1.7 I will spend some time in fixing the digital audio part (digital pcm and ac3). I will fully review the digital audio code paths and I hope I can improve them.
2009-12-02better this way... so the values are understandableChristian Gmeiner
2009-12-02implement GetVideoSize (>= vdr 1.7.10)Christian Gmeiner
first commit of a handfull to get a good >= vdr 1.7.10 support.
2009-11-18Revert "make it simpler"Christian Gmeiner
This fixes hopefully some problems with playback. This reverts commit 34176db79c1d6bca5d4f76fc34f80e00565091e4.
2009-10-16fix compileChristian Gmeiner
2009-10-16add a basic stuff for StillPicutre in cDxr3DeviceChristian Gmeiner
2009-10-16current implementation of StillPicture in cDxr3DemuxDevice is wrongChristian Gmeiner
We call 3 times DemuxPes - wow. The big problem is that a still picture can not only contain a pes packet. Also I want to refactor out as much as possible from the demuxdevice as i dont like it and want to remove it in the long term.
2009-10-16header cleanupChristian Gmeiner
2009-08-28make it simplerChristian Gmeiner
- get rid of SetPlayMode() - add method to do flushing of video buffer - dont spam log with spu buffer sizes
2009-07-07fix #145 - DON and DOF should work as expected.Christian Gmeiner
2009-06-15Update copyright boilerplates from http://www.gnu.org/licenses/lgpl-2.1.txt ↵Ville Skyttä
and http://www.gnu.org/licenses/gpl-2.0.txt
2009-06-05update emacs code style partChristian Gmeiner
2009-06-02rework singleton classChristian Gmeiner
2009-05-28respect On pararmeter of MakePrimaryDeviceChristian Gmeiner
2009-04-01remove not needed commentsChristian Gmeiner
2009-04-01why should PlayVideo ever call DemuxAudioPes?Christian Gmeiner
2009-03-28rework pmExtern_THIS_SHOULD_BE_AVOIDED playmodeChristian Gmeiner
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.
2009-02-26get rid of a buffering level (m_strBuf)Christian Gmeiner
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.
2009-02-25remove m_CalledBySet in cDxr3Device as it is not used and makes no senseChristian Gmeiner
2009-02-25improve audio device handlingChristian Gmeiner
- keep track if sound device is open - use pass-by-reference-to-const instead of pass-by-value (no copying needed)
2009-02-25no need to erase a not yet used stringChristian Gmeiner
2009-02-25working alsa supportChristian Gmeiner
At the moment alsa support is disabled, but it is working (with some problems)
2009-02-25fixes and code style improvementsChristian Gmeiner
2009-02-25playmode pmExtern_THIS_SHOULD_BE_AVOIDED should workChristian Gmeiner
2009-02-25factor our audio stuff from dxr3interface.hChristian Gmeiner
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.
2009-02-22correct cDxr3Device::Mute()Christian Gmeiner
2009-02-21first work to get alsa audio outputChristian Gmeiner
Introduce a iAudio class - will be later base class for oss and alas output -, which handles volume and channel handling.
2008-12-29Convert to UTF-8.scop
2008-12-28Add bunch of SVDRP commands based on patch from Krzysztof Parma, reconfigure ↵scop
device audio on external reopen.
2007-04-05Apply patches/vdr-dxr3-ac3.patch, start countdown to 0.2.7.scop
2007-01-28Implement SetVideoFormat().scop
2007-01-28Return 0 instead of -1 from PlayVideo if we don't even try to play anything.scop
2007-01-28Use cCondWait::SleepMs() instead of usleep().scop
2007-01-27Comment typo fixes.scop
2007-01-07Spelling fixes.scop
2006-04-18Clean up pre-VDR-1.3.47 compat stuff.scop
2006-02-19Simplify some if/else branches.scop
2006-02-18Be less noisy about audio mode (non-)changes.scop
2006-02-11Comment typo fix.scop
2006-02-05Quick and dirty adaptation to VDR 1.3.42.scop
2006-01-17Clean up leftovers from the image grab code removal.scop
2006-01-08Remove image grab code, it's broken (crashes vdr) and would cause maintenancescop
problems with various 1.3.x vdr versions.
2005-08-27Make the device class call cDevice's Mute() and Clear().scop
2005-08-02Update FSF's address.scop