summaryrefslogtreecommitdiff
path: root/dxr3device.c
AgeCommit message (Collapse)Author
2010-03-18add method writeRegisterChristian Gmeiner
2010-03-06add basic PulseAudio audio suppport - NOT TESTED!Christian Gmeiner
requested by loswillios
2010-03-03Add mutex to protect play methods and setplaymode methodChristian Gmeiner
2010-02-20check if audio is ac3Christian Gmeiner
2010-02-17fix channel switchingChristian Gmeiner
2010-02-05add infrastructe to poll audiodrivers fdsChristian Gmeiner
2010-02-05small renameChristian Gmeiner
2010-02-05better user experience when switching channelChristian Gmeiner
2010-02-05update audio context and dont forget to open the audio deviceChristian Gmeiner
2010-02-05make it possible to swich audio driver via command line optsChristian Gmeiner
This makes it easier to test both audio drivers
2010-02-04keep SetPlayMode very simple -> best a/v sync after channel switchChristian Gmeiner
2010-02-04fix crash at shutdownChristian Gmeiner
We can not inherit from Singleton<cDxr3Device> as the vdr core does free the created instance. So if we use the auto_ptr based Singleton template class we get a double free.
2010-02-03add basic impl for cDxr3Device::PollChristian Gmeiner
2010-02-03merge dxr3interface into dxr3deviceChristian Gmeiner
2010-02-02add some debug hintsChristian Gmeiner
2010-02-02no need to store lastSeenPts as same as vPtsChristian Gmeiner
2010-02-02add final code to PlayVideo... a/v sync should work now..Christian Gmeiner
...but sources needs some cleanups and missing methods needs to worked out.
2010-02-02work out PlayAudio and PlayVideo methodsChristian Gmeiner
2010-02-02rewrote cDxr3Device::SetPlayMode and removed some old stuffChristian Gmeiner
2010-02-02remove old buffer and a/v sync partsChristian Gmeiner
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.