Romain Vimont
c0c35a5002
libvlc: player: use vlc_player
...
Implement the old libvlc player API using the new vlc_player.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-05-22 22:03:58 +02:00
Rémi Denis-Courmont
d2c1bc4433
aout: introduce aout_Hold() and aout_Release()
...
Type-safe replacements for vlc_object_hold() and vlc_object_release()
(as discussed during the last workshop).
2019-03-06 22:53:24 +02:00
Rémi Denis-Courmont
d55765b605
input: introduce input_Hold() and input_Release()
...
Type-safe replacements for vlc_object_hold() and vlc_object_release()
(as discussed during the last workshop).
2019-03-06 22:53:23 +02:00
Steve Lhomme
5363279805
remove the $Id$ in the source code
2019-01-17 12:21:18 +01:00
Hugo Beauzée-Luyssen
a9014afdac
lib: Add thumbnailing support
...
Fix #17368
2018-11-12 17:09:05 +01:00
Steve Lhomme
f648e3d5b5
core: the "audio-delay" is stored in vlc_tick_t
...
Convert the read/writes accordingly
2018-07-03 16:13:30 +02:00
Rémi Denis-Courmont
0b3b1edf14
variables: use table of vlc_value_t for VLC_VAR_GETCHOICES
...
This simplifies the notation. No function differences.
2018-06-10 13:08:44 +03:00
Rémi Denis-Courmont
5d31da4eca
variables: replace var_FreeList() with free()
...
...where applicable.
2018-06-10 13:08:44 +03:00
Rémi Denis-Courmont
5e50399a45
variables: add count parameter for VLC_VAR_GETCHOICES
2018-06-10 13:08:44 +03:00
Rémi Denis-Courmont
34925c7cb5
variables: use char *** for VLC_VAR_GETCHOICES texts
2018-06-10 13:08:44 +03:00
Rémi Denis-Courmont
63ce436225
variables: pass vlc_list_t directly with VLC_VAR_GETCHOICES
2018-06-10 13:08:44 +03:00
Rémi Denis-Courmont
d01c9337a4
variables: make forth var_Change() argument optional
...
Most requests do not actually need it.
2018-06-10 13:08:44 +03:00
Rémi Denis-Courmont
9a4e671d38
libvlc: remove audio stub functions
2018-05-03 15:25:37 +03:00
Rémi Denis-Courmont
05f7d6b62c
config: remove useless config_GetPszChoices() parameter
2018-02-28 20:52:37 +02:00
Rémi Denis-Courmont
7578135789
lib: fix libvlc_audio_output_device_list_get() crash
...
Only query the list of audio devices if the specified module/option
exists, and it is a string.
2018-02-28 20:51:44 +02:00
Thomas Guillem
08943f4214
libvlc: add libvlc_media_player_set_renderer
2016-09-20 11:06:51 +02:00
Thomas Guillem
a65d213b8b
Revert "libvlc_media_player: create the aout when first setting audio options"
...
This leads to very inconsistent behaviour on WASAPI and PulseAudio.
This reverts commit 1d7c559827
.
2015-06-26 10:37:02 +02:00
Thomas Guillem
1d7c559827
libvlc_media_player: create the aout when first setting audio options
...
If not setting any audio options, the aout will be created by the decoder
thread.
This avoids to create an audio output that will be destroyed if you change it
with libvlc_audio_output_set.
2015-06-25 19:08:18 +02:00
Zhao Zhili
29ed29e642
fix memory leak in lib/audio.c
...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-06-10 18:44:21 +03:00
Rémi Denis-Courmont
d39ba9a05c
input: switch spu and audio delay variables to integer type
2015-05-22 22:14:39 +03:00
Mark Lee
a60b897e11
lib: add libvlc_audio_output_device_get()
...
This function gets the active device identifier for the current
audio output, if there is one, and is the complementary function
to libvlc_audio_output_device_set().
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-01-28 00:01:39 +01:00
Rémi Denis-Courmont
9d30c4c56a
libvlc: missing NULL terminator ( fixes #13655 )
2015-01-15 21:32:27 +02:00
Rémi Denis-Courmont
b9b9d7fe3e
lib: fix object reference leak, fix test suite
2014-06-08 20:04:08 +03:00
Rémi Denis-Courmont
bccf8c0018
lib: fix logic inversion
2014-05-20 19:10:22 +08:00
Rémi Denis-Courmont
2e77318cdd
lib: return NAN on libvlc_audio_equalizer_set_amp_at_index() error
2014-05-20 19:10:21 +08:00
Rémi Denis-Courmont
2e8d457afe
lib: fix (pre)amplification range checks for equalizer
2014-05-20 19:10:21 +08:00
Rémi Denis-Courmont
589f091f58
lib: fix volume range check in libvlc_audio_set_volume()
2014-05-20 19:10:21 +08:00
Rémi Denis-Courmont
e957152215
audio: support for enumerating devices of current aoout ( fixes #10720 )
2014-05-15 21:10:57 +08:00
Rémi Denis-Courmont
b90f1b9051
audio: support setting device of current audio output (refs #10720 )
2014-05-15 21:10:57 +08:00
Rémi Denis-Courmont
ff42916045
lib: reset the audio output when selecting amem or custom plugin
2014-03-10 19:19:04 +02:00
Ronald Wright
03c813954a
libvlc: equalizer: ISO frequencies are the new default
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-08-18 21:29:41 +02:00
Mark Lee
c180afe5f9
libvlc: add equalizer API
...
Functions are provided to:
* query the available equalizer presets
* create a new default equalizer instance
* create an equalizer instance from a preset
* set individual equalizer band amplitudes
* set equalizer pre-amplification
* apply an equalizer to a media player
Equalizer settings can be applied whether media is playing or not,
and will automatically be retained when playing media subsequently.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2013-07-24 19:22:03 +03:00
Rémi Denis-Courmont
f23239d4d2
libvlc_audio_output_device_list_get: fix spelling ( fixes #8955 )
2013-07-13 11:02:23 +03:00
Rémi Denis-Courmont
ce96ee78f5
libvlc_audio_set_track: return -1 on error
...
Surprisingly, my gcc did not generate a possible unitilization warning.
2013-02-04 18:38:04 +02:00
Rémi Denis-Courmont
605d95f95c
libvlc: stub device_type functions
...
They stopped working in version 2.0 and never made much sense.
2012-12-15 17:41:20 +02:00
Rémi Denis-Courmont
2c5ee1707b
lib: correct and uniformize audio/video track IDs ( fixes #7645 )
2012-11-08 22:39:35 +02:00
Rémi Denis-Courmont
b1666e22bb
aout: remove old aout_(Volume|Mute)(Get|Set)() functions
...
And remove the other instance of find-input-callback.
2012-11-01 19:25:28 +02:00
Rémi Denis-Courmont
7dba440e2b
aout: remove aout_MuteToggle()
2012-11-01 19:16:12 +02:00
Rémi Denis-Courmont
4251a30f52
libvlc: do not depend on input thread to obtain the aout
...
The aout can exist even if the input thread is stopped. This makes
audio-related functions work in case where they would previously fail.
2012-11-01 18:59:09 +02:00
Rémi Denis-Courmont
6012a9c9f9
aout: add --stereo-mode to replace audio-channels variable ( fixes #6 )
...
Since audio-channels was not a configuration item, renaming is a mere
internal matter. This also fixes callback handling and factors code.
2012-10-04 22:13:31 +03:00
Rémi Denis-Courmont
74486e6b20
Fix error handling from module_list_get() ( fixes #7500 )
...
module_list_get() can return NULL, callers cannot assume that the table
is NULL-terminated (NULL is not NULL-terminated table).
2012-09-28 18:06:39 +03:00
Rémi Denis-Courmont
6f74124e45
Revert "Add new API to libvlc for persistent equalizer settings."
...
This reverts commit 32596ea810
.
2012-09-21 13:54:55 +03:00
Mark Lee
32596ea810
Add new API to libvlc for persistent equalizer settings.
...
New methods are provided to:
- get the available equalizer presets;
- get the available frequency bands (useful for creating a UI);
- create a new default equalizer, or create a new equalizer from a preset;
- release a previously created equalizer;
- get/set preamp and individual frequency amplification values;
- apply equalizer settings to a media player.
Equalizer settings are persistent, can be made whether media is currently playing or not, and will automatically be applied to subsequently played media.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-09-15 15:16:17 +02:00
Rémi Denis-Courmont
33cf1494fc
libvlc: thread-safe and more straight-forward audio devices API
...
Also improve documentation, and deprecate the old broken functions.
2012-08-15 22:58:51 +03:00
Rémi Denis-Courmont
b27ba687c2
libvlc_audio_output_list: simplify and add missing error handling
2012-08-15 22:10:02 +03:00
Rémi Denis-Courmont
5d5f17134a
aout_Volume*: use float rather than integer
2012-07-03 18:04:08 +03:00
Rémi Denis-Courmont
e90d793494
LibVLC: improve mute documentation
2012-07-03 18:04:08 +03:00
Rémi Denis-Courmont
035898d1b1
aout_MuteGet: fix name and add VLC_OBJECT() magic cast
2012-07-03 18:04:08 +03:00
Rémi Denis-Courmont
297280a210
aout_MuteSet: fix name and remove unused parameter
2012-07-03 18:04:07 +03:00
Rémi Denis-Courmont
9b965746c5
aout_MuteToggle: fix name and remove unused or misused volume parameter
...
In particular, show OSD mute icon when mute is enabled, rather than
when volume is nul (which is orthogonal).
2012-07-03 18:04:07 +03:00