1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 11:55:42 +00:00
Commit Graph

201 Commits

Author SHA1 Message Date
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