<?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.12.2</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.12</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"><a href="qtmultimedia-index.html">Qt 5.12.2 Reference Documentation</a></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="#static-public-members">Static Public Members</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 <QAbstractAudioDeviceInfo></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 &<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<QAudioFormat::Endian> </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<int> </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<int> </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<int> </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<QAudioFormat::SampleType> </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#supportedSampleTypes">supportedSampleTypes</a></b>() = 0</td></tr> </table></div> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qabstractaudiodeviceinfo.html#staticMetaObject-var">staticMetaObject</a></b></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., <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> <!-- @@@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> &<i>format</i>) const</h3> <!-- @@@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> <!-- @@@preferredFormat --> <!-- $$$supportedByteOrders[overload1]$$$supportedByteOrders --> <h3 class="fn" id="supportedByteOrders"><a name="supportedByteOrders"></a><code>[pure virtual] </code><span class="type">QList</span><<span class="type">QAudioFormat::Endian</span>> QAbstractAudioDeviceInfo::<span class="name">supportedByteOrders</span>()</h3> <!-- @@@supportedByteOrders --> <!-- $$$supportedChannelCounts[overload1]$$$supportedChannelCounts --> <h3 class="fn" id="supportedChannelCounts"><a name="supportedChannelCounts"></a><code>[pure virtual] </code><span class="type">QList</span><<span class="type">int</span>> QAbstractAudioDeviceInfo::<span class="name">supportedChannelCounts</span>()</h3> <!-- @@@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> <!-- @@@supportedCodecs --> <!-- $$$supportedSampleRates[overload1]$$$supportedSampleRates --> <h3 class="fn" id="supportedSampleRates"><a name="supportedSampleRates"></a><code>[pure virtual] </code><span class="type">QList</span><<span class="type">int</span>> QAbstractAudioDeviceInfo::<span class="name">supportedSampleRates</span>()</h3> <!-- @@@supportedSampleRates --> <!-- $$$supportedSampleSizes[overload1]$$$supportedSampleSizes --> <h3 class="fn" id="supportedSampleSizes"><a name="supportedSampleSizes"></a><code>[pure virtual] </code><span class="type">QList</span><<span class="type">int</span>> QAbstractAudioDeviceInfo::<span class="name">supportedSampleSizes</span>()</h3> <!-- @@@supportedSampleSizes --> <!-- $$$supportedSampleTypes[overload1]$$$supportedSampleTypes --> <h3 class="fn" id="supportedSampleTypes"><a name="supportedSampleTypes"></a><code>[pure virtual] </code><span class="type">QList</span><<span class="type">QAudioFormat::SampleType</span>> QAbstractAudioDeviceInfo::<span class="name">supportedSampleTypes</span>()</h3> <!-- @@@supportedSampleTypes --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 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>