Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxaudioutils_p.h File Reference

(bd67c6186d9010210bb1e158a417cac3b1f79cb5)

#include <QtMultimedia/private/qaudiosystem_p.h>
#include <QtMultimedia/private/qaudiodevice_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)