aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2/ao_nas.c
Commit message (Collapse)AuthorAge
* make prefix const. Patch by Stefan Huehner, stefan AT huehner-orgGravatar reynaldo2006-07-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing range checks so we won't overflow the buffers, thanks to Erik ↵Gravatar ranma2005-06-17
| | | | | | Auerswald for noticing this problem git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15742 b3059339-0415-0410-9bf9-f77b7e298cf2
* aos should respect the immed uninit flag (quit immediatly vs waiting till fileGravatar reimar2005-02-27
| | | | | | | is played to end). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14850 b3059339-0415-0410-9bf9-f77b7e298cf2
* actually mp_msg.h includes config.h, but for consistency better include itGravatar reimar2005-01-12
| | | | | | | explicitly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14481 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_format.h needs config.h to be included first.Gravatar reimar2005-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortGravatar alex2004-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, buf etc. in af_fmt2str call are already pointers...Gravatar reimar2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14256 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, nasty ao driversGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14253 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent.Gravatar diego2004-12-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit immed flagGravatar alex2004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use MultiplyElement to control volume.Gravatar ranma2004-03-13
| | | | | | | | | | Works with multiple videos at the same time and even when NAS does not control the mixer or it is unavailable. Show buffer underrun hint only once and add missing linebreaks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12023 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>Gravatar alex2003-03-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix small memleak in control().Gravatar ranma2003-03-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement volume setting functionality,Gravatar ranma2002-11-24
| | | | | | | | | original patch by Nguyen Kim <nguyenk@ie2.u-psud.fr>. Note that volume changing never worked on my system with NAS, but that seems to be a nasd problem which I did not try to track down yet... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8273 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes:Gravatar arpi2002-10-13
| | | | | | | | | | | | | | | | | | - missing check in init - missing brackets causing failure - nas_aformat_to_auformat not working properly - fix hang that was finally reproducible with high disk activity - don't cut of audio on uninit(), wait for buffer to empty It also simplifies the event_handler, making it more readable and implements Sidik Isani's suggestion to make the buffer size dependent on bytes per second. I've been using it for two days and found no further problems. patch by Tobias Diedrich <td@sim.uni-hannover.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7733 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf compliance (ao_data) fix by Tobias Diedrich <td@sim.uni-hannover.de>Gravatar arpi2002-10-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7647 b3059339-0415-0410-9bf9-f77b7e298cf2
* DPRINTF -> mp_msg()Gravatar arpi2002-10-06
| | | | | | | patch by Tobias Diedrich <td@sim.uni-hannover.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7628 b3059339-0415-0410-9bf9-f77b7e298cf2
* Small error, the buffer size got set incorrectly.Gravatar arpi2002-10-06
| | | | | | | | (Now BUFFER_SIZE * 3 instead of BUFFER_SIZE * 2) patch by Tobias Diedrich <td@sim.uni-hannover.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7627 b3059339-0415-0410-9bf9-f77b7e298cf2
* "One can cause a permanent hang on a seek, and the other just causesGravatar arpi2002-09-20
| | | | | | | | | general jerkiness because the writer thread was holding a lock during the time it was writing to the network." patch by Sidik Isani <lksi@cfht.hawaii.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Tobias Diedrich <td@informatik.uni-hannover.de>:Gravatar pl2002-05-18
| | | | | | | - fix segfault due to unitialized struct in ao_nas git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6115 b3059339-0415-0410-9bf9-f77b7e298cf2
* AFMT_AC3 autodetect/fallback to S16Gravatar arpi2002-04-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5791 b3059339-0415-0410-9bf9-f77b7e298cf2
* improved event handling, implemented working pause that does not flush all ↵Gravatar atmos42002-02-20
| | | | | | buffers, work around a deadlock in the new threadsafe version 1.5 of libaudio by Tobias Diedrich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4776 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch by Tobias Diedrich <td@informatik.uni-hannover.de>Gravatar pl2001-12-05
| | | | | | | add credits & fix a typo git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3337 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ao NAS support by Tobias Diedrich <ranma@gmx.at>Gravatar arpi2001-12-03
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3277 b3059339-0415-0410-9bf9-f77b7e298cf2