summaryrefslogtreecommitdiffstats
path: root/libao2
Commit message (Collapse)AuthorAgeFilesLines
* temporary 'inifinte' length disabled (commit r1.13 reversed) due to userarpi2003-02-021-2/+2
| | | | | | | compalints git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9224 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
* double free(), found by Olivier Galibert <galibert@pobox.com>arpi2003-01-291-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9157 b3059339-0415-0410-9bf9-f77b7e298cf2
* nice 10l bug, found by Balatoni Denes <pnis@coder.hu>arpi2003-01-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9142 b3059339-0415-0410-9bf9-f77b7e298cf2
* When the file is not finished to be written,arpi2003-01-191-2/+3
| | | | | | | | | it has a temporary length of 0. It is more logical to write an infinite length. (sox does this) patch by Alain Daurat <daurat@tiscali.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9027 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l :)arpi2003-01-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Workaround for returning very litte buffer space.filon2003-01-102-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8875 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2003-01-091-2/+1
| | | | | | | noticed by Joe Barnett <sanchezthecactus@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8849 b3059339-0415-0410-9bf9-f77b7e298cf2
* (nicer) endianness fix for every plugin except pl_formatcolin2003-01-037-38/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8742 b3059339-0415-0410-9bf9-f77b7e298cf2
* trivial endianness fixcolin2003-01-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
* trivial bigendian fixcolin2003-01-031-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rearrange the vo and ao driver order to prefer the native drivers and givediego2003-01-031-3/+3
| | | | | | | a better out of the box experience on Cygwin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 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
* Added/reordered #includes to silence warnings about "implicit declaration".rathann2002-12-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_oss was not using the channel & format returned by the soundcardarpi2002-12-281-5/+5
| | | | | | | | | | 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
* DVB-HEAD (aka. NEWSTRUCT) detection & supportarpi2002-12-281-0/+9
| | | | | | | patch by Dimitrios Dimitrakos <mail@dimitrios.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8595 b3059339-0415-0410-9bf9-f77b7e298cf2
* - Fix 8-bit sound in arts audio driver (logic in OBTAIN_BITRATE macro wasjkeil2002-12-271-1/+19
| | | | | | | | | | | broken) - arts server always expects 16-bit sound in little endian byte order, even in the case the artsd server runs on a big endian machine. Make sure that mplayer's audio filters convert the samples into one of the arts supported sound formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Oops, missing Makefile in the esd audio driver check-in; libao2 Makefile needsjkeil2002-12-271-1/+1
| | | | | | | esd include flags git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8575 b3059339-0415-0410-9bf9-f77b7e298cf2
* new EsounD audio driver (-ao esd)jkeil2002-12-272-0/+474
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8573 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-12-141-1/+1
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
* OK, I think I found why the alsa9 driver was breaking surround sound.arpi2002-12-042-2/+2
| | | | | | | | | ALSA returns the buffer size in _frames_, not bytes, so multiplying by bytes_per_sample is needed. patch by Tom Lees <tal26@cam.ac.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8351 b3059339-0415-0410-9bf9-f77b7e298cf2
* The enclosed patch should fix problems associated with playing 8-bit widearpi2002-12-042-6/+12
| | | | | | | | | audio samples (or anything other than 16-bit samples, for that matter) using the alsa9 ao driver. patch by "R.L. Horn" <eastcheap@fastmail.fm> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8347 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l, opposite meaning of what's intended!rfelker2002-11-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8305 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid giving a /dev/dsp fd to child processes!!rfelker2002-11-281-0/+4
| | | | | | | | (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
* Implement volume setting functionality,ranma2002-11-241-2/+47
| | | | | | | | | 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
* added floatalex2002-11-172-6/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8223 b3059339-0415-0410-9bf9-f77b7e298cf2
* volnorm for bigendiancolin2002-11-171-1/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8219 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-064-3/+7
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix endianness issue on bigendian (let libaf do the conversion ;))colin2002-11-021-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8061 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixeshenry2002-11-022-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8037 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-016-56/+52
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* add ao_win32faust32002-10-251-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7917 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
* Check what we obtain in SDL_OpenAudio() - allows to build thecolin2002-10-251-5/+33
| | | | | | | | | correct audio filter chain if soundcard doesn't support what is requested. Checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7909 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change SDL_(Un)lockAudio to PauseAudio() (works better)colin2002-10-241-2/+2
| | | | | | | checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7898 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes by Dominikarpi2002-10-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7849 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes:arpi2002-10-131-112/+111
| | | | | | | | | | | | | | | | | | - 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
* Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &jkeil2002-10-121-0/+11
| | | | | | | x86 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7720 b3059339-0415-0410-9bf9-f77b7e298cf2
* - ao_data.bps not set, confuses the A-V sync computation when the audio filtersjkeil2002-10-111-2/+16
| | | | | | | | | are in use. - computation in get_delay() was returning bogus values git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7715 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove nonsense warnings now that libaf is usedrfelker2002-10-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7669 b3059339-0415-0410-9bf9-f77b7e298cf2
* fill ao_data correctlyarpi2002-10-071-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7661 b3059339-0415-0410-9bf9-f77b7e298cf2
* updated for libaf...arpi2002-10-071-3/+3
| | | | | | | | please someone verify this, i'm not sure it's ok, looks weird: alsa_format.voices = ao_data.channels*2; git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7660 b3059339-0415-0410-9bf9-f77b7e298cf2
* updated for libaf rulesarpi2002-10-071-18/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7659 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed ao_data.bps - patch by Tobias Diedrich <td@sim.uni-hannover.de>arpi2002-10-072-32/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle playback of sample rates not supported by the sun audio hardware.jkeil2002-10-071-18/+215
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7657 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf compliance (ao_data) fix by Tobias Diedrich <td@sim.uni-hannover.de>arpi2002-10-071-26/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7647 b3059339-0415-0410-9bf9-f77b7e298cf2
* DPRINTF -> mp_msg()arpi2002-10-061-37/+27
| | | | | | | 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.arpi2002-10-061-22/+47
| | | | | | | | (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
* 10larpi2002-10-062-21/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7610 b3059339-0415-0410-9bf9-f77b7e298cf2
* - init fails if no -vo mpegpesarpi2002-10-061-5/+34
| | | | | | | - do not fail if unsupported samplerate, instead force resample to 48khz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7608 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio out driver list support (example: -ao alsa9,sdl:esd,oss,sdl:oss,)arpi2002-09-292-1/+55
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7564 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correction of spelling errors and removal of old codeanders2002-09-262-11/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7508 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-226-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* "One can cause a permanent hang on a seek, and the other just causesarpi2002-09-201-8/+30
| | | | | | | | | 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
* *bsd doesn't have info.output_muted - patch by Björn Sandell ↵arpi2002-09-161-2/+4
| | | | | | <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7423 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reconstruct the muting state for the playback from a l/r volume of 0.0.jkeil2002-09-121-5/+8
| | | | | | | | This way the sound card is really silent, when the mute state is toggled in gmplayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7380 b3059339-0415-0410-9bf9-f77b7e298cf2
* - gui version of mplayer is using the audio 'control' function before(!) thejkeil2002-09-121-17/+44
| | | | | | | | | | | audio-out module is initialized. As a workaround, initialize the audio device pathnames in the control function, otherwise the mixer does not work in gmplayer. - gui: Add support for left/right balance to the sun audio driver git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7379 b3059339-0415-0410-9bf9-f77b7e298cf2
* added needed errno.halex2002-08-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7165 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg'izedalex2002-08-301-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7162 b3059339-0415-0410-9bf9-f77b7e298cf2
* release /dev/dsp on pause patch by Eric Lammerts <eric@lammerts.org> (and D ↵alex2002-08-281-2/+4
| | | | | | Richard Felker III <dalias@aerifal.cx>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7119 b3059339-0415-0410-9bf9-f77b7e298cf2
* iec958-init completly rewrittenjoyping2002-08-232-278/+98
| | | | | | | some debug printfs cleaned git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7078 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed *= bug in length calculationanders2002-08-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7076 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed spdif default from "hw:0,2" to general alias "iec958"joyping2002-08-202-96/+126
| | | | | | | | | | | | based on a patch by Benedikt Hunz <hunz@hunz.org> corrected typo in ugly spdif-warning message added 32/20bit modes for 'high-end'-soundcards disabled hw-mixer-access for big-endian machines (mplayer seems to screw up hw-mixer on LinuxPPC running ALSA needs more testing, but its safer to disable it for now.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7051 b3059339-0415-0410-9bf9-f77b7e298cf2
* HPUX porting fixes - patch by Gansser, Martin <MGansser@rand.de>arpi2002-08-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6957 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vc null is better than -hardframedrop -- hint by gabor <gabor@realtime.sk>arpi2002-08-061-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6942 b3059339-0415-0410-9bf9-f77b7e298cf2
* format incompatibility warningarpi2002-08-041-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6900 b3059339-0415-0410-9bf9-f77b7e298cf2
* no need for ioctl.h if not using dvbrfelker2002-07-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6857 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix (?) equalizer distortion problempontscho2002-07-301-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6840 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved ao_arts delay and buff er handling, patch by Szombathelyi Gy|rgy ↵atmos42002-07-261-19/+20
| | | | | | <gyurco@freemail.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6808 b3059339-0415-0410-9bf9-f77b7e298cf2
* - add some control (ao_oss, pl_extrastereo)pontscho2002-07-254-3/+18
| | | | | | | - cosmetic git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6796 b3059339-0415-0410-9bf9-f77b7e298cf2
* endianess fix by Colin Leroy <colin@colino.net>arpi2002-07-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6763 b3059339-0415-0410-9bf9-f77b7e298cf2
* added real mmap supportjoyping2002-07-182-52/+468
| | | | | | | support for -abs opt, 4 different modes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6750 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed spdifjoyping2002-07-112-306/+346
| | | | | | | | | | | spdif device depends now on the given subdevice was ha