Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 9ee5ef51dbf4a00567f58cff4d0e160c > files > 75

qtmultimedia5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qaudiosystem.cpp -->
  <title>QAbstractAudioDeviceInfo Class | Qt Multimedia 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td ><a href="qtmultimedia-modules.html">C++ Classes</a></td><td >QAbstractAudioDeviceInfo</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QAbstractAudioDeviceInfo Class</h1>
<!-- $$$QAbstractAudioDeviceInfo-brief -->
<p>The <a href="qabstractaudiodeviceinfo.html">QAbstractAudioDeviceInfo</a> class is a base class for audio backends. <a href="#details">More...</a></p>
<!-- @@@QAbstractAudioDeviceInfo -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QAbstractAudioDeviceInfo&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += multimedia</td></tr></table></div><ul>
<li><a href="qabstractaudiodeviceinfo-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#deviceName">deviceName</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#isFormatSupported">isFormatSupported</a></b>(const QAudioFormat &amp;<i>format</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAudioFormat </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#preferredFormat">preferredFormat</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QAudioFormat::Endian&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedByteOrders">supportedByteOrders</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedChannelCounts">supportedChannelCounts</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QStringList </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedCodecs">supportedCodecs</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedSampleRates">supportedSampleRates</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedSampleSizes">supportedSampleSizes</a></b>() = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QAudioFormat::SampleType&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedSampleTypes">supportedSampleTypes</a></b>() = 0</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QAbstractAudioDeviceInfo-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qabstractaudiodeviceinfo.html">QAbstractAudioDeviceInfo</a> class is a base class for audio backends.</p>
<p>This class implements the audio functionality for <a href="qaudiodeviceinfo.html">QAudioDeviceInfo</a>, i.e&#x2e;, <a href="qaudiodeviceinfo.html">QAudioDeviceInfo</a> keeps a <a href="qabstractaudiodeviceinfo.html">QAbstractAudioDeviceInfo</a> and routes function calls to it. For a description of the functionality that <a href="qabstractaudiodeviceinfo.html">QAbstractAudioDeviceInfo</a> implements, you can read the class and functions documentation of <a href="qaudiodeviceinfo.html">QAudioDeviceInfo</a>.</p>
</div>
<p><b>See also </b><a href="qaudiodeviceinfo.html">QAudioDeviceInfo</a>, <a href="qabstractaudiooutput.html">QAbstractAudioOutput</a>, and <a href="qabstractaudioinput.html">QAbstractAudioInput</a>.</p>
<!-- @@@QAbstractAudioDeviceInfo -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$deviceName[overload1]$$$deviceName -->
<h3 class="fn" id="deviceName"><a name="deviceName"></a><code>[pure virtual] </code><span class="type">QString</span> QAbstractAudioDeviceInfo::<span class="name">deviceName</span>() const</h3>
<p>Returns the audio device name.</p>
<!-- @@@deviceName -->
<!-- $$$isFormatSupported[overload1]$$$isFormatSupportedconstQAudioFormat& -->
<h3 class="fn" id="isFormatSupported"><a name="isFormatSupported"></a><code>[pure virtual] </code><span class="type">bool</span> QAbstractAudioDeviceInfo::<span class="name">isFormatSupported</span>(const <span class="type"><a href="qaudioformat.html">QAudioFormat</a></span> &amp;<i>format</i>) const</h3>
<p>Returns true if <i>format</i> is available from audio device.</p>
<!-- @@@isFormatSupported -->
<!-- $$$preferredFormat[overload1]$$$preferredFormat -->
<h3 class="fn" id="preferredFormat"><a name="preferredFormat"></a><code>[pure virtual] </code><span class="type"><a href="qaudioformat.html">QAudioFormat</a></span> QAbstractAudioDeviceInfo::<span class="name">preferredFormat</span>() const</h3>
<p>Returns the recommended settings to use.</p>
<!-- @@@preferredFormat -->
<!-- $$$supportedByteOrders[overload1]$$$supportedByteOrders -->
<h3 class="fn" id="supportedByteOrders"><a name="supportedByteOrders"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type"><a href="qaudioformat.html#Endian-enum">QAudioFormat::Endian</a></span>&gt; QAbstractAudioDeviceInfo::<span class="name">supportedByteOrders</span>()</h3>
<p>Returns the list of currently available byte orders.</p>
<!-- @@@supportedByteOrders -->
<!-- $$$supportedChannelCounts[overload1]$$$supportedChannelCounts -->
<h3 class="fn" id="supportedChannelCounts"><a name="supportedChannelCounts"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type">int</span>&gt; QAbstractAudioDeviceInfo::<span class="name">supportedChannelCounts</span>()</h3>
<p>Returns the list of currently available channels.</p>
<!-- @@@supportedChannelCounts -->
<!-- $$$supportedCodecs[overload1]$$$supportedCodecs -->
<h3 class="fn" id="supportedCodecs"><a name="supportedCodecs"></a><code>[pure virtual] </code><span class="type">QStringList</span> QAbstractAudioDeviceInfo::<span class="name">supportedCodecs</span>()</h3>
<p>Returns the list of currently available codecs.</p>
<!-- @@@supportedCodecs -->
<!-- $$$supportedSampleRates[overload1]$$$supportedSampleRates -->
<h3 class="fn" id="supportedSampleRates"><a name="supportedSampleRates"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type">int</span>&gt; QAbstractAudioDeviceInfo::<span class="name">supportedSampleRates</span>()</h3>
<p>Returns the list of currently available sample rates.</p>
<!-- @@@supportedSampleRates -->
<!-- $$$supportedSampleSizes[overload1]$$$supportedSampleSizes -->
<h3 class="fn" id="supportedSampleSizes"><a name="supportedSampleSizes"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type">int</span>&gt; QAbstractAudioDeviceInfo::<span class="name">supportedSampleSizes</span>()</h3>
<p>Returns the list of currently available sample sizes.</p>
<!-- @@@supportedSampleSizes -->
<!-- $$$supportedSampleTypes[overload1]$$$supportedSampleTypes -->
<h3 class="fn" id="supportedSampleTypes"><a name="supportedSampleTypes"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type"><a href="qaudioformat.html#SampleType-enum">QAudioFormat::SampleType</a></span>&gt; QAbstractAudioDeviceInfo::<span class="name">supportedSampleTypes</span>()</h3>
<p>Returns the list of currently available sample types.</p>
<!-- @@@supportedSampleTypes -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>