The following functions are not marked LIBVLC_API and are not in the
public header files (for a reason):
- libvlc_event_manager_new(),
- libvlc_event_manager_register_event_type() and
- libvlc_event_manager_release().
There wer no reasons to have them in the symbols list.
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>
Extended version of libvlc_media_parse_async. It uses a flag to specify parse
options and returns an int for error handling.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
libvlc_media_discoverer_new_from_name was creating a services_discovery_t and
was starting it, so libvlc_MediaDiscovererStarted event (or any other events)
could not be received.
To fix that, Split libvlc_media_discoverer_new_from_name into
libvlc_media_discoverer_new and libvlc_media_discoverer_start. That way, we can
attach events between create and start.
libvlc_media_discoverer_new_from_name is now deprecated, but it still works
like before.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Expose an event to libvlc users which allows them to get notified about the
current program scrambling status.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
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>
- Scope the callback to its instance.
- Avoid leaking the layout of an internal data structure.
- Future-proof passing of extra informations through an opaque pointer.
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>
I don't this abomination to leak through the stable LibVLC interface.
To link statically, modules should be linked into LibVLC instead.
And then, there is no need to reintroduce the old "builtin" vlc-config
type if all modules are built the same. In prehistoric times, the
distinction was needed because some modules were static and some not.
Two new functions added:
* val = libvlc_audio_get_delay( p_mi )
* libvlc_audio_set_delay( p_mi, i_delay )
The delay is measured in microseconds.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>