xbmc:xbmc-antiquated.git
6 years agofixed: PulseAE GUI sounds now work
gnif2 [Sun, 2 Jan 2011 09:14:59 +0000 (09:14 +0000)]
fixed: PulseAE GUI sounds now work

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35740 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agoadded: extra functions to CAEWAVLoader for SampleRate, FrameCount & Channel Count
gnif2 [Sun, 2 Jan 2011 07:06:29 +0000 (07:06 +0000)]
added: extra functions to CAEWAVLoader for SampleRate, FrameCount & Channel Count
added: Initial (broken) PulseAESound support

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35738 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agoadded: new CAEWAVLoader class
gnif2 [Sun, 2 Jan 2011 04:42:45 +0000 (04:42 +0000)]
added: new CAEWAVLoader class
fixed: SoftAESound to use CAEWAVLoader class
added: Skeleton PulseAESound.cpp
fixed: Invalid frame count on Upmixed/Downmixed GUI sounds

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35737 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: request passthrough only when required
CrystalPT [Sun, 2 Jan 2011 02:42:54 +0000 (02:42 +0000)]
fixed: request passthrough only when required

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35736 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] oops, freed memory too early in wasapi shared mode
CrystalPT [Sun, 2 Jan 2011 02:03:09 +0000 (02:03 +0000)]
[WIN32] oops, freed memory too early in wasapi shared mode

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35735 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: look for the existence of a sound without creating an entry in m_sounds
CrystalPT [Sun, 2 Jan 2011 01:46:42 +0000 (01:46 +0000)]
fixed: look for the existence of a sound without creating an entry in m_sounds

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35734 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: CPulseAE now works again
gnif2 [Sun, 2 Jan 2011 01:45:28 +0000 (01:45 +0000)]
fixed: CPulseAE now works again
cleanup a few cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35733 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agorestore exclusive mode message
CrystalPT [Sun, 2 Jan 2011 00:55:50 +0000 (00:55 +0000)]
restore exclusive mode message

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35732 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agoremoved: nasty "goto" in CAESinkALSA
gnif2 [Sun, 2 Jan 2011 00:20:42 +0000 (00:20 +0000)]
removed: nasty "goto" in CAESinkALSA

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35731 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agocosmetic: AC3 frame size in frames, not bytes
CrystalPT [Sat, 1 Jan 2011 23:12:43 +0000 (23:12 +0000)]
cosmetic: AC3 frame size in frames, not bytes

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35730 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: EAC3/MAT frame sizes
CrystalPT [Sat, 1 Jan 2011 23:12:20 +0000 (23:12 +0000)]
fixed: EAC3/MAT frame sizes

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35729 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: encapsulated DTS packet size
CrystalPT [Sat, 1 Jan 2011 23:11:59 +0000 (23:11 +0000)]
fixed: encapsulated DTS packet size

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35728 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: DTS 16BE block size detection
CrystalPT [Sat, 1 Jan 2011 23:11:33 +0000 (23:11 +0000)]
fixed: DTS 16BE block size detection

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35727 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: bistream code in AC3 passthrough burst header
CrystalPT [Sat, 1 Jan 2011 23:11:12 +0000 (23:11 +0000)]
fixed: bistream code in AC3 passthrough burst header

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35726 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] wasapi: return correct format for passthrough
CrystalPT [Sat, 1 Jan 2011 23:10:52 +0000 (23:10 +0000)]
[WIN32] wasapi: return correct format for passthrough

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35725 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] more logging, handle more return codes in wasapi sink
CrystalPT [Sat, 1 Jan 2011 23:10:24 +0000 (23:10 +0000)]
[WIN32] more logging, handle more return codes in wasapi sink

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35724 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] fix build of DS sink
CrystalPT [Thu, 30 Dec 2010 03:34:34 +0000 (03:34 +0000)]
[WIN32] fix build of DS sink

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35719 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] restore AE-specific VS projects changes
CrystalPT [Thu, 30 Dec 2010 03:33:35 +0000 (03:33 +0000)]
[WIN32] restore AE-specific VS projects changes

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35718 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: resample rate bug
gnif2 [Wed, 29 Dec 2010 18:18:04 +0000 (18:18 +0000)]
fixed: resample rate bug

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35714 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agoMerge remote branch 'origin/trunk' into AudioEngine
gnif2 [Wed, 29 Dec 2010 17:41:05 +0000 (17:41 +0000)]
Merge remote branch 'origin/trunk' into AudioEngine

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35713 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] formats for HD audio
CrystalPT [Tue, 28 Dec 2010 20:37:07 +0000 (20:37 +0000)]
[WIN32] formats for HD audio

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35708 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] fixed: the wasapi endpoint buffer size won't change after the Initialize...
CrystalPT [Tue, 28 Dec 2010 03:48:23 +0000 (03:48 +0000)]
[WIN32] fixed: the wasapi endpoint buffer size won't change after the Initialize() call, read it only once.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35704 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] fixed: bytes copied to the wasapi endpoint
CrystalPT [Tue, 28 Dec 2010 03:48:00 +0000 (03:48 +0000)]
[WIN32] fixed: bytes copied to the wasapi endpoint

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35703 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: typo in r35697 - wrong endianness
CrystalPT [Tue, 28 Dec 2010 03:47:37 +0000 (03:47 +0000)]
fixed: typo in r35697 - wrong endianness

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35702 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: call EMMS to safely switch from 64-bit SIMD to x87 floating-point instructions
CrystalPT [Tue, 28 Dec 2010 03:47:14 +0000 (03:47 +0000)]
fixed: call EMMS to safely switch from 64-bit SIMD to x87 floating-point instructions

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35701 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofix compiler warning and restore FP registers on exit
CrystalPT [Tue, 28 Dec 2010 03:46:54 +0000 (03:46 +0000)]
fix compiler warning and restore FP registers on exit

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35700 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: silence compiler warnings
CrystalPT [Tue, 28 Dec 2010 03:46:32 +0000 (03:46 +0000)]
fixed: silence compiler warnings

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35699 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] updated VS2010 project
CrystalPT [Tue, 28 Dec 2010 03:46:02 +0000 (03:46 +0000)]
[WIN32] updated VS2010 project

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35698 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] refactored wasapi sink format selection for AE_FMT_FLOAT
CrystalPT [Mon, 27 Dec 2010 05:29:19 +0000 (05:29 +0000)]
[WIN32] refactored wasapi sink format selection for AE_FMT_FLOAT

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35697 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] merge r35535 from trunk - fix charset conversion in WASAPI init
CrystalPT [Sun, 26 Dec 2010 17:54:12 +0000 (17:54 +0000)]
[WIN32] merge r35535 from trunk - fix charset conversion in WASAPI init

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35696 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] fixed: release structure memory when no longer needed
CrystalPT [Fri, 24 Dec 2010 05:14:16 +0000 (05:14 +0000)]
[WIN32] fixed: release structure memory when no longer needed

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35684 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] Improved IsCompatible() in shared mode, less unnecessary destruction
CrystalPT [Fri, 24 Dec 2010 04:44:36 +0000 (04:44 +0000)]
[WIN32] Improved IsCompatible() in shared mode, less unnecessary destruction

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35683 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] react to the exclusive-shared mode change for WASAPI
CrystalPT [Fri, 24 Dec 2010 04:44:12 +0000 (04:44 +0000)]
[WIN32] react to the exclusive-shared mode change for WASAPI

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35682 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agostyle: rewrote r35679 with the pattern used elsewhere in the file
CrystalPT [Fri, 24 Dec 2010 03:19:48 +0000 (03:19 +0000)]
style: rewrote r35679 with the pattern used elsewhere in the file

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35681 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] fix: actually save and set the selected passthrough device
CrystalPT [Fri, 24 Dec 2010 00:36:27 +0000 (00:36 +0000)]
[WIN32] fix: actually save and set the selected passthrough device

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35680 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years agofixed: exception when stopping playback. Can't do ++iterator when iterator == list...
CrystalPT [Fri, 24 Dec 2010 00:09:30 +0000 (00:09 +0000)]
fixed: exception when stopping playback. Can't do ++iterator when iterator == list.end() - happened after m_streams.erase(itt) on the last element of the list and tripped checks in the MS runtime

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35679 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] added advanced setting to force DirectSound in Vista/7. Useful for development.
CrystalPT [Thu, 23 Dec 2010 23:15:08 +0000 (23:15 +0000)]
[WIN32] added advanced setting to force DirectSound in Vista/7. Useful for development.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35678 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] local defines to build without the latest platform SDK
CrystalPT [Thu, 23 Dec 2010 22:39:43 +0000 (22:39 +0000)]
[WIN32] local defines to build without the latest platform SDK

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35677 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] fix format value
CrystalPT [Thu, 23 Dec 2010 22:39:18 +0000 (22:39 +0000)]
[WIN32] fix format value

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35676 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] added UINT8_MAX and UINT16_MAX defines
CrystalPT [Thu, 23 Dec 2010 09:15:49 +0000 (09:15 +0000)]
[WIN32] added UINT8_MAX and UINT16_MAX defines

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35671 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

6 years ago[WIN32] restore AE specific changes to VS2008 project file
CrystalPT [Thu, 23 Dec 2010 09:15:29 +0000 (09:15 +0000)]
[WIN32] restore AE specific changes to VS2008 project file

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35670 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agochanged: [AE] E-AC3 IEC frame length is in bytes, not bits
gnif2 [Mon, 25 Oct 2010 23:38:21 +0000 (23:38 +0000)]
changed: [AE] E-AC3 IEC frame length is in bytes, not bits

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@35017 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] numerous passthrough issues
gnif2 [Fri, 22 Oct 2010 05:52:03 +0000 (05:52 +0000)]
fixed: [AE] numerous passthrough issues

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34930 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] segfault on startup with invalid audio configuration
gnif2 [Fri, 22 Oct 2010 02:33:47 +0000 (02:33 +0000)]
fixed: [AE] segfault on startup with invalid audio configuration

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34929 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] CAESinkFactory checks if the desired sample rate was opened if rawPassthr...
gnif2 [Fri, 22 Oct 2010 02:25:54 +0000 (02:25 +0000)]
fixed: [AE] CAESinkFactory checks if the desired sample rate was opened if rawPassthrough is requested
fixed: [AE] CAEStreamInfo now returns E-AC-3 samplerate * 4 so that the output device is opened at the right rate in raw passthrough
fixed: [AE] CAEPackIEC958 now returns correct size for packed E-AC-3 data
costmetics: [AE] CAESinkFactory ifdefs now indented

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34928 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: CAEPackIC958::PackEAC3 method (untested)
gnif2 [Thu, 21 Oct 2010 23:07:21 +0000 (23:07 +0000)]
added: CAEPackIC958::PackEAC3 method (untested)
added: E-AC3 support to CAEStreamInfo
added: DVDPlayer will output E-AC3 passthrough if HDMI & AC3 enabled

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34921 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMerge remote branch 'origin/trunk' into AudioEngine (fixed messed up merge)
gnif2 [Tue, 12 Oct 2010 03:09:49 +0000 (03:09 +0000)]
Merge remote branch 'origin/trunk' into AudioEngine (fixed messed up merge)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34709 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agomerge with origin/trunk
gnif2 [Tue, 12 Oct 2010 01:53:59 +0000 (01:53 +0000)]
merge with origin/trunk

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34707 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] use audio resample advanced setting if set
gnif2 [Tue, 12 Oct 2010 00:06:07 +0000 (00:06 +0000)]
added: [AE] use audio resample advanced setting if set
added: [AE] IAEEncoder::GetDelay method
fixed: [AE] CSoftAE uses encoded delay if encoding
fixed: [AE] moved setting check for force raw from dvd codec into CSoftAE::SupportRaw

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34704 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] CSoftAEStream water level was too low for sound cards that need large...
gnif2 [Mon, 11 Oct 2010 22:28:41 +0000 (22:28 +0000)]
fixed: [AE] CSoftAEStream water level was too low for sound cards that need large buffers

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34701 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] hardcode samplerate default to 48000hz if transcoding to avoid receiver...
gnif2 [Mon, 11 Oct 2010 14:17:05 +0000 (14:17 +0000)]
added: [AE] hardcode samplerate default to 48000hz if transcoding to avoid receiver lockups

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34675 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] CAESinkALSA did not choose correct passthrough device
gnif2 [Mon, 11 Oct 2010 13:46:32 +0000 (13:46 +0000)]
fixed: [AE] CAESinkALSA did not choose correct passthrough device

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34674 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] missing allocation of buffer
gnif2 [Mon, 11 Oct 2010 13:26:23 +0000 (13:26 +0000)]
fixed: [AE] missing allocation of buffer

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34673 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] advanced setting to force raw passthrough instead of the default decode...
gnif2 [Mon, 11 Oct 2010 13:01:44 +0000 (13:01 +0000)]
added: [AE] advanced setting to force raw passthrough instead of the default decode/re-encode
added: [AE] util function to compare AEChLayout arrays
fixed: [AE] transcode no longer crashes, still WIP
fixed: [AE] AESinkALSA cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34672 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] more encoder support, still WIP
gnif2 [Mon, 11 Oct 2010 06:36:15 +0000 (06:36 +0000)]
added: [AE] more encoder support, still WIP

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34657 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] more encoding support, not finished yet, very broken
gnif2 [Sat, 9 Oct 2010 13:24:41 +0000 (13:24 +0000)]
added: [AE] more encoding support, not finished yet, very broken

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34593 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] partial encode support, not finished
gnif2 [Fri, 8 Oct 2010 06:35:23 +0000 (06:35 +0000)]
added: [AE] partial encode support, not finished

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34555 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: AEEncoder interface (based on IDVDAudioEncoder)
gnif2 [Fri, 8 Oct 2010 05:41:28 +0000 (05:41 +0000)]
added: AEEncoder interface (based on IDVDAudioEncoder)
added: initial implementation of AEEncoderFFmpeg (based on DVDAudioEncoderFFmpeg)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34554 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agooptimized: [AE] main audio loop locking improved & commented
gnif2 [Thu, 7 Oct 2010 22:47:02 +0000 (22:47 +0000)]
optimized: [AE] main audio loop locking improved & commented

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34548 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] dynamic lookup table generation for 8bit & 16bit to float conversions
gnif2 [Wed, 6 Oct 2010 23:44:49 +0000 (23:44 +0000)]
added: [AE] dynamic lookup table generation for 8bit & 16bit to float conversions
removed: [AE] old hardcoded lookup tables
fixed: [AE] cast consts to float

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34519 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed:[AE] another non sse vairable blunder
gnif2 [Wed, 6 Oct 2010 22:26:56 +0000 (22:26 +0000)]
fixed:[AE] another non sse vairable blunder

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34516 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] AC3 & DTS passthrough now both work
gnif2 [Wed, 6 Oct 2010 14:45:00 +0000 (14:45 +0000)]
fixed: [AE] AC3 & DTS passthrough now both work

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34508 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] added ifdefs for HAS_PULSEAUDIO so compile with --disable-pulse works
gnif2 [Wed, 6 Oct 2010 03:33:17 +0000 (03:33 +0000)]
fixed: [AE] added ifdefs for HAS_PULSEAUDIO so compile with --disable-pulse works

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34486 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] added back variable needed by SSE conversion function
gnif2 [Wed, 6 Oct 2010 03:22:09 +0000 (03:22 +0000)]
fixed: [AE] added back variable needed by SSE conversion function
fixed: [AE] removed stray bracket

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34485 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] non SSE Float to S32 conversion was overflowing, MathUtils::round_int...
gnif2 [Wed, 6 Oct 2010 02:11:16 +0000 (02:11 +0000)]
fixed: [AE] non SSE Float to S32 conversion was overflowing, MathUtils::round_int cant handle >= INT32_MAX / 2

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34482 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] basic alter stream implementation for now
gnif2 [Fri, 1 Oct 2010 09:41:28 +0000 (09:41 +0000)]
added: [AE] basic alter stream implementation for now

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34352 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] new AlterStream method to IAE
gnif2 [Thu, 30 Sep 2010 02:40:31 +0000 (02:40 +0000)]
added: [AE] new AlterStream method to IAE
added: [AE] doxygen compatible documentation to areas

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34314 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMerge remote branch 'origin/trunk' into AudioEngine
gnif2 [Wed, 29 Sep 2010 00:56:32 +0000 (00:56 +0000)]
Merge remote branch 'origin/trunk' into AudioEngine

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34287 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] passthrough endian for AC3
gnif2 [Fri, 24 Sep 2010 06:53:06 +0000 (06:53 +0000)]
fixed: [AE] passthrough endian for AC3

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34137 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] missing include
gnif2 [Fri, 24 Sep 2010 04:00:54 +0000 (04:00 +0000)]
added: [AE] missing include

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34135 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agorevmoved: [AE] empty dir
gnif2 [Fri, 24 Sep 2010 03:57:58 +0000 (03:57 +0000)]
revmoved: [AE] empty dir
fixed: [AE] dvdplayer now checks if the AE supports Raw

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34134 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agochanged: [AE] broke out raw sink functions into new CAEStreamInfo class
gnif2 [Fri, 24 Sep 2010 03:49:51 +0000 (03:49 +0000)]
changed: [AE] broke out raw sink functions into new CAEStreamInfo class
removed: [AE] packetizer now is just static functions for each stream type
fixed: [AE] dvdplayer passthrough now reports correct samplerate
fixed: [AE] buffer usage calculation in CSoftAE
removed: [AE] all packeting from CSoftAE, AE_FMT_RAW now literally means RAW

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34133 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agomoved: [AE] engines into their own directory
gnif2 [Fri, 24 Sep 2010 01:28:23 +0000 (01:28 +0000)]
moved: [AE] engines into their own directory

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34131 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] failure to compile, inlined code needs to be visible to the calling class...
gnif2 [Tue, 21 Sep 2010 11:24:13 +0000 (11:24 +0000)]
fixed: [AE] failure to compile, inlined code needs to be visible to the calling class to inline

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34032 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] CAEUtil::SoftClamp method
gnif2 [Tue, 21 Sep 2010 04:49:57 +0000 (04:49 +0000)]
added: [AE] CAEUtil::SoftClamp method
changed: [AE] call new SoftClamp method

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34022 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoremoved: [AE] clamping on resampler output as CSoftAE now handles samples that would...
gnif2 [Tue, 21 Sep 2010 04:01:40 +0000 (04:01 +0000)]
removed: [AE] clamping on resampler output as CSoftAE now handles samples that would normally be clipped

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34020 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agomoved: [AE] soft clipping to output after final deamp
gnif2 [Tue, 21 Sep 2010 03:50:25 +0000 (03:50 +0000)]
moved: [AE] soft clipping to output after final deamp
removed: [AE] soft clipping from mp3 codec

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34019 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] reversed clamping on resample
gnif2 [Tue, 21 Sep 2010 03:29:20 +0000 (03:29 +0000)]
fixed: [AE] reversed clamping on resample

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34018 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] critical section needed to be re-entered before loop continue
gnif2 [Tue, 21 Sep 2010 03:04:28 +0000 (03:04 +0000)]
fixed: [AE] critical section needed to be re-entered before loop continue
fixed: [AE] CAEFactory::Start was called twice
cosmetics

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34017 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] re-added S24 LE/BE to float conversion support
gnif2 [Mon, 20 Sep 2010 14:41:37 +0000 (14:41 +0000)]
added: [AE] re-added S24 LE/BE to float conversion support
renamed: [AE] AE_FMT_S24* to AE_FMT_S24*4 to avoid ambiguity on 3/4 byte s24
fixed: [AE] s24 scale to float calc was incorrect

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@34007 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoremoved: [AE] left behind debug code
gnif2 [Mon, 20 Sep 2010 12:00:37 +0000 (12:00 +0000)]
removed: [AE] left behind debug code
fixed: [AE] moved IAESound/IAEStream ctor/dtor into protected and made IAE a friend class of both
fixed: [AE] moved Initialize into protected and made CAEFactory a friend class of IAE
fixed: [AE] invalid call to IAE::Initialize in CApplication

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33997 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] added back dtor to IAE virtual class so destructor actually gets called
gnif2 [Mon, 20 Sep 2010 11:59:36 +0000 (11:59 +0000)]
fixed: [AE] added back dtor to IAE virtual class so destructor actually gets called
fixed: [AE] SoftAE Stop now actually stops
fixed: [AE] segfault on exit while player running, AE now deinits much later

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33996 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] Initialize call was lost after merge with trunk
gnif2 [Mon, 20 Sep 2010 09:52:47 +0000 (09:52 +0000)]
added: [AE] Initialize call was lost after merge with trunk
fixed: [AE] ALSA was passing the wrong parameter to CAEUtil::DataFormatToBits

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33995 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] libmad clipping issue in paplayer (dvdplayer needs fixing still)
gnif2 [Mon, 20 Sep 2010 07:32:18 +0000 (07:32 +0000)]
fixed: [AE] libmad clipping issue in paplayer (dvdplayer needs fixing still)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33992 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] removed S24BE/LE formats, now just have NE, I am not sure how to endian...
gnif2 [Mon, 20 Sep 2010 05:25:50 +0000 (05:25 +0000)]
fixed: [AE] removed S24BE/LE formats, now just have NE, I am not sure how to endian convert this
added: [AE] S24NE3 format for packed S24 in 3 bytes
fixed: [AE] order of formats so best format is chosen first
fixed: [AE] alsa sink now checks used bits in the selected format

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33990 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoMerge remote branch 'origin/trunk' into AudioEngine
gnif2 [Mon, 20 Sep 2010 02:42:49 +0000 (02:42 +0000)]
Merge remote branch 'origin/trunk' into AudioEngine

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33989 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] Pulse volume control now works
gnif2 [Mon, 20 Sep 2010 02:04:42 +0000 (02:04 +0000)]
added: [AE] Pulse volume control now works

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33988 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: mixxing XBMC license to PulseAE.cpp
gnif2 [Mon, 20 Sep 2010 00:50:08 +0000 (00:50 +0000)]
added: mixxing XBMC license to PulseAE.cpp
renamed: Pulse* to PulseAE*

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33986 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: another DTS issue with incorrect channel count, same issue as #9014
gnif2 [Fri, 17 Sep 2010 11:45:23 +0000 (11:45 +0000)]
fixed: another DTS issue with incorrect channel count, same issue as #9014

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33927 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agomoved: [AE] renamed and split out the new PulseEventThread into its own files
gnif2 [Fri, 17 Sep 2010 04:06:23 +0000 (04:06 +0000)]
moved: [AE] renamed and split out the new PulseEventThread into its own files

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33916 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] pulse no logner deadlocks when using the pull model
gnif2 [Fri, 17 Sep 2010 03:51:52 +0000 (03:51 +0000)]
fixed: [AE] pulse no logner deadlocks when using the pull model

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33915 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] more pulse stuff
gnif2 [Thu, 16 Sep 2010 16:11:21 +0000 (16:11 +0000)]
added: [AE] more pulse stuff

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33898 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] rubbish from debugging
gnif2 [Thu, 16 Sep 2010 07:20:10 +0000 (07:20 +0000)]
fixed: [AE] rubbish from debugging

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33872 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] PulseAE GetDelay now returns a valid value
gnif2 [Thu, 16 Sep 2010 07:12:55 +0000 (07:12 +0000)]
fixed: [AE] PulseAE GetDelay now returns a valid value

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33871 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agofixed: [AE] paplayer bounds checking on GetData from the codec
gnif2 [Thu, 16 Sep 2010 06:57:28 +0000 (06:57 +0000)]
fixed: [AE] paplayer bounds checking on GetData from the codec
fixed: [AE] numerous pulse issues, still not functional however

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33870 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoCleanup of some the pulseaudio code
topfs2 [Thu, 16 Sep 2010 04:08:29 +0000 (04:08 +0000)]
Cleanup of some the pulseaudio code

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33867 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoAdded pulseaudio audio engine
topfs2 [Thu, 16 Sep 2010 03:54:51 +0000 (03:54 +0000)]
Added pulseaudio audio engine

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33865 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] missing files from ArtVandelae's patch
gnif2 [Thu, 16 Sep 2010 03:33:49 +0000 (03:33 +0000)]
added: [AE] missing files from ArtVandelae's patch
fixed: [AE] device enumeration passthrough support
fixed: [AE] direct sound buffer latency improvements
added: [AE] ablity to use different passthrough sink to default device in win32
fixed: [AE] WASAPI IsCompatible was falsely returning false on play/free sound
Thanks ArtVandelae (closes r10178)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33864 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoadded: [AE] CAESinkALSA S24 support
gnif2 [Thu, 16 Sep 2010 02:32:32 +0000 (02:32 +0000)]
added: [AE] CAESinkALSA S24 support

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33863 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

7 years agoremoved: [AE] more useless methods from the AE interfaces
gnif2 [Thu, 16 Sep 2010 00:55:36 +0000 (00:55 +0000)]
removed: [AE] more useless methods from the AE interfaces
added: [AE] documentation for AE interface methods
fixed: [AE] locking issue on CAESoft playing sounds (thanks ArtVandelae)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/AudioEngine@33860 568bbfeb-2a22-0410-94d2-cc84cf5bfa90