Amar Takhar
0763541848
Change how configuration works.
...
* move win32/config0.h -> config/config_windows0.h
* move win32/stdint.h -> msvc/stdint.h
* move posix/defines.h -> config/config_unix.h
* add config.h - brings in config_(windows|unix).h as required
* add config.h to *.cpp
* Self-contain FFmpegSource2 with required function defines wrapped with
__UNIX__ instead of the now removed defines.h.
* Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
change VCPreBuildEventTool to create windows_config.h from
windows_config0.h. Add msvc to include path.
* Change configure to create ./acconf.h instead of posix/acconf.h
This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.
Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00
Karl Blomster
743527eeb8
fix a bug in the OpenAL audio player where it would crash if you tried to stop playback by moving the line end marker to before the playback cursor. credits to jfs.
...
Originally committed to SVN as r2364.
2008-09-18 23:14:12 +00:00
Niels Martin Hansen
324ce7dbff
Be explicit about some type conversions in OpenAL audio player to avoid warnings. Fixes #651 .
...
Originally committed to SVN as r2200.
2008-06-15 12:43:56 +00:00
Amar Takhar
576dd4576e
s/audio_player.h/audio_player_manager.h/ for ALSA and OpenAL.
...
Originally committed to SVN as r1962.
2008-03-07 21:48:36 +00:00
Amar Takhar
b666b0aeb9
s/audio_provider.h/audio_provider_manager.h/ for ALSA, OpenAL and Pulse.
...
Originally committed to SVN as r1961.
2008-03-07 21:47:20 +00:00
Amar Takhar
b62b58ed6f
Fix OpenAL on UNIX by wrapping the Windows headers with __WINDOWS__ (AL/al.h),
...
the OS X headers with __APPLE__ (OpenAL/AL.h). The default will be the UNIX
location (AL/a.h).
Originally committed to SVN as r1908.
2008-03-05 20:16:31 +00:00
Rodrigo Braz Monteiro
ee61192c43
Made audio players register manually.
...
Originally committed to SVN as r1893.
2008-03-05 02:43:01 +00:00
Niels Martin Hansen
46ccee56b5
Protect remaining audio players by #ifdef and add those to config0.h and vcproj.
...
Originally committed to SVN as r1807.
2008-01-21 20:57:20 +00:00
Niels Martin Hansen
f22a5b2838
Misc. changes for Mac building and stuff
...
Originally committed to SVN as r1568.
2007-09-21 16:20:00 +00:00
Rodrigo Braz Monteiro
489abd6663
jfs's mac patches applied
...
Originally committed to SVN as r1560.
2007-09-11 23:22:26 +00:00
Niels Martin Hansen
89d076c760
Apparently long long isn't safe, trying with int64_t instead then...
...
Originally committed to SVN as r1547.
2007-08-31 14:11:35 +00:00
Niels Martin Hansen
8909ea48e2
Replace all (applicable) instances of __int64 with long long. (All except those in foreign header files.)
...
Originally committed to SVN as r1540.
2007-08-29 13:36:30 +00:00
Niels Martin Hansen
b9298b61e4
FIXME comments in (almost) all audio players, neither handle time reporting fully correct: they report number of samples they have played plus start sample, instead of current sample being heard, ie. they don't take into account that the current position might get changed in mid-stream by the video player to resync audio to video.
...
Originally committed to SVN as r1175.
2007-05-10 22:39:17 +00:00
Niels Martin Hansen
e46b57ca86
Much better time reporting.
...
Originally committed to SVN as r1174.
2007-05-10 22:31:49 +00:00
Niels Martin Hansen
f7893b932e
OpenAL audio player that at least "somewhat works" on Windows.
...
Originally committed to SVN as r1173.
2007-05-10 21:08:30 +00:00