Updated: May 06, 2022

Play back audio data


wave [-deirstvwxy] [-a device] [-b num_frags]
     [-c hw_channel_bitmask[,hw_channel_bitmask...]] [-f frag_size]
     [-m mixer_name] [-n num_frags] [-o audio_type] [-p volume]
     [-R value]

Runs on:

QNX Neutrino


-a device
The device to play out on. The device argument can be in one of these forms:
  • [card_num:]dev_num — the card and device number
  • name — the symbolic name of the device (QNX Neutrino 7.0 or later)
-b num_frags
(QNX Neutrino 6.6 or later) The number of fragments while buffering.
-c hw_channel_bitmask[,hw_channel_bitmask...]
Voice matrix configuration. The first argument is the hardware channel bitmask for application voice 1, the second is that for application voice 2, and so on, up to eight voices.
(QNX Neutrino 7.0 or later) Continuously repeat the input file.
(QNX Neutrino 6.6 or later) The content would like to be played on a secure channel.
-f frag_size
The requested fragment size.
(QNX Neutrino 7.0 or later) Display PCM channel information.
-m mixer_name
The string name for mixer input.
-n num_frags
The requested number of fragments.
-o audio_type
(QNX Neutrino 6.6 or later) The name of the audio type.
-p volume
The volume, as a percentage.
-R value
(QNX Neutrino 6.6 or later) Specify the SRC rate method. This value is applicable to uncommon sample rate conversion ratios where optimized methods can't be used. It can be one of the following values:
  • 1 — 7-point Kaiser windowed
  • 2 — 20-point remez
  • 3 — linear interpolation
(QNX Neutrino 6.6 or later) The content can be played only on a secure channel.
(QNX Neutrino 6.6 or later) The content is protected.
(QNX Neutrino 6.6 or later) Display timing information, in nanoseconds, of when the data is sent.
Be verbose.
(QNX Neutrino 6.6 or later) Use separate threads to control and write audio data.
(QNX Neutrino 6.6 or later) Use the mmap() interface.
(QNX Neutrino 7.0 or later) Use nonblocking mode.


The wave utility plays back audio data.