mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
280 lines
8.1 KiB
HTML
280 lines
8.1 KiB
HTML
<!--
|
|
SPDX-FileCopyrightText: Rafał Dzięgiel
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-or-later
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Clapper.Player.add_feature</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
<meta property="og:type" content="website"/>
|
|
|
|
|
|
<meta property="og:image:width" content="256"/>
|
|
<meta property="og:image:height" content="256"/>
|
|
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
|
|
<meta property="og:image:alt" content="Clapper-0.0"/>
|
|
|
|
|
|
|
|
<meta priority="og:title" content="Clapper.Player.add_feature"/>
|
|
<meta priority="og:description" content="Reference for Clapper.Player.add_feature"/>
|
|
<meta name="twitter:title" content="Clapper.Player.add_feature"/>
|
|
<meta name="twitter:description" content="Reference for Clapper.Player.add_feature"/>
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary"/>
|
|
|
|
|
|
|
|
|
|
<link rel="search" type="application/opensearchdescription+xml" title="Clapper" href="opensearch.xml">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
<script src="urlmap.js"></script>
|
|
|
|
|
|
<script src="fzy.js"></script>
|
|
<script src="search.js"></script>
|
|
|
|
<script src="main.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="body-wrapper" tabindex="-1">
|
|
|
|
<nav class="sidebar devhelp-hidden">
|
|
|
|
<div class="section">
|
|
<img src="clapper-logo.svg" class="logo"/>
|
|
</div>
|
|
|
|
|
|
<div class="search section">
|
|
<form id="search-form" autocomplete="off">
|
|
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="section namespace">
|
|
<h3><a href="index.html">Clapper</a></h3>
|
|
<p>API Version: 0.0</p>
|
|
|
|
<p>Library Version: 0.5.2</p>
|
|
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h5>Type</h5>
|
|
<div class="links">
|
|
<a href="class.Player.html">Player</a>
|
|
</div>
|
|
</div>
|
|
<div class="section">
|
|
<h5>Methods</h5>
|
|
<div class="links">
|
|
|
|
<a class="method current" href="method.Player.add_feature.html">add_feature</a>
|
|
|
|
<a class="method" href="method.Player.get_audio_enabled.html">get_audio_enabled</a>
|
|
|
|
<a class="method" href="method.Player.get_audio_filter.html">get_audio_filter</a>
|
|
|
|
<a class="method" href="method.Player.get_audio_sink.html">get_audio_sink</a>
|
|
|
|
<a class="method" href="method.Player.get_audio_streams.html">get_audio_streams</a>
|
|
|
|
<a class="method" href="method.Player.get_autoplay.html">get_autoplay</a>
|
|
|
|
<a class="method" href="method.Player.get_current_audio_decoder.html">get_current_audio_decoder</a>
|
|
|
|
<a class="method" href="method.Player.get_current_video_decoder.html">get_current_video_decoder</a>
|
|
|
|
<a class="method" href="method.Player.get_mute.html">get_mute</a>
|
|
|
|
<a class="method" href="method.Player.get_position.html">get_position</a>
|
|
|
|
<a class="method" href="method.Player.get_queue.html">get_queue</a>
|
|
|
|
<a class="method" href="method.Player.get_speed.html">get_speed</a>
|
|
|
|
<a class="method" href="method.Player.get_state.html">get_state</a>
|
|
|
|
<a class="method" href="method.Player.get_subtitle_streams.html">get_subtitle_streams</a>
|
|
|
|
<a class="method" href="method.Player.get_subtitles_enabled.html">get_subtitles_enabled</a>
|
|
|
|
<a class="method" href="method.Player.get_video_enabled.html">get_video_enabled</a>
|
|
|
|
<a class="method" href="method.Player.get_video_filter.html">get_video_filter</a>
|
|
|
|
<a class="method" href="method.Player.get_video_sink.html">get_video_sink</a>
|
|
|
|
<a class="method" href="method.Player.get_video_streams.html">get_video_streams</a>
|
|
|
|
<a class="method" href="method.Player.get_volume.html">get_volume</a>
|
|
|
|
<a class="method" href="method.Player.pause.html">pause</a>
|
|
|
|
<a class="method" href="method.Player.play.html">play</a>
|
|
|
|
<a class="method" href="method.Player.seek.html">seek</a>
|
|
|
|
<a class="method" href="method.Player.seek_custom.html">seek_custom</a>
|
|
|
|
<a class="method" href="method.Player.set_audio_enabled.html">set_audio_enabled</a>
|
|
|
|
<a class="method" href="method.Player.set_audio_filter.html">set_audio_filter</a>
|
|
|
|
<a class="method" href="method.Player.set_audio_sink.html">set_audio_sink</a>
|
|
|
|
<a class="method" href="method.Player.set_autoplay.html">set_autoplay</a>
|
|
|
|
<a class="method" href="method.Player.set_mute.html">set_mute</a>
|
|
|
|
<a class="method" href="method.Player.set_speed.html">set_speed</a>
|
|
|
|
<a class="method" href="method.Player.set_subtitles_enabled.html">set_subtitles_enabled</a>
|
|
|
|
<a class="method" href="method.Player.set_video_enabled.html">set_video_enabled</a>
|
|
|
|
<a class="method" href="method.Player.set_video_filter.html">set_video_filter</a>
|
|
|
|
<a class="method" href="method.Player.set_video_sink.html">set_video_sink</a>
|
|
|
|
<a class="method" href="method.Player.set_volume.html">set_volume</a>
|
|
|
|
<a class="method" href="method.Player.stop.html">stop</a>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section generator">
|
|
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2023.3</p>
|
|
</div>
|
|
</nav>
|
|
|
|
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
|
|
|
|
|
|
<section id="main" class="content">
|
|
<header>
|
|
<h3>Method</h3>
|
|
<h1><a href="index.html">Clapper</a><span class="sep"></span><a href="class.Player.html">Player</a><span class="sep"></span>add_feature</h1>
|
|
</header>
|
|
|
|
<section>
|
|
<div class="docblock">
|
|
<p></p>
|
|
</div>
|
|
|
|
<div class="declaration toggle-wrapper">
|
|
<h4 style="display:flex;" id="declaration">
|
|
Declaration
|
|
<a class="anchor" href="#declaration"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/lib/clapper/clapper-player.h#L112">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock c-decl">
|
|
<pre><code><div class="highlight"><pre><span></span><span class="kt">void</span>
|
|
<span class="n">clapper_player_add_feature</span><span class="w"> </span><span class="p">(</span>
|
|
<span class="w"> </span><span class="n">ClapperPlayer</span><span class="o">*</span><span class="w"> </span><span class="n">player</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="n">ClapperFeature</span><span class="o">*</span><span class="w"> </span><span class="n">feature</span>
|
|
<span class="p">)</span>
|
|
</pre></div>
|
|
</code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="description toggle-wrapper">
|
|
<h4 style="display:flex;" id="description">
|
|
Description
|
|
<a class="anchor" href="#description"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/lib/clapper/clapper-player.c#L1553">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<p>Add another <code>ClapperFeature</code> to the player.</p>
|
|
<p>If feature is already added, this function will do nothing,
|
|
so it is safe to call multiple times if unsure.</p>
|
|
</div>
|
|
|
|
<div class="docblock">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="parameters toggle-wrapper">
|
|
<h4 id="parameters">
|
|
Parameters
|
|
<a href="#parameters" class="anchor"></a>
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<dl class="arguments">
|
|
|
|
<dt class="arg-name"><code>feature</code></dt>
|
|
<dd class="arg-description">
|
|
<p><em>Type:</em> <a href="class.Feature.html"><code>ClapperFeature</code></a></p>
|
|
<p><p>A <code>ClapperFeature</code>.</p></p>
|
|
<table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr><td title="transfer: none">The data is owned by the caller of the method.</td></tr>
|
|
|
|
</table>
|
|
</dd>
|
|
|
|
|
|
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</section>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="search" class="content hidden"></section>
|
|
|
|
<footer>
|
|
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html> |