15944N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
15944N/A<!--ArborText, Inc., 1988-1999, v.4002-->
15946N/A<!--ARC : LSARC 2008/534 libcanberra -->
15944N/A<!ENTITY cmd "canberra-gtk-play">
15944N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
15944N/A%commonents;
15944N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
15944N/A%booktitles;
15944N/A<!ENTITY suncopy "Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.">
15944N/A]>
15944N/A<?Pub UDT _bookmark _target>
15944N/A<?Pub Inc>
15944N/A<refentry id="canberra-gtk-play-1">
15944N/A<!-- %Z%%M% %I% %E% SMI; -->
15944N/A<refmeta><refentrytitle>canberra-gtk-play</refentrytitle><manvolnum>1</manvolnum>
15944N/A<refmiscinfo class="date">20 Feb 2009</refmiscinfo>
15944N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
15944N/A<refmiscinfo class="software">&release;</refmiscinfo>
15944N/A<refmiscinfo class="arch">generic</refmiscinfo>
15944N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
15944N/A</refmeta>
15944N/A<indexterm><primary>&cmd;</primary></indexterm><indexterm><primary>
15944N/Aplay a sound event
15944N/A</primary></indexterm>
15944N/A<refnamediv id="canberra-gtk-play-1-name"><refname>&cmd;</refname>
15944N/A<refpurpose>
15944N/Aplay a sound event
15944N/A</refpurpose></refnamediv>
15944N/A<refsynopsisdiv id="canberra-gtk-play-1-synp"><title>&synp-tt;</title>
15944N/A<cmdsynopsis><command>&cmd;</command>
15944N/A<arg choice="opt"><option>-cache-control=<replaceable>permanent|volatile|never</replaceable</option></arg>
15944N/A<arg choice="opt"><option>-description=<replaceable>description</replaceable</option></arg>
15944N/A<arg choice="opt"><option>-display=<replaceable>display</replaceable</option></arg>
15944N/A<arg choice="opt"><option>-file=<replaceable>file</replaceable</option></arg>
15944N/A<arg choice="opt"><option>-help</option></arg>
15944N/A<arg choice="opt"><option>-id=<replaceable>identifier</replaceable</option></arg>
15944N/A<arg choice="opt"><option>-loop=<replaceable>times</replaceable></option></arg>
15944N/A<arg choice="opt"><option>-version</option></arg>
15944N/A<arg choice="opt"><option role="nodash"><replaceable>gnome-std-options</replaceable></option></arg>
15944N/A</cmdsynopsis></refsynopsisdiv>
15944N/A<refsect1 id="canberra-gtk-play-1-desc"><title>&desc-tt;</title>
15944N/A<para>
15944N/A<command>&cmd;</command> is an application for playing sound events that
15944N/Aare specified by the FreeDesktop &quot;XDG Sound Theme and Name
15944N/ASpecification&quot;.
15944N/A</para>
15944N/A</refsect1>
15944N/A<refsect1 id="totem-1-opts"><title>&opts-tt;</title>
15944N/A<para>The following options are supported:</para>
15944N/A
15944N/A<variablelist termlength="wholeline">
15944N/A<varlistentry>
15944N/A<term><option>-c</option>, <option>-cache-control=<replaceable>[permanent|volatile|never]</option></term>
15944N/A<listitem><para>
15944N/ASpecify how &cmd; will manage its cache control. The value of
15944N/A&quot;permanent&quot; will cause the sample to be cached in the server
15944N/Apermanently. This is useful for very frequently used sounds. The value of
15944N/A&quot;volatile&quot; may be used for caching sounds in the sound server
15944N/Atemporarily. They will expire after some time or on cache pressure. The
15944N/Avalue of &quot;never&quot; may be used that should never be cached, because
15944N/Athey are only generated very seldomly or only once.
15944N/A</para>
15944N/A<para>
15944N/ANot all libcanberra backends support caching, and this option is only
15944N/Afunctional if the backend being used does support this functionality.
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option>d</option>, <option>-description=<replaceable>description</option></term>
15944N/A<listitem><para>
15944N/ASpecify a <replaceable>description</replaceable> for the sound event.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option>-display=<replaceable>display</option></term>
15944N/A<listitem><para>
15944N/ASpecify the X display to use.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option>f</option>, <option>-file=<replaceable>file</option></term>
15944N/A<listitem><para>
15944N/ASpecify a <replaceable>file</replaceable> to play.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option>?</option>, <option>-help</term>
15944N/A<listitem><para>
15944N/ADisplay usage information.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A<varlistentry>
15944N/A
15944N/A<term><option>i</option>, <option>-id=<replaceable>identifier</option></term>
15944N/A<listitem><para>
15944N/ASpecify the event <replaceable>identifier</replaceable> to play. These
15944N/A<replaceable>identifier</replaceable> values are specified in the &quot;XDG
15944N/ASound Theme and Name Specification&quot;.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option>l</option>, <option>-loop=<replaceable>times</option></term>
15944N/A<listitem><para>
15944N/ASpecify the number of <replaceable>times</replaceable> to play the file. The
15944N/Adefault value is 1.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option>v</option>, <option>-version</option></term>
15944N/A<listitem><para>
15944N/ADisplay &cmd; version number.
15944N/A</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<varlistentry>
15944N/A<term><option role="nodash"><replaceable>gnome-std-options</replaceable></option
15944N/A></term>
15944N/A<listitem><para>
15944N/AStandard options available for use with most GNOME applications. See
15944N/A<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manv
15944N/Aolnum></citerefentry>
15944N/Afor more information.</para>
15944N/A</listitem></varlistentry>
15944N/A
15944N/A<refsect1 id="canberra-gtk-play-1-exam"><title>&exam-tt;</title>
15944N/A<example role="example">
15944N/A<title>Play the &quot;desktop-login&quot; sound event</title>
15944N/A<para><screen>example% <userinput><command>&cmd; --id desktop-login --description="GNOME Login"</command></userinput></screen></para>
15944N/A</example>
15944N/A</refsect1>
15944N/A<refsect1 id="canberra-gtk-play-1-file"><title>&file-tt;</title>
15944N/A<para>The following files are used by this application:</para>
15944N/A<variablelist termlength="medium">
15944N/A<varlistentry><term><filename>/usr/bin/&cmd;</filename></term><listitem><para>
15944N/AExecutable to play an sound events</para>
15944N/A</listitem></varlistentry>
15944N/A</variablelist></refsect1>
15944N/A<refsect1 id="canberra-gtk-play-1-attr"><title>&attr-tt;</title>
15944N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
15944N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
15944N/Afor descriptions of the following attributes:</para>
15944N/A<informaltable frame="all">
15944N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
15944N/A<colspec colname="COLSPEC1" colwidth="1*">
15944N/A<thead>
15944N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
15944N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
15944N/A</thead>
15944N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>library/desktop/xdg/libcanberra
15944N/A</para></entry></row>
15944N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
15944N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
15944N/A</tbody>
15944N/A</tgroup>
15944N/A</informaltable>
15944N/A</refsect1>
15944N/A<refsect1 id="canberra-gtk-play-1-also"><title>&also-tt;</title>
15944N/A<!--Reference to another man page-->
15944N/A<!--Reference to a Help manual-->
15944N/A<!--Reference to a book.-->
15944N/A<para>
15944N/A<citerefentry><refentrytitle>libcanberra</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
15944N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
15944N/A<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manvolnum></citerefentry>
15944N/A</para>
15944N/A</refsect1>
15944N/A<refsect1 id="gst-feedback-1-note"><title>&note-tt;</title>
15944N/A<para>Written by Brian Cameron, Sun Microsystems Inc., 2009.</para>
15944N/A</refsect1>
15944N/A</refentry>