Play back audio data
Syntax:
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]
Options:
- -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.
- -d
- (QNX Neutrino 7.0 or later)
Tip: This option is available if you have
Audio component BuildID 237—June 29, 2017
(7.0.237.S201706290957) or a later update installed.
Continuously repeat the input file.
- -e
- (QNX Neutrino 6.6 or later) The content would like to be played on a secure channel.
- -f frag_size
- The requested fragment size.
- -i
- (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
- -r
- (QNX Neutrino 6.6 or later) The content can be played only on a secure channel.
- -s
- (QNX Neutrino 6.6 or later) The content is protected.
- -t
- (QNX Neutrino 6.6 or later) Display timing information, in nanoseconds, of when the data is sent.
- -v
- Be verbose.
- -w
- (QNX Neutrino 6.6 or later) Use separate threads to control and write audio data.
- -x
- (QNX Neutrino 6.6 or later) Use the mmap() interface.
- -y
- (QNX Neutrino 7.0 or later) Use nonblocking mode.
Description:
The wave utility plays back audio data.