![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <alsa/asoundlib.h>#include <QtCore/qbytearray.h>#include <QtCore/qloggingcategory.h>#include <QtMultimedia/qaudioformat.h>#include <QtMultimedia/private/qaudiohelpers_p.h>#include <chrono>#include <cstddef>#include <cstdint>#include <memory>#include <optional>Go to the source code of this file.
Classes | |
| class | QnxSndHelpers::WakePipe |
| struct | QnxSndHelpers::HintsDeleter |
| struct | QnxSndHelpers::PcmOpenConfig |
| struct | QnxSndHelpers::PcmOpenResult |
Namespaces | |
| namespace | QnxSndHelpers |
Typedefs | |
| using | QnxSndHelpers::HintsGuard = std::unique_ptr<void *, HintsDeleter> |
Enumerations | |
| enum class | QnxSndHelpers::PollOutcome { QnxSndHelpers::Ready , QnxSndHelpers::Woken , QnxSndHelpers::Error } |
Functions | |
| PollOutcome | QnxSndHelpers::pollPcm (snd_pcm_t *handle, const WakePipe &wake) |
| snd_pcm_format_t | QnxSndHelpers::mapSampleFormat (QAudioFormat::SampleFormat) noexcept |
| int | QnxSndHelpers::recoverFromXrun (snd_pcm_t *handle, int err) |
| int | QnxSndHelpers::startPcm (snd_pcm_t *handle) |
| void | QnxSndHelpers::setWorkerRealtimePriority (const QLoggingCategory &category) |
| PcmOpenResult | QnxSndHelpers::openConfiguredPcm (const PcmOpenConfig &config) |
Variables | |
| constexpr int | QnxSndHelpers::kSuspendResumeRetryLimit = 5 |
| constexpr std::chrono::milliseconds | QnxSndHelpers::kSuspendResumeRetryDelay { 100 } |
| constexpr unsigned | QnxSndHelpers::kDefaultPeriodCount = 3 |
| constexpr unsigned | QnxSndHelpers::kMinPeriodCount = 2 |
| constexpr unsigned | QnxSndHelpers::kMaxPeriodCount = 16 |
| constexpr snd_pcm_uframes_t | QnxSndHelpers::kDefaultPeriodFrames = 1024 |
| constexpr int | QnxSndHelpers::kMinWorkerPriority = 11 |
| constexpr int | QnxSndHelpers::kMaxWorkerPriority = 23 |
| constexpr int | QnxSndHelpers::kDefaultWorkerPriority = 20 |