Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqnxaudioutils_p.h File Reference

(e9abd242abfbc368478f7be3e2923e7b100a9386)

#include "private/qaudiosystem_p.h"
#include <memory>
#include <optional>
#include <sys/asoundlib.h>
+ Include dependency graph for qqnxaudioutils_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QnxAudioUtils::HandleDeleter
 

Namespaces

namespace  QnxAudioUtils
 

Typedefs

using QnxAudioUtils::HandleUniquePtr = std::unique_ptr<snd_pcm_t, HandleDeleter>
 

Functions

snd_pcm_channel_params_t QnxAudioUtils::formatToChannelParams (const QAudioFormat &format, QAudioDevice::Mode mode, int fragmentSize)
 
HandleUniquePtr QnxAudioUtils::openPcmDevice (const QByteArray &id, QAudioDevice::Mode mode)
 
std::optional< snd_pcm_channel_info_t > QnxAudioUtils::pcmChannelInfo (snd_pcm_t *handle, QAudioDevice::Mode mode)
 
std::optional< snd_pcm_channel_info_t > QnxAudioUtils::pcmChannelInfo (const QByteArray &device, QAudioDevice::Mode mode)
 
std::optional< snd_pcm_channel_setup_t > QnxAudioUtils::pcmChannelSetup (snd_pcm_t *handle, QAudioDevice::Mode mode)
 
std::optional< snd_pcm_channel_setup_t > QnxAudioUtils::pcmChannelSetup (const QByteArray &device, QAudioDevice::Mode mode)
 
std::optional< snd_pcm_channel_status_t > QnxAudioUtils::pcmChannelStatus (snd_pcm_t *handle, QAudioDevice::Mode mode)
 
std::optional< snd_pcm_channel_status_t > QnxAudioUtils::pcmChannelStatus (const QByteArray &device, QAudioDevice::Mode mode)