Commit ec8f3386 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] DocBook: Use constant tag for monospaced fonts

As reminded by Jonathan, several places where emphasys
role="tt" were used are actually trying to change the font to
monospaced.

We do that, on other places, by using the constant tag.

So, use it here too.
Reported-by: default avatarJonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent bf45caf2
<title>DVB Audio Device</title> <title>DVB Audio Device</title>
<para>The DVB audio device controls the MPEG2 audio decoder of the DVB hardware. It <para>The DVB audio device controls the MPEG2 audio decoder of the DVB hardware. It
can be accessed through <emphasis role="bold">/dev/dvb/adapter0/audio0</emphasis>. Data types and and can be accessed through <constant>/dev/dvb/adapter?/audio?</constant>. Data types and and
ioctl definitions can be accessed by including <emphasis role="bold">linux/dvb/audio.h</emphasis> in your ioctl definitions can be accessed by including <constant>linux/dvb/audio.h</constant> in your
application. application.
</para> </para>
<para>Please note that some DVB cards don&#8217;t have their own MPEG decoder, which results in <para>Please note that some DVB cards don&#8217;t have their own MPEG decoder, which results in
...@@ -32,7 +32,7 @@ typedef enum { ...@@ -32,7 +32,7 @@ typedef enum {
</programlisting> </programlisting>
<para>AUDIO_SOURCE_DEMUX selects the demultiplexer (fed either by the frontend or the <para>AUDIO_SOURCE_DEMUX selects the demultiplexer (fed either by the frontend or the
DVR device) as the source of the video stream. If AUDIO_SOURCE_MEMORY DVR device) as the source of the video stream. If AUDIO_SOURCE_MEMORY
is selected the stream comes from the application through the <emphasis role="bold">write()</emphasis> system is selected the stream comes from the application through the <constant>write()</constant> system
call. call.
</para> </para>
......
<title>DVB CA Device</title> <title>DVB CA Device</title>
<para>The DVB CA device controls the conditional access hardware. It can be accessed through <para>The DVB CA device controls the conditional access hardware. It can be accessed through
<emphasis role="bold">/dev/dvb/adapter0/ca0</emphasis>. Data types and and ioctl definitions can be accessed by <constant>/dev/dvb/adapter?/ca?</constant>. Data types and and ioctl definitions can be accessed by
including <emphasis role="bold">linux/dvb/ca.h</emphasis> in your application. including <constant>linux/dvb/ca.h</constant> in your application.
</para> </para>
<section id="ca_data_types"> <section id="ca_data_types">
......
<title>DVB Demux Device</title> <title>DVB Demux Device</title>
<para>The DVB demux device controls the filters of the DVB hardware/software. It can be <para>The DVB demux device controls the filters of the DVB hardware/software. It can be
accessed through <emphasis role="bold">/dev/adapter0/demux0</emphasis>. Data types and and ioctl definitions can be accessed through <constant>/dev/adapter?/demux?</constant>. Data types and and ioctl definitions can be
accessed by including <emphasis role="bold">linux/dvb/dmx.h</emphasis> in your application. accessed by including <constant>linux/dvb/dmx.h</constant> in your application.
</para> </para>
<section id="dmx_types"> <section id="dmx_types">
<title>Demux Data Types</title> <title>Demux Data Types</title>
...@@ -21,11 +21,11 @@ typedef enum ...@@ -21,11 +21,11 @@ typedef enum
DMX_OUT_TSDEMUX_TAP /&#x22C6; Like TS_TAP but retrieved from the DMX device &#x22C6;/ DMX_OUT_TSDEMUX_TAP /&#x22C6; Like TS_TAP but retrieved from the DMX device &#x22C6;/
} dmx_output_t; } dmx_output_t;
</programlisting> </programlisting>
<para><emphasis role="bold">DMX_OUT_TAP</emphasis> delivers the stream output to the demux device on which the ioctl is <para><constant>DMX_OUT_TAP</constant> delivers the stream output to the demux device on which the ioctl is
called. called.
</para> </para>
<para><emphasis role="bold">DMX_OUT_TS_TAP</emphasis> routes output to the logical DVR device <emphasis role="bold">/dev/dvb/adapter0/dvr0</emphasis>, <para><constant>DMX_OUT_TS_TAP</constant> routes output to the logical DVR device <constant>/dev/dvb/adapter?/dvr?</constant>,
which delivers a TS multiplexed from all filters for which <emphasis role="bold">DMX_OUT_TS_TAP</emphasis> was which delivers a TS multiplexed from all filters for which <constant>DMX_OUT_TS_TAP</constant> was
specified. specified.
</para> </para>
</section> </section>
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
<listitem><para>Satellite Equipment Control (SEC) hardware (only for Satellite).</para></listitem> <listitem><para>Satellite Equipment Control (SEC) hardware (only for Satellite).</para></listitem>
</itemizedlist> </itemizedlist>
<para>The frontend can be accessed through <para>The frontend can be accessed through
<emphasis role="bold">/dev/dvb/adapter?/frontend?</emphasis>. Data types and <constant>/dev/dvb/adapter?/frontend?</constant>. Data types and
ioctl definitions can be accessed by including ioctl definitions can be accessed by including
<emphasis role="bold">linux/dvb/frontend.h</emphasis> in your application. <constant>linux/dvb/frontend.h</constant> in your application.
</para> </para>
<para>NOTE: Transmission via the internet (DVB-IP) <para>NOTE: Transmission via the internet (DVB-IP)
......
...@@ -129,41 +129,41 @@ hardware. It can depend on the individual security requirements of the ...@@ -129,41 +129,41 @@ hardware. It can depend on the individual security requirements of the
platform, if and how many of the CA functions are made available to the platform, if and how many of the CA functions are made available to the
application through this device.</para> application through this device.</para>
<para>All devices can be found in the <emphasis role="bold">/dev</emphasis> <para>All devices can be found in the <constant>/dev</constant>
tree under <emphasis role="bold">/dev/dvb</emphasis>. The individual devices tree under <constant>/dev/dvb</constant>. The individual devices
are called:</para> are called:</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/audioM</emphasis>,</para> <para><constant>/dev/dvb/adapterN/audioM</constant>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/videoM</emphasis>,</para> <para><constant>/dev/dvb/adapterN/videoM</constant>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/frontendM</emphasis>,</para> <para><constant>/dev/dvb/adapterN/frontendM</constant>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/netM</emphasis>,</para> <para><constant>/dev/dvb/adapterN/netM</constant>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/demuxM</emphasis>,</para> <para><constant>/dev/dvb/adapterN/demuxM</constant>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/dvrM</emphasis>,</para> <para><constant>/dev/dvb/adapterN/dvrM</constant>,</para>
</listitem> </listitem>
<listitem> <listitem>
<para><emphasis role="bold">/dev/dvb/adapterN/caM</emphasis>,</para></listitem></itemizedlist> <para><constant>/dev/dvb/adapterN/caM</constant>,</para></listitem></itemizedlist>
<para>where N enumerates the DVB PCI cards in a system starting <para>where N enumerates the DVB PCI cards in a system starting
from&#x00A0;0, and M enumerates the devices of each type within each from&#x00A0;0, and M enumerates the devices of each type within each
adapter, starting from&#x00A0;0, too. We will omit the &#8220;<emphasis adapter, starting from&#x00A0;0, too. We will omit the &#8220;
role="bold">/dev/dvb/adapterN/</emphasis>&#8221; in the further dicussion <constant>/dev/dvb/adapterN/</constant>&#8221; in the further dicussion
of these devices. The naming scheme for the devices is the same wheter of these devices. The naming scheme for the devices is the same wheter
devfs is used or not.</para> devfs is used or not.</para>
...@@ -202,10 +202,10 @@ a partial path like:</para> ...@@ -202,10 +202,10 @@ a partial path like:</para>
</programlisting> </programlisting>
<para>To enable applications to support different API version, an <para>To enable applications to support different API version, an
additional include file <emphasis additional include file
role="bold">linux/dvb/version.h</emphasis> exists, which defines the <constant>linux/dvb/version.h</constant> exists, which defines the
constant <emphasis role="bold">DVB_API_VERSION</emphasis>. This document constant <constant>DVB_API_VERSION</constant>. This document
describes <emphasis role="bold">DVB_API_VERSION 5.10</emphasis>. describes <constant>DVB_API_VERSION 5.10</constant>.
</para> </para>
</section> </section>
......
<title>Kernel Demux API</title> <title>Kernel Demux API</title>
<para>The kernel demux API defines a driver-internal interface for registering low-level, <para>The kernel demux API defines a driver-internal interface for registering low-level,
hardware specific driver to a hardware independent demux layer. It is only of interest for hardware specific driver to a hardware independent demux layer. It is only of interest for
DVB device driver writers. The header file for this API is named <emphasis role="bold">demux.h</emphasis> and located in DVB device driver writers. The header file for this API is named <constant>demux.h</constant> and located in
<emphasis role="bold">drivers/media/dvb-core</emphasis>. <constant>">drivers/media/dvb-core</constant>.
</para> </para>
<para>Maintainer note: This section must be reviewed. It is probably out of date. <para>Maintainer note: This section must be reviewed. It is probably out of date.
</para> </para>
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<para>In order to create the Linux virtual network interfaces, an application <para>In order to create the Linux virtual network interfaces, an application
needs to tell to the Kernel what are the PIDs and the encapsulation types needs to tell to the Kernel what are the PIDs and the encapsulation types
that are present on the transport stream. This is done through that are present on the transport stream. This is done through
<emphasis role="bold">/dev/dvb/adapter?/net?</emphasis> device node. <constant>/dev/dvb/adapter?/net?</constant> device node.
The data will be available via virtual <constant>dvb?_?</constant> The data will be available via virtual <constant>dvb?_?</constant>
network interfaces, and will be controled/routed via the standard network interfaces, and will be controled/routed via the standard
ip tools (like ip, route, netstat, ifconfig, etc).</para> ip tools (like ip, route, netstat, ifconfig, etc).</para>
<para> Data types and and ioctl definitions are defined via <para> Data types and and ioctl definitions are defined via
<emphasis role="bold">linux/dvb/net.h</emphasis> header.</para> <constant>linux/dvb/net.h</constant> header.</para>
<section id="net_fcalls"> <section id="net_fcalls">
<title>DVB net Function Calls</title> <title>DVB net Function Calls</title>
......
...@@ -24,7 +24,7 @@ have been created to replace that functionality.</para> ...@@ -24,7 +24,7 @@ have been created to replace that functionality.</para>
<section id="video-format-t"> <section id="video-format-t">
<title>video_format_t</title> <title>video_format_t</title>
<para>The <emphasis role="bold">video_format_t</emphasis> data type defined by <para>The <constant>video_format_t</constant> data type defined by
</para> </para>
<programlisting> <programlisting>
typedef enum { typedef enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment