Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxaudioutils.cpp File Reference
#include "qqnxaudioutils_p.h"
+ Include dependency graph for qqnxaudioutils.cpp:

Go to the source code of this file.

Namespaces

namespace  QnxAudioUtils
 

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)
 
template<typename T , typename Func >
std::optional< T > QnxAudioUtils::pcmChannelGetStruct (snd_pcm_t *handle, QAudioDevice::Mode mode, Func &&func)
 
template<typename T , typename Func >
std::optional< T > QnxAudioUtils::pcmChannelGetStruct (const QByteArray &device, QAudioDevice::Mode mode, Func &&func)
 
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)