1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00
Commit Graph

495 Commits

Author SHA1 Message Date
joyping
9646f76179 no channels moving, autosubdievice, nonsupported fix by Vladimir I. Umnov <uvi@ezmail.ru>, removed braindeaded startup message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10624 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 18:02:24 +00:00
alex
381b2109c6 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10606 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 01:25:42 +00:00
alex
c0298b66cd Set close-on-exec after newer open (in reset func). Patch by Andriy Gapon <agapon@cv-nj.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10601 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 21:04:15 +00:00
alex
31d2778fc6 better pause mechanism and faster uninit support by Vladimir I. Umnov <uvi@ezmail.ru>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10515 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 17:54:35 +00:00
alex
64885ae175 removing my (non-working) email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10367 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-03 20:07:54 +00:00
attila
55d8bdddb3 fix bps calculation when resampling,
patch by Marcus Comstedt <marcus (at) mc.pp.se>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10326 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-22 21:29:15 +00:00
alex
ca78cf2743 -ao alsa9:hw:0,0 fix by Wojtek Kaniewski <wojtekka@bydg.pdi.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10259 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-08 04:03:59 +00:00
alex
177619f50f esd:server and esd latency support by Andrew Williams <andrew.s.williams@adelaide.edu.au>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10214 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-30 18:15:59 +00:00
alex
13fd5a7fca do it the standard way (tm)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10160 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 12:37:58 +00:00
alex
c911f58ae6 cleanup/cosmetic patch by the author :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10153 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-22 16:12:54 +00:00
alex
ecf10a4138 Native MacOSX audio output by Dan Christiansen <danchr@daimi.au.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10148 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-21 21:15:46 +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
ranma
e6c118b982 Correct dumping hint (vc dummy faster than null).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10078 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-05 23:43:30 +00:00
alex
d38968bd0e 10l to arpi with commit r1.12, noticed by Daniel Mario Vega <dv5a@dc.uba.ar>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9671 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 18:19:08 +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
henry
ff88b3588b replace snd_pcm_drain with snd_pcm_drop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9588 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-14 20:36:26 +00:00
ranma
d5d89cca6a Fix small memleak in control().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9584 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-14 17:19:19 +00:00
arpi
d06f9b725e 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9412 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-12 23:26:12 +00:00
arpi
7a35f528d1 The "initialize wav header with infinite lenght" broke the
post-recording fixup by changing the initialisation value of
data_length.  This fixes it.
based on patch by Olivier Galibert <galibert@pobox.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9278 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-04 18:22:43 +00:00
arpi
0adfd9ae76 hwac3 fix
bugrep & testing by Stefan Baehre <ste.ba@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9266 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-03 23:30:27 +00:00
arpi
32ed76c8c4 temporary 'inifinte' length disabled (commit r1.13 reversed) due to user
compalints


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9224 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 16:34:54 +00:00
arpi
ca0263659f compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:42:59 +00:00
arpi
2b8643963c double free(), found by Olivier Galibert <galibert@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9157 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 12:22:00 +00:00
arpi
23015ad574 nice 10l bug, found by Balatoni Denes <pnis@coder.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9142 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:25:53 +00:00
arpi
40789473d2 When the file is not finished to be written,
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
2003-01-19 16:49:02 +00:00
arpi
a555841ab1 10l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8980 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 01:06:05 +00:00
filon
c7c41db7ca Workaround for returning very litte buffer space.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8875 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-10 18:28:18 +00:00
arpi
a83c899996 10l
noticed by Joe Barnett <sanchezthecactus@yahoo.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8849 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 09:27:51 +00:00
colin
c619dbbb5b (nicer) endianness fix for every plugin except pl_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8742 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 15:12:18 +00:00
colin
9b483e615e trivial endianness fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 14:51:49 +00:00
colin
54eac2e3cf trivial bigendian fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8740 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 14:49:02 +00:00
diego
b5d25351fe Rearrange the vo and ao driver order to prefer the native drivers and give
a better out of the box experience on Cygwin.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 05:10:44 +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
rathann
84834e9d34 Added/reordered #includes to silence warnings about "implicit declaration".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 18:51:10 +00:00
arpi
bd814ee879 ao_oss was not using the channel & format returned by the soundcard
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
2002-12-28 13:45:04 +00:00
arpi
2e399f394d DVB-HEAD (aka. NEWSTRUCT) detection & support
patch by Dimitrios Dimitrakos <mail@dimitrios.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8595 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 12:04:58 +00:00
jkeil
03e3deb95c - Fix 8-bit sound in arts audio driver (logic in OBTAIN_BITRATE macro was
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
2002-12-27 16:35:29 +00:00
jkeil
a24ab94f06 Oops, missing Makefile in the esd audio driver check-in; libao2 Makefile needs
esd include flags


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8575 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:20:02 +00:00
jkeil
30c23e4946 new EsounD audio driver (-ao esd)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8573 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:02:57 +00:00
arpi
b987127e0e compiler warning fixes
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
2002-12-14 17:56:35 +00:00
arpi
61ecf838f2 OK, I think I found why the alsa9 driver was breaking surround sound.
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
2002-12-04 22:01:59 +00:00
arpi
4d31c3c53d The enclosed patch should fix problems associated with playing 8-bit wide
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
2002-12-04 21:42:22 +00:00
rfelker
837893b654 1l, opposite meaning of what's intended!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8305 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-28 16:15:13 +00:00
rfelker
0ca2d2a80b avoid giving a /dev/dsp fd to child processes!!
(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
2002-11-28 16:14:08 +00:00
ranma
422acb829c Implement volume setting functionality,
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
2002-11-24 23:13:15 +00:00
alex
ab08865ae1 added float
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8223 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-17 17:35:31 +00:00
colin
4a24afe93b volnorm for bigendian
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8219 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-17 12:03:01 +00:00
arpi
f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
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
2002-11-06 23:54:29 +00:00
colin
e5fd9702fd fix endianness issue on bigendian (let libaf do the conversion ;))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8061 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 21:54:08 +00:00
henry
cb3ab03342 warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8037 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 10:59:27 +00:00
arpi
39fe4d0cd3 verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
faust3
2aead272b5 add ao_win32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7917 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 16:34:27 +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
colin
305cadba3f Check what we obtain in SDL_OpenAudio() - allows to build the
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
2002-10-25 10:27:20 +00:00
colin
16f5357770 Change SDL_(Un)lockAudio to PauseAudio() (works better)
checked by Arpi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7898 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-24 18:13:24 +00:00
arpi
4a3d6d4205 compiler warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7849 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 16:24:26 +00:00
arpi
033d4f505a Fixes:
- 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
2002-10-13 22:00:15 +00:00
jkeil
e567bb25ae Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &
x86


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7720 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-12 20:02:01 +00:00
jkeil
a8b287fead - ao_data.bps not set, confuses the A-V sync computation when the audio filters
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
2002-10-11 21:22:55 +00:00
rfelker
6f6342a4b0 remove nonsense warnings now that libaf is used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7669 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-08 22:41:45 +00:00
arpi
e89f059882 fill ao_data correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7661 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 20:01:28 +00:00
arpi
9e3911b77d updated for libaf...
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
2002-10-07 19:56:26 +00:00
arpi
24d0b8f5e1 updated for libaf rules
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7659 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 19:51:00 +00:00
arpi
f12673921c fixed ao_data.bps - patch by Tobias Diedrich <td@sim.uni-hannover.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7658 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 19:21:35 +00:00
jkeil
34b4b61bea Handle playback of sample rates not supported by the sun audio hardware.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7657 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 18:42:31 +00:00
arpi
80727bf898 libaf compliance (ao_data) fix by Tobias Diedrich <td@sim.uni-hannover.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7647 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 01:50:49 +00:00
arpi
1b28b8a9c7 DPRINTF -> mp_msg()
patch by Tobias Diedrich <td@sim.uni-hannover.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7628 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 17:31:36 +00:00
arpi
6ca9809c9e Small error, the buffer size got set incorrectly.
(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
2002-10-06 17:30:38 +00:00
arpi
0ab47ea363 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7610 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 01:08:04 +00:00
arpi
4defc3ee59 - init fails if no -vo mpegpes
- 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
2002-10-06 00:22:32 +00:00
arpi
1acee84acd audio out driver list support (example: -ao alsa9,sdl:esd,oss,sdl:oss,)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7564 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-29 22:57:54 +00:00
anders
49696a0864 Correction of spelling errors and removal of old code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7508 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-26 10:12:50 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
arpi
8680f58f89 "One can cause a permanent hang on a seek, and the other just causes
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
2002-09-20 18:26:54 +00:00
arpi
86349f9208 *bsd doesn't have info.output_muted - patch by Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7423 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-16 19:46:02 +00:00
jkeil
a019c0dd3d Reconstruct the muting state for the playback from a l/r volume of 0.0.
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
2002-09-12 16:59:11 +00:00
jkeil
dbe6de1995 - gui version of mplayer is using the audio 'control' function before(!) the
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
2002-09-12 12:56:05 +00:00
alex
1d057df47f added needed errno.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 13:34:08 +00:00
alex
baab7aa3fd mp_msg'ized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7162 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 11:20:51 +00:00
alex
cad4462de5 release /dev/dsp on pause patch by Eric Lammerts <eric@lammerts.org> (and D Richard Felker III <dalias@aerifal.cx>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7119 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 19:37:13 +00:00
joyping
325311af33 iec958-init completly rewritten
some debug printfs cleaned


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7078 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-23 13:03:00 +00:00
anders
2a9ec68ddc Fixed *= bug in length calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7076 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-23 01:41:12 +00:00
joyping
89ed1748ae changed spdif default from "hw:0,2" to general alias "iec958"
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
2002-08-20 14:15:25 +00:00
arpi
c30e50123a HPUX porting fixes - patch by Gansser, Martin <MGansser@rand.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6957 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-09 21:30:21 +00:00
arpi
c750b8ab2d -vc null is better than -hardframedrop -- hint by gabor <gabor@realtime.sk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6942 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-06 20:31:48 +00:00
arpi
4c10cccd82 format incompatibility warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6900 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 18:33:26 +00:00
rfelker
0b4294fe82 no need for ioctl.h if not using dvb
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6857 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-31 05:25:57 +00:00
pontscho
e1ef3196ec fix (?) equalizer distortion problem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6840 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-30 11:48:18 +00:00
atmos4
000819f4fe Improved ao_arts delay and buff er handling, patch by Szombathelyi Gy|rgy <gyurco@freemail.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6808 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 00:02:31 +00:00
pontscho
dde3c15266 - add some control (ao_oss, pl_extrastereo)
- cosmetic


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6796 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 20:28:47 +00:00
arpi
8b9de50aff endianess fix by Colin Leroy <colin@colino.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6763 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-21 12:13:40 +00:00
joyping
5bafd479ae added real mmap support
support for -abs opt, 4 different modes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6750 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-18 16:09:54 +00:00
joyping
51b5404658 fixed spdif
spdif device depends now on the given subdevice
was hardcoded to hw:0,2 before
fixed opt-parsing for hw:x,y like opts
seperated initialization of spdif from common init as it was
probably intended before


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6703 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-11 10:20:54 +00:00
joyping
a678a1018a cVS: ---------------------------------------------------------------------
added get/set_sound controls
stripped down initializing
changed play() again
outsourced xrun-handling
added some cases to get_space() as xrun-handling
added nonblock-mode
added mmap-mode
added subopts for mmap and noblock called mmap and noblock
could be accessed as -ao alsa9:noblock:mmap


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6634 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-03 21:43:28 +00:00
atmos4
ed856102c6 Patch to improve bufferhandling on OpenBSD and NetBSD, by Björn Sandell and Bernd Ernesti <mplayer at lists.veego.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6631 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-03 21:17:31 +00:00
alex
4f40ec312c cleanup and bufferhandling fix by Joy Ping <joy at pingfm.org>. Bufferhandling fix based on idea by Marius David <marius at rohost.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6590 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-28 16:48:10 +00:00
alex
e9cf7c083b more informal warning and also fixed a 10l bug. Patch by tibcu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6589 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-28 16:42:32 +00:00
albeu
3a376cd09c Allow writing to pipe.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6502 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-22 12:10:02 +00:00
atmos4
a5737c25ee Fixed lround replacement, hopefully fast enough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6440 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-16 01:44:33 +00:00
atmos4
29043c589c Remove unportable lround and maybe speed up rounding a bit.
Anders: please check if this is correct.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6438 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-15 23:31:58 +00:00
anders
ee6efd29d9 Adding equalizer plugin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6431 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-15 06:15:07 +00:00
anders
dc1a616150 Applying patch from Eric that fixes 6ch resampling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6373 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-10 12:10:52 +00:00
arpi
89e9c29aff warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6336 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-07 22:43:29 +00:00
arpi
954e9892f2 disables those plugins that can't handle the audio format.
it also fixes a bug(and i'm pretty sure this _is_ a bug) where, when playing
multiple files, after the first file only the first audio plugin is used.

patch by Christian Ohm <chr.ohm@gmx.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6320 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-07 00:30:32 +00:00
arpi
f1748e040e msg/i18n fixes and some printf->mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6297 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-03 23:23:03 +00:00
pl
e045dc53b4 warning fixes (string.h is required for memset)
moved config.h at the top of the include (often avoids 10L when adding a
  new #include ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6238 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-30 11:53:51 +00:00
atmos4
d1981e9fa5 aRts audio out support by Michele Balistreri <brain at email.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6215 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-28 01:52:40 +00:00
alex
5baeafa938 removed unused controls
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6195 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-26 12:30:54 +00:00
alex
7b6fd7077b AC3 passthrough support by Andy Lo A Foe <andy at alsaplayer dot org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6194 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-26 12:23:19 +00:00
atmos4
aefac09349 Add volume control, patch by
Colin Leroy <colin at colino.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6185 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-25 11:08:53 +00:00
arpi
c835270280 big cosmetics patch, cleanup of messages printed by mplayer and libs.
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
2002-05-20 03:25:26 +00:00
pl
eb7cbca975 Patch by Tobias Diedrich <td@informatik.uni-hannover.de>:
- fix segfault due to unitialized struct in ao_nas


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6115 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-18 09:15:49 +00:00
albeu
c6eed70a13 Workaround the bug in x11 vo's (if it's one) wich let a window in the way
even after vo->uninit().
Support for dvd/vobsub subtitles.
No more crash if vo->config is not called before vo->uninit()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6112 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-17 23:51:37 +00:00
arpi
a6199c8388 fix for L<->R swap with 6ch playback - based on patch by Eric Lammerts <eric@lammerts.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6076 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-13 20:11:51 +00:00
albeu
0fc1992598 Applied patch from Tobias Diedrich <ranma@gmx.at>, added volume setting
support. Also the dvd subtitles should work now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6075 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-13 19:57:27 +00:00
albeu
b6a7934eb5 Initial support for dxr2. Based on patch from Tobias Diedrich <ranma@gmx.at>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6070 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-13 13:15:40 +00:00
iive
30d9f26685 fixed sdl+resample bug coused by float point to int rounding error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-09 07:41:25 +00:00
iive
98f2828d5a added audio_out_format_bits to calc len alignment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6027 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-09 07:39:33 +00:00
iive
879e05a7c1 timer didn't update if mplayer is too fast (no video)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5947 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-03 18:42:43 +00:00
arpi
97506370eb nonblock open is not legal for OSS (see OSS api docs), and causes problems on freebsd (and maybe other OSs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5908 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 20:42:15 +00:00
alex
7fccb6486e play() fix by Jimen Ching <jching@flex.com>, additional printf->mp_msg conversions (for coming i18n support)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5903 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 16:53:38 +00:00
jkeil
ee2ad20548 Default to the mixer device matching the audio device used for audio output.
That is, if the user redirects audio to /dev/sound/1 with the AUDIODEV
environment variable, use /dev/sound/1ctl as the mixer device.

When AUDIODEV is not set, the default for both devices is /dev/audio &
/dev/audioctl.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5894 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 08:47:30 +00:00
arpi
30d0116d16 OpenBSD, NetBSD portability patches by
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
2002-04-27 22:42:27 +00:00
atmos4
cfcbc26945 10l pl =)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5858 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 08:38:33 +00:00
pl
b509c4a94a fix for latest alsa (sys/asoundlib.h has been moved to alsa/asoundlib.h)
cleanups for "usr/src/DVB/ost/include" detection
small cosmetic fixes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5856 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 01:25:32 +00:00
atmos4
1b990d79ec - Fix for big apple architectures by Rogerio Brito, reworked by me to use bswap.h macros.
- Fix with audio only files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5838 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-26 13:07:03 +00:00
arpi
ceda76523a AFMT_AC3 autodetect/fallback to S16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5791 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-22 22:33:06 +00:00
iive
08465f819d memory leak(off by 1 bug)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5774 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-21 16:56:19 +00:00
atmos4
bb960cf53e Free fix by kisg@lme.linux.hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5502 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-06 15:38:28 +00:00
jaf
686109014e improved DVB detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5488 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-04 13:52:24 +00:00
arpi
3027484518 non-blocking open - patch by Fredrik Kuivinen <freku045@student.liu.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5205 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 19:16:01 +00:00
arpi
a746ebdbad 10l. -ao mpegpes shouldn't be disabled if no DVB
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5193 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 00:11:44 +00:00
anders
ead9372b40 Added soft clipping for software volume control
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5064 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-13 12:32:42 +00:00
arpi
9b68d1309b 10l - config.h should be included...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5061 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-13 01:45:42 +00:00
anders
1836f48c61 Bugfix for sig11 when playing multiple files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5051 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-12 06:32:02 +00:00
pl
85aedd0005 new smoothing method ('#define AVG 2' to enable'n'test it)
should be better and smoother but still some glitches in it :/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5026 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-10 13:53:38 +00:00
pl
67b1c950ad proper bsd fix & preventive fix for other archs w/o INT_MAX
(INT_MAX is 0x7fffffff in the freebsd headers I have)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4944 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-05 20:15:25 +00:00
nexus
7c4a359fd3 FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4943 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-05 14:36:06 +00:00
pl
bb18f52a7a volume normalizer plugin support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4942 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-05 09:17:36 +00:00
pl
fd28ff2c13 Extrastereo plugin: increases linearly the difference between left and right
channels (as the XMMS extrastereo plugin) which has some of "live" effect (use
it to hear what I mean)

ex: mplayer media.avi -aop list=extrastereo[:mul=3.4]
The default coefficient (mul) is a float number that defaults to 2.5.  If you
set it to 0.0, you will have a mono sound (average of both channels), if you
set it to 1.0, you will have unchanged sound.

A patch for DOCS/sound.html is about to be sent to Gabucino.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4928 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-03 14:17:53 +00:00
anders
e84bd83e95 Buggfix for buffer overflow calculation in plugins
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4923 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-03 12:53:26 +00:00
arpi
3d61c6346f good-looking fix by Tobias Diedrich <td@informatik.uni-hannover.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4915 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-02 18:54:58 +00:00
jkeil
094f9712df Fix a few syntax errors compiling ao_sun.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4908 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-01 14:54:05 +00:00
arpi
b201cec82c 10l... gcc 3.x fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4897 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-28 21:17:12 +00:00
anders
330d33256f Adding SW volume control
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4860 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-25 13:31:26 +00:00
alex
e2af7e8ccb using PATH_DEV_*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4804 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-22 14:20:15 +00:00
arpi
64f2fee0a9 compilation fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4793 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 17:22:03 +00:00
anders
2eb3f24dc1 Cleanup and comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4790 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 16:05:09 +00:00
anders
ee2ed8567e Moved HW dependent mixer stuff to libao and removed master switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4789 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 16:02:26 +00:00
atmos4
d0bfffd1a2 improved event handling, implemented working pause that does not flush all 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
2002-02-20 22:45:48 +00:00
anders
1de3804595 MMX part rewritten and 16 tap filter added for better sound qualty
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4726 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 13:08:14 +00:00
anders
3056606749 Enable SSH optimizations for FIR filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4536 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-05 04:52:41 +00:00
nick
0ef8e55573 Compilation fixing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4429 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 08:39:21 +00:00
arpi
dad7081d3f working dummy audio driver, patch by Tobias Diedrich <td@informatik.uni-hannover.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4425 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 00:32:04 +00:00
anders
6e413a04d2 Oops forgot to remove debug message :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4377 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 11:09:55 +00:00
anders
f7737ca1e0 Fixed sig 11 caused by buffer full in ao driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4376 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 10:59:03 +00:00
anders
c045148761 Fixed sig 11 caused by resampling plugin, some cosmetic changes and speed improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4375 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 10:41:43 +00:00
arpi
6cf2fc4f19 freq fix, removed muxer delay
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4332 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-24 00:53:22 +00:00
anders
9fa55b07a5 Added buffering of output data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4314 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 12:28:36 +00:00
arpi
6601a894ac 10l, debug printf removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4306 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-22 18:11:27 +00:00
arpi
1908064274 passing samplerate to LPCM writer - 44, 32 and 96khz are also supported from now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4301 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-22 02:15:23 +00:00
arpi
163a00b4a1 hwac3 fix for cmedia 8738 by Hans-Peter Raschke <Hans-Peter.Raschke@wintermann-datenservice.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4185 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-15 22:55:28 +00:00
anders
f36628b8fe Sync problem when using fractional resampling fixed + speed increased.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4172 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-15 13:21:45 +00:00
arpi
d9ff2768db ao_dxr3 removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4098 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-11 22:33:44 +00:00
mswitch
17ed49211b ao_dxr3.c deprecated, give users a grace period to accomodate to -ao oss:/dev/em8300_ma before removing this altogether
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4063 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-09 15:05:48 +00:00
anders
10aa8c8539 Correction of lisensing comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4050 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 11:37:54 +00:00
mswitch
80460bde10 Removed deprecated EM8300_IOCTL_AUDIO_SETPTS
Play now returns number of bytes written correctly


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4005 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-06 14:28:29 +00:00
alex
9333749418 fix for qnx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3849 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 20:21:32 +00:00
pl
c45d0b11c1 warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3840 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 18:15:50 +00:00
mswitch
74fc43e91a Lots of fixes for digital audio output submitted by Steven Brookes <stevenjb@mda.co.uk>
Hardware sync-code activated


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3828 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 10:20:16 +00:00
steve
664039bd2f error for non-stereo surrounds
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3719 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 18:54:58 +00:00
pl
8ee5b68534 memset is more portable than bzero ("BSD"ism)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3701 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 10:35:43 +00:00
steve
2d7b76c960 surround channels can now be decoded in stereoish
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3682 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 19:10:00 +00:00
steve
d2b1cc3fed fix comment typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3681 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 19:09:24 +00:00
mswitch
838f822d6d Argh, forgot to make variable static...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3663 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 16:22:32 +00:00
mswitch
a6d1e0ce2f Added format conversion and resampling through pl_format and pl_resample. Someone please check my implementation for bugs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3661 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 16:19:00 +00:00
anders
30c2c12d50 Added plugin for fractional resampling (alpha code)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3632 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-20 15:30:22 +00:00
mswitch
7a6d1acd7c Remove lame upsampler, cleaned out stuff relating to setting channels.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3616 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 14:31:31 +00:00
steve
d6d9a909f0 tweaked surround lowpass filter, included some new test code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3496 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 21:25:49 +00:00
jkeil
ed615f4d81 Use $AUDIODEV environment variable as the default audio device on solaris, if
available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3493 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 20:13:17 +00:00
steve
7d84310406 add missing newline in warning message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3487 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-13 23:37:57 +00:00
steve
36686d35d9 include 7kHz lowpass filter for surround channels, as per Dolby recommendation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3486 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-13 23:37:27 +00:00
steve
ff58a1305d compile remez.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3485 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-13 23:36:36 +00:00
steve
d2e3d5afdb FIR filter implementation for surround sound lowpass
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3484 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-13 23:36:04 +00:00
steve
0cdf4524e7 code by Jake Janovetz to find FIR filter coefficients using the Parks-McClellan algorithm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3483 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-13 23:33:50 +00:00
steve
f7527242b1 limit get_space return <= MAX_OUTBURST, whilst always an exact number of fragments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3456 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-11 09:23:57 +00:00
steve
507a79aa45 split surround delay buf into Ls and Rs in prep for active decoding stuff, and fiddled a bit more with surround level
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3421 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 00:10:47 +00:00
steve
80a081bc44 still fiddling with surround levels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3411 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 18:54:54 +00:00
mswitch
ba73fc159f Removed hardware syncing support. Actually movies seem to run much smoother without it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3388 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-08 14:40:45 +00:00
steve
e237409b46 Corrected front:surround levels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3374 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-07 22:36:33 +00:00
pl
41f9bd6c90 patch by Tobias Diedrich <td@informatik.uni-hannover.de>
add credits & fix a typo


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3337 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-05 12:12:00 +00:00
pl
d5462be87b CVS is still broken with gcc3. This fixes it.
But please explain _why_ the 'volatile' attribute is needed with these
variables and why is it supposed to protect them ?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3336 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-05 10:31:10 +00:00
mswitch
6409ef3cc8 Tried fixing a bug relating to users with digital audio output (I'm unable to test if this works myself since I don't have a decoder)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3329 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 23:13:15 +00:00
steve
d18cf2ade3 fixed to check that SNDCTL_DSP_CHANNELS actually grants the requested number of channels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3320 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 17:54:08 +00:00
nexus
c42243ea48 unistd.h required at least by FreeBSD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3318 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 15:49:26 +00:00
steve
3493023bce LIBAO_PLUGIN_EXTERN expansion uses wrong type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3317 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 15:45:21 +00:00
steve
bc14bb79f1 include pl_surround in available plugins
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3316 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 15:44:04 +00:00
steve
15c31b2055 compile pl_surround.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3315 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 15:43:08 +00:00
steve
067b8b5805 Dolby Surround decoding audio plugin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3314 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 15:42:44 +00:00
anders
6ab94ae409 Format plugin now with working switch statements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3310 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 12:28:26 +00:00
anders
6942b2ba9b Global variables protected using volatile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3309 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 12:23:27 +00:00
anders
68ac817cb7 correced memory deallocation bug and erors in comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3308 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-04 12:20:17 +00:00
nexus
bdde3d5657 FreeBSD install nas* to /usr/X11 by default (and require -lm)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3284 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 15:57:10 +00:00
anders
f8aa180191 Commandline interface to ao_plugin updated according to mplayers complex parameter format and plugin pl_format finished (alpha code needs testing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3280 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 14:05:02 +00:00
arpi
0a2d56ae1b -ao NAS support by Tobias Diedrich <ranma@gmx.at>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3277 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 01:13:48 +00:00
mswitch
545d66af0b Added support for upsampling since dxr3/h+ only supports 44100Hz and 48000Hz, currently it only works on 44100/(2*ratio)
Reverted get_delay to return a properly calculated value instead of 0.0


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3232 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-30 22:18:51 +00:00
atmos4
f7ae53c46a Fix green borders -> black borders, patch from D. Holm, also small fix to dxr3 ao.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3219 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-30 16:11:43 +00:00
atmos4
98feb0179d Newest DXR3 patch (improved 1.0rc2) by David Holm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3202 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 17:31:58 +00:00
nexus
156cbec75f unistd.h required at least by FreeBSD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3196 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 13:43:52 +00:00
anders
41881ebf85 commandline configuration of audio plugins now through struct, format conversion plugin added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3195 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-29 12:44:06 +00:00
atmos4
d9dca0c290 Patch by D. Holm to make audio with dxr3 working.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3187 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-28 15:33:38 +00:00
steve
f6ee7f826c Extended oss output driver and libac3 to support 4 and 6 channel output mixes. added -channels command line option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3182 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-28 12:46:23 +00:00
anders
abf8696e5e Audio delay bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3138 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 11:30:35 +00:00
anders
bd1cda3d8c Parse bug fixed (I hope)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3136 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 02:16:01 +00:00
arpi
82adc24b1f ao_subdevice fixed. 10l...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3130 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 00:49:39 +00:00
jaf
b645ff90ff usefull file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3122 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-25 17:55:26 +00:00
jaf
7cbe086173 usefull file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3120 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-25 17:44:40 +00:00
anders
703be6f885 Changes to audio out Makefile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3109 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-25 14:31:11 +00:00
anders
0470bface7 Changes to audio out plugin, first plugin added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3108 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-25 14:29:54 +00:00
anders
44399cfe59 ao_plugin.c and plugin headers added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3097 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 05:24:06 +00:00
anders
242aa6ebd4 interface to libao2 changed ao_plugin added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 05:21:22 +00:00
alex
db51f47ae6 compiling under qnx, hope it works on all qnx release :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3088 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-23 16:35:51 +00:00
pl
927210800c ao_mpegpes isn't really optional
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2978 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-18 18:58:03 +00:00
atmos4
2a3e9d86da Minor fixes by David.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2969 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-18 13:10:22 +00:00
atmos4
d2d9565a1a Move ignores in subdirs to their respective .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2964 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-17 23:55:40 +00:00
arpi
533abb0093 dxr3-patch4 by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2922 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-16 08:31:18 +00:00
mswitch
4eac027933 Disable ao_mpegpes if compiled with libvo2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2901 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 13:07:08 +00:00
mswitch
b7f83d94c2 Had to remove ao_mpegpes.c from the Makefile since it depends on libvo/vo_mpegpes and doesn't like libvo2 =).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2899 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 11:35:25 +00:00
alex
17f7dae687 audio_out_format_name moved from audio_out.c to afmt.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2813 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:49:26 +00:00
atmos4
2f2350320a DXR3 beta2 patch by David Holm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2771 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-08 21:51:28 +00:00
arpi
38128eab95 ao_mpegpes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2709 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 03:01:11 +00:00
arpi
bd74597c36 ao_dxr3 by David Holm <dholm@telia.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2646 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-03 02:38:10 +00:00
arpi
c51f7cb391 SGI audio driver by oliver.schoenbrunner@jku.at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2452 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 14:06:36 +00:00
arpi
b842217f07 MIPS support by oliver.schoenbrunner@jku.at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2451 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 14:02:19 +00:00
arpi
7b08e653c6 applied patch by Joy Winter <joy@pingfm.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2210 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-15 11:17:19 +00:00
arpi
59295d1b3d gcc3 warning fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2081 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-04 18:30:30 +00:00
pontscho
ead17b2339 alsa9 pecs by joy_ping <joy@pingfm.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2060 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-03 18:09:51 +00:00
jkeil
ac2fbcbf25 Sun audiocs HW does not support AFMT_U8, try to use AFMT_S8 instead. If AFMT_S8
is available, convert to AFMT_S8 in software.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1808 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-31 20:34:17 +00:00
arpi
b4146a2462 fixed ehh.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1764 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-29 21:08:12 +00:00
jkeil
92828938a3 Move the sun audio driver near the start of the list of audio drivers, so
that it has priority over the 'null' driver.  On solaris (without OSS
drivers), the sun audio driver is now the default audio driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1726 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-28 10:54:31 +00:00
arpi
2b53b19b8c AFMT_AC3 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1533 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-15 17:32:47 +00:00
arpi
7c9c86fb97 ac3/spdif patch by German Gomez Garcia <german@piraos.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1529 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-15 11:50:55 +00:00
arpi
2e5a0ca6fe printfs cleanup - moved to higher -v level or moved to stderr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1457 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-06 23:59:50 +00:00
jkeil
42805cb451 AUDIO_ENCODING_LINEAR8 format is not available on sunos 5.5. Format is
unsupported in mplayer for now, to get the code compiled on that old version
of the OS.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1347 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 20:04:54 +00:00
jkeil
61bce79d66 On big-endian architectures, all audio decoders default to big-endian 16-bit
audio sample format.

Add support to play both big- and little-endian 16-bit audio format to the
sun audio_out driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1321 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 16:58:55 +00:00
jkeil
82eac1391a Support playback of AFMT_S16_LE audio data on a big endian machine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1309 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:30:15 +00:00
jkeil
8ef288232c Ignore generated config.mak files in CVS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1282 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 10:36:35 +00:00
atmos4
df920217c0 Corrected SDL include path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1239 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-27 11:40:15 +00:00
arpi
69cfcfe301 OPTFLAGS vs. INCLUDES cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1235 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-26 23:15:58 +00:00