reimar
33bc71f10d
Add support for distinguishing between little- and big-endian SPDIF AC3
...
and converting between both.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:27:52 +00:00
reimar
d3ae3611ce
More uses of AF_FORMAT_IS_AC3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30282 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:02:46 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reimar
2c64a71a29
Do not call waveOutReset in uninit if you should wait till playing finishes,
...
and retry waveOutClose if it fails due to still playing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28918 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 19:15:20 +00:00
reimar
d6bf2e318e
Make ao_info_t structs const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:43:12 +00:00
reimar
77e48c6635
Use code that is actually thread-safe to calculate delay, free space etc. in ao_win32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28857 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:23:24 +00:00
reimar
c73340f19a
Cosmetics: get rid of trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28856 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:10:54 +00:00
reimar
6067203cab
get rid of full_buffers variable, if the check it is used for is triggered
...
something is seriously wrong and the ao will not work right anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28855 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:07:50 +00:00
reimar
6040a6f3ea
Remove now unused buf_write_pos variable from ao_win32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28854 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 18:53:29 +00:00
reimar
7ee7bd3d5b
Always write full buffers in ao_win32, except for the last block.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28853 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 18:50:50 +00:00
reimar
79df4b2499
Use calloc instead of malloc+memset
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28852 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 16:27:31 +00:00
reimar
7c52124a2b
The 8 bit per sample formats are unsigned on Windows, fixes playback with
...
-af format=s8 for -ao dsound and -ao win32.
Patch by Zhou Zongyi [zhouzongyi (at) pset suntec net]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28850 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 13:22:48 +00:00
reimar
2f2b271649
Sleep based on get_delay in ao_win32 uninit instead of a loop.
...
The loop for an unknown reason could rarely cause an endless loop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28828 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:07:06 +00:00
reimar
8831008bb5
full_buffers and buffered_bytes must be volatile because they are used from
...
different threads, hopefully this fixes an uninit hang.
The code still relies on luck for thread-safety though.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28811 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 12:25:10 +00:00
diego
b10c35e0ed
Use standard license headers with standard formatting.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 18:02:27 +00:00
reimar
6a09e8e2ed
Replace implicit use of fast_memcpy via macro by explicit use to allow
...
for future optimization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
reimar
40f9cdbdd8
Implement AOPLAY_FINAL_CHUNK support for dshow and win32 out.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20256 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-15 20:48:26 +00:00
faust3
3624850220
disable multichannel mode, it never worked reliable
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19841 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 16:26:25 +00:00
diego
66b1d0d001
The FSF changed postal address.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
reynaldo
f50e7ffca9
modifies function declarations without parameters from ()
...
to the correct (void). Only files in libao2 are affected.
patch by Stefan Huehner stefan AT huehner-org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18920 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 04:30:19 +00:00
faust3
05d61f2f62
WAVE_FORMAT_DIRECT seems to cause problems with certain os/driver combinations and seems to be useless anyway
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14530 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-17 21:19:59 +00:00
faust3
059bb3d52b
print why waveOutOpen failed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14504 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 19:27:00 +00:00
reimar
fa8c50d4cf
af_format.h needs config.h to be included first.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 22:00:02 +00:00
alex
14a29762f2
af_fmt2str_short
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 19:11:14 +00:00
alex
4d7d3bf2c0
hopefully final fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 18:10:30 +00:00
alex
507121f7fe
removing AFMT_ dependancy
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
faust3
ecb5105a2c
disable all unknown formats in the windows aos
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14136 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-08 09:52:55 +00:00
diego
67a1fd4053
Make include paths consistent.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-07 02:24:15 +00:00
faust3
412b37082f
ringbuffer variable intialization fix for multifile playback patch by Rune Petersen <rune.mail-list at mail.tele.dk>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13736 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-22 12:43:34 +00:00
faust3
40a0c7778d
untested multichannel support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13018 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-14 10:03:26 +00:00
faust3
a97b5a5285
10l
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12796 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 13:43:43 +00:00
faust3
1beb447670
10l WAVE_FORMAT_DOLBY_AC3_SPDIF needs to be defined first, patch by Gianluigi Tiesi <sherpya at netfarm.it>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12700 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 11:19:11 +00:00
faust3
1c6b68ba4d
ac3 passthrough, initial patch by Gianluigi Tiesi <sherpya at netfarm.it>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12685 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 11:20:20 +00:00
faust3
35d058bcca
restore original ringbuffer constants as the current values are causing heavy stutter here, especially noticable after moving the video window
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12156 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-07 22:27:33 +00:00
faust3
a07c26e7dd
round len to outburst and increment full_buffers at the correct time, patch by Nehal <nehalmistry at gmx.net>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12152 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-07 17:53:42 +00:00
faust3
134d571014
support immed flag
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12147 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 18:06:20 +00:00
alex
504270e549
uninit immed flag
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 17:55:36 +00:00
faust3
591a524fbf
let uninit wait until sound is completely played, don't restore volume at exit, fixed ringbuffer bug, patch by Nehal <nehalmistry at gmx.net>\n
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12094 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-01 19:33:58 +00:00
joey
7afe24f691
original config:
...
> ao_data.bps=channels*rate;
> if(format != AFMT_U8 && format != AFMT_S8)
> ao_data.bps*=2;
fallback config, before patch:
> ao_data.bps=ao_data.channels * ao_data.samplerate;
since we forced the format to S16_LE in fallback, we should double bps
to be consistent with an original config of the same settings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11512 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-23 17:04:19 +00:00
faust3
b28f1fb6e5
10l remove unused global
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10107 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-16 13:06:37 +00:00
alex
d65c8518de
64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:42:50 +00:00
faust3
5ae779673c
fix -loop problem
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9590 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 10:11:36 +00:00
faust3
9a7aac86cd
10l fixes sync?
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8658 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 13:52:29 +00:00
faust3
f1ae8e8e5d
new windows waveout audio driver
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7914 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 16:18:33 +00:00