aboutsummaryrefslogtreecommitdiffstats
path: root/src/media (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-14fix pointer types.k-m_schindler1-2/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2920 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-24cosmetics: long variable names. no code change.k-m_schindler1-8/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2890 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-24some minor bugfixes.k-m_schindler1-4/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2889 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-24cosmetics: long variable names. no code change.k-m_schindler1-9/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2888 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-17Corrected AVStream pointer arithmetic to work inconjuction with fpc 2.6 as ↵lotanrm3-8/+4
well fpc 2.4. Removed unneeded code. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2884 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-17Added support for ffmpeg-0.10.lotanrm3-19/+89
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2883 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-11correct versions and prepare logic of file opening for ffmpeg-0.8k-m_schindler3-7/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2882 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-10indentation. surely, no code change.k-m_schindler1-1/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2881 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-10minimal type adjustments. This should make no difference.k-m_schindler1-4/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2879 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-08untested proposal for replacement of av_find_stream_info by av_read_framek-m_schindler1-0/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2877 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-05another fix of streams. USDX finally builds, but does not work.k-m_schindler1-0/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2876 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-05-05update for ffmpeg-0.8k-m_schindler2-0/+12
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2873 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-04-22updates and extension for ffmpeg-0.8k-m_schindler4-1/+33
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2867 b956fd51-792f-4845-bead-9b4dfca2ff2c
2012-04-20new detection of ffmpeg version. API changes: SampleFormat -> ↵k-m_schindler2-8/+7
AVSampleFormat. Configure still needs update. Special thanks to lotan. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2856 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-30allow playback from audio streamtobigun2-3/+132
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2783 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-27stretch mic-input to avoid buffer underruns with voice playback (audible as ↵tobigun1-1/+6
scratching) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2774 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-10-14revert accidental previous commitk-m_schindler2-3/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2665 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-10-14Mac OS X Readmek-m_schindler2-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2664 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-19Bugfix: do not call Inc() on PByteArray pointers. It will not increment by ↵tobigun1-1/+1
one byte, but by SizeOf(ByteArray) bytes which is some KB. As a result the pointer will point to an illegal memory address. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2549 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-15fixed x-position of glScissor test in UVideo.Draw and UVideo.DrawReflection ↵brunzelchen1-2/+2
(video was visible on the first screen only) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2527 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-13Fix for invalid song lengthstobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2511 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-12fTimeBase is NOT the time-base of the FFmpeg stream -> renamed to ↵tobigun1-28/+21
fFrameDuration to avoid wrong usage git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2501 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-12fix seeking in videostobigun1-1/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2500 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-10merge of VideoPreview branch into trunkbrunzelchen3-80/+642
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-06Do not overwrite a devices MicSource if it is already set (Note: MicSource ↵tobigun1-2/+5
is not used at the moment) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2447 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-05compare FFmpeg header and DLL versions and log an error if both do not matchtobigun1-0/+75
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2442 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-03prefix class fields with 'f'tobigun1-272/+272
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2439 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-03better EOF handling for FFmpeg audio decoding (EOF handled like it is done ↵tobigun1-3/+12
in UVideo) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2438 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-24revert of last made changes (rev. 2409)brunzelchen1-163/+46
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2410 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-23added window-mode and reflection-mode to DrawGLbrunzelchen1-46/+163
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2409 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-12fix No. 2 of ffmpeg update. Move from CodecType to AVMediaType.k-m_schindler1-1/+21
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2364 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-30portaudio playback (not used by default) segfault fixedtobigun3-22/+71
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2321 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-27- device input latency is now configurable via config.initobigun1-17/+48
- latency[i] determines the latency for device i in milliseconds or -1 for autodetection (default) - this is necessary as mic capturing with portaudio (on linux) gets stuck if latency is too low. Either because portaudio's latency autodetection does not work or because the mic capture callback takes too long before it returns. In both cases the user should set the latency to a value of 100 (ms). - better input device test, it should not remove working devices anymore. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2313 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-25wrong usage of glTexEnvi fixedtobigun1-2/+5
- the environment must be GL_TEXTURE_ENV and not GL_TEXTURE_2D - it must be set before a draw function (glBegin(), ...) and not before glTexImage2D() as the current texture will not store this setting (the setting is global for all textures). - the setting must be set to the default (GL_MODULATE) after usage, otherwise later opengl drawing calls will be unwantedly affected too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2309 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-22- now it is possible to sync lyrics to audiotobigun2-0/+2
- ini option SyncTo added - lyric to audio is default now (instead of sync audio to lyrics) - modified RelativeTimer (hopefully easier to use and more self-explanatory) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2273 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21fixed choppy start of some songs when using ffmpegtobigun1-24/+33
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2270 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21fixed bug in SDL/Portaudio playback stream:tobigun1-2/+4
- positioning was broken in revision 1661 (9.4.2009, a long time) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2269 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21- fixed UAudioPlayback_SoftMixer.GetPosition():tobigun1-6/+56
- previously it returned the position that would have been reached after ALL data that was returned at ReadData() was processed by the engine - due to this the returned position did not change for about 40ms (with SDL, samples: 2048, 44.1kHz) and the position was too far ahead (40ms) - this has been fixed by guessing the amount that is still buffered by the engine (SDL or portaudio) - sync should work better now with SDL and portaudio (BASS is not affected by this patch) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2263 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21- better lyric <-> video synctobigun1-39/+139
- fixed glTexEnv() bug: GL_TEXTURE_2D is not valid here - pixel buffer test - some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2261 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21- add video loop optiontobigun3-214/+378
- allow multiple instances of a video git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2260 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-20- force a BASS version >= 2.4.2 as the BASS ABI is slightly different ↵tobigun1-3/+20
(although we don't use the changed stuff) - IMPORTANT: if a version < 2.4.2 is present, usdx will log an error message but will start without sound. If you don't get sound anymore, update BASS git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2256 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-19bugfix for crash with portaudio (all platforms):tobigun2-22/+43
- UAudioInput_Portaudio: UnifyDeviceNames was called with the wrong index further changes: - BASS input source-names seem to be encoded with local encoding and are converted to UTF8 - Portaudio source and device names encoding is auto-detected and converted to UTF8 - some clean-up git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2252 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-18open ffmpeg video and audio files in shared mode. Crashed previously when a ↵tobigun1-1/+1
file was opened twice in read-only mode. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2248 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-13- save input device names as UTF8Stringswhiteshark02-4/+8
- device names of basslib are assumed to be in local encoding - device names of portaudio are assumed to be in utf-8 fixes: display of device names w/ special characters w/ basslib ('ä' for me) to-do: proof encoding of device names for basslib and portaudio git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2234 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-06- Revert quick-fix from revision 2000tobigun1-1/+1
- The problem has been fixed by the previous commit (overload Path()) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2220 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-12rename cosmetics. no code change.k-m_schindler1-25/+25
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2192 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-25cosmetics. no code change.k-m_schindler1-16/+16
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2156 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-25cosmetics. no code change.k-m_schindler1-21/+20
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2155 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-24unifiy the name of portaudio inputsk-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2153 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-07small editsk-m_schindler1-20/+18
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2102 b956fd51-792f-4845-bead-9b4dfca2ff2c