summaryrefslogtreecommitdiffstats
path: root/libao2/ao_win32.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for distinguishing between little- and big-endian SPDIF AC3reimar2010-01-111-1/+3
| | | | | | | and converting between both. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
* More uses of AF_FORMAT_IS_AC3reimar2010-01-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30282 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not call waveOutReset in uninit if you should wait till playing finishes,reimar2009-03-091-1/+2
| | | | | | | 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
* Make ao_info_t structs const.reimar2009-03-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use code that is actually thread-safe to calculate delay, free space etc. in ↵reimar2009-03-061-10/+13
| | | | | | ao_win32 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28857 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: get rid of trailing whitespace.reimar2009-03-061-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28856 b3059339-0415-0410-9bf9-f77b7e298cf2
* get rid of full_buffers variable, if the check it is used for is triggeredreimar2009-03-061-9/+0
| | | | | | | 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
* Remove now unused buf_write_pos variable from ao_win32reimar2009-03-061-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28854 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always write full buffers in ao_win32, except for the last block.reimar2009-03-061-8/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28853 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc instead of malloc+memsetreimar2009-03-061-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28852 b3059339-0415-0410-9bf9-f77b7e298cf2
* The 8 bit per sample formats are unsigned on Windows, fixes playback withreimar2009-03-061-1/+1
| | | | | | | | -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
* Sleep based on get_delay in ao_win32 uninit instead of a loop.reimar2009-03-051-1/+2
| | | | | | | 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
* full_buffers and buffered_bytes must be volatile because they are used fromreimar2009-03-051-2/+2
| | | | | | | | 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
* Use standard license headers with standard formatting.diego2008-05-141-10/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26775 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-1/+1
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement AOPLAY_FINAL_CHUNK support for dshow and win32 out.reimar2006-10-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20256 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable multichannel mode, it never worked reliablefaust32006-09-151-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19841 b3059339-0415-0410-9bf9-f77b7e298cf2
* The FSF changed postal address.diego2006-09-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifies function declarations without parameters from ()reynaldo2006-07-061-5/+5
| | | | | | | | | 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
* WAVE_FORMAT_DIRECT seems to cause problems with certain os/driver ↵faust32005-01-171-1/+1
| | | | | | combinations and seems to be useless anyway git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14530 b3059339-0415-0410-9bf9-f77b7e298cf2
* print why waveOutOpen failedfaust32005-01-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14504 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_format.h needs config.h to be included first.reimar2005-01-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortalex2004-12-281-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
* hopefully final fixalex2004-12-271-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable all unknown formats in the windows aosfaust32004-12-081-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14136 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent.diego2004-12-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
* ringbuffer variable intialization fix for multifile playback patch by Rune ↵faust32004-10-221-1/+5
| | | | | | Petersen <rune.mail-list at mail.tele.dk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13736 b3059339-0415-0410-9bf9-f77b7e298cf2
* untested multichannel supportfaust32004-08-141-24/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13018 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lfaust32004-07-111-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12796 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l WAVE_FORMAT_DOLBY_AC3_SPDIF needs to be defined first, patch by ↵faust32004-06-271-0/+2
| | | | | | Gianluigi Tiesi <sherpya at netfarm.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12700 b3059339-0415-0410-9bf9-f77b7e298cf2
* ac3 passthrough, initial patch by Gianluigi Tiesi <sherpya at netfarm.it>faust32004-06-261-3/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12685 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore original ringbuffer constants as the current values are causing ↵faust32004-04-071-2/+2
| | | | | | 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
* round len to outburst and increment full_buffers at the correct time, patch ↵faust32004-04-071-2/+3
| | | | | | by Nehal <nehalmistry at gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12152 b3059339-0415-0410-9bf9-f77b7e298cf2
* support immed flagfaust32004-04-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12147 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit immed flagalex2004-04-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* let uninit wait until sound is completely played, don't restore volume at ↵faust32004-04-011-12/+14
| | | | | | 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
* original config:joey2003-11-231-1/+1
| | | | | | | | | | | | | | | > 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
* 10l remove unused globalfaust32003-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10107 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>alex2003-03-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -loop problemfaust32003-03-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9590 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fixes sync?faust32002-12-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8658 b3059339-0415-0410-9bf9-f77b7e298cf2
* new windows waveout audio driverfaust32002-10-251-0/+249
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7914 b3059339-0415-0410-9bf9-f77b7e298cf2