aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2/ao_oss.c
Commit message (Collapse)AuthorAge
* Somewhat hackish fix for A-V desync with ao_oss and frame stepping:Gravatar reimar2007-07-19
| | | | | | | send 0-samples according to the amount of data lost during pause. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23829 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a disabled and completely outdated sample rate mismatch warning.Gravatar reimar2006-12-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21563 b3059339-0415-0410-9bf9-f77b7e298cf2
* two variables are made static, one of them additionaly modified to const ↵Gravatar reynaldo2006-07-09
| | | | | | char*. Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18971 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect AOPLAY_FINAL_CHUNKGravatar pacman2006-06-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18846 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵Gravatar reynaldo2006-03-30
| | | | | | chello DOT hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17995 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
* -aop is long obsolete.Gravatar diego2005-11-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17059 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.Gravatar diego2005-11-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17021 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow setting the mixer per instance so one can fallback betweenGravatar albeu2005-11-10
| | | | | | | | | several oos device and still have correct mixer settings all the time. The sytax is now: oss[:dsp_device[:mixer_device[:mixer_channel]]] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16960 b3059339-0415-0410-9bf9-f77b7e298cf2
* QUERY_FORMAT supportGravatar alex2005-07-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15899 b3059339-0415-0410-9bf9-f77b7e298cf2
* Have OSS audio out fall back to s16ne instead of u8 if it can't open theGravatar ivo2005-02-26
| | | | | | | soundcard for 3+ channels and do it for all audio streams (not only AC3). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14835 b3059339-0415-0410-9bf9-f77b7e298cf2
* print "Unknown/not supported internal format" message only with -v as itGravatar reimar2005-01-29
| | | | | | | is not an error. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AF_FORMAT_S16_NE instead of #ifdef WORDS_BIGENDIAN ...Gravatar reimar2005-01-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14405 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for every 24 and 32 bit AFMT_ separately if it is defined.Gravatar reimar2005-01-06
| | | | | | | Patch by Walter Haidinger walter dot haidinger at gmx dot at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14398 b3059339-0415-0410-9bf9-f77b7e298cf2
* more verbose messagesGravatar alex2004-12-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14274 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 set default format for AF_FORMATs not supported by sound cardGravatar rtognimp2004-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14261 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
* mp_msg transition of unmaintained audio output drivers.Gravatar ivo2004-09-18
| | | | | | | Patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13384 b3059339-0415-0410-9bf9-f77b7e298cf2
* ok this one is beyond stupid. the code didn't even do what was intendedGravatar rfelker2004-05-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12384 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
* add option to select mixer channelGravatar attila2004-01-24
| | | | | | | patch by Catalin Muresan <catalin.muresan@astral.ro> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11838 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set close-on-exec after newer open (in reset func). Patch by Andriy Gapon ↵Gravatar alex2003-08-13
| | | | | | <agapon@cv-nj.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10601 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
* nice 10l bug, found by Balatoni Denes <pnis@coder.hu>Gravatar arpi2003-01-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9142 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar arpi2003-01-09
| | | | | | | noticed by Joe Barnett <sanchezthecactus@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8849 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_oss was not using the channel & format returned by the soundcardGravatar arpi2002-12-28
| | | | | | | | | | for ao_data.bps calcualtion - hence fscked up av sync if soundcard didn't support a number of channels or audio format. patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8604 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l, opposite meaning of what's intended!Gravatar rfelker2002-11-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8305 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid giving a /dev/dsp fd to child processes!!Gravatar rfelker2002-11-28
| | | | | | | | (menu exec, xscreensaver nonsense, etc) other parts of mplayer should be fixed like this as well! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8304 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativeGravatar arpi2002-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove nonsense warnings now that libaf is usedGravatar rfelker2002-10-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7669 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugGravatar arpi2002-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* release /dev/dsp on pause patch by Eric Lammerts <eric@lammerts.org> (and D ↵Gravatar alex2002-08-28
| | | | | | Richard Felker III <dalias@aerifal.cx>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7119 b3059339-0415-0410-9bf9-f77b7e298cf2
* format incompatibility warningGravatar arpi2002-08-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6900 b3059339-0415-0410-9bf9-f77b7e298cf2
* - add some control (ao_oss, pl_extrastereo)Gravatar pontscho2002-07-25
| | | | | | | - cosmetic git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6796 b3059339-0415-0410-9bf9-f77b7e298cf2
* more informal warning and also fixed a 10l bug. Patch by tibcuGravatar alex2002-06-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6589 b3059339-0415-0410-9bf9-f77b7e298cf2
* msg/i18n fixes and some printf->mp_msgGravatar arpi2002-06-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6297 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.Gravatar arpi2002-05-20
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for L<->R swap with 6ch playback - based on patch by Eric Lammerts ↵Gravatar arpi2002-05-13
| | | | | | <eric@lammerts.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6076 b3059339-0415-0410-9bf9-f77b7e298cf2
* nonblock open is not legal for OSS (see OSS api docs), and causes problems ↵Gravatar arpi2002-04-29
| | | | | | on freebsd (and maybe other OSs) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5908 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenBSD, NetBSD portability patches byGravatar arpi2002-04-27
| | | | | | | | | Björn Sandell <biorn@dce.chalmers.se> Marcus <core@antbear.org> Bernd Ernesti <mplayer@lists.veego.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5873 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
* non-blocking open - patch by Fredrik Kuivinen <freku045@student.liu.se>Gravatar arpi2002-03-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5205 b3059339-0415-0410-9bf9-f77b7e298cf2
* using PATH_DEV_*Gravatar alex2002-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4804 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved HW dependent mixer stuff to libao and removed master switchGravatar anders2002-02-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4789 b3059339-0415-0410-9bf9-f77b7e298cf2
* hwac3 fix for cmedia 8738 by Hans-Peter Raschke ↵Gravatar arpi2002-01-15
| | | | | | <Hans-Peter.Raschke@wintermann-datenservice.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4185 b3059339-0415-0410-9bf9-f77b7e298cf2
* limit get_space return <= MAX_OUTBURST, whilst always an exact number of ↵Gravatar steve2001-12-11
| | | | | | fragments git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3456 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed to check that SNDCTL_DSP_CHANNELS actually grants the requested number ↵Gravatar steve2001-12-04
| | | | | | of channels git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3320 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extended oss output driver and libac3 to support 4 and 6 channel output ↵Gravatar steve2001-11-28
| | | | | | mixes. added -channels command line option git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3182 b3059339-0415-0410-9bf9-f77b7e298cf2