Operating systems, development tools, and professional services
for connected embedded systems

QNX Developer Support

[Previous] [Contents] [Index] [Next]

playAudioCd

Play an audio CD


Note: This utility is available only in the Multimedia Technology Development Kit (TDK).

Syntax:

playAudioCd [-i] [-p plugin] [-v] mount_point

Options:

-i
Interactive mode. If you specify this option, the application creates a user-input thread that accepts commands such as, play, pause, and stop.
-p plugin
Load the specified plugin. The plugins include:
  • audiocd_noph.so -- the default audio CD plugin
  • audiocdda.so -- audio CD plugin with antiskip buffering. This media plugin reads the raw cdda data from an audio CD, buffers it, and feeds it to the audio driver.

    The CDDA_MILLISECONDS environment variable controls the buffer size:

    • Default: 3 seconds (529200 bytes)
    • Minimum: 300 milliseconds (58800 bytes)
    • Maximum: 1 minute (10584 kilobytes)
-v
Be verbose. If you specify this option, the application reports on the state of the plugin, playlist information, and error messages.
mount_point
An existing CDROM mount point.

Description:

The playAudioCd utility plays an audio CD.

The supported hotkeys are:

1...99
Go to the specified track.
b or B
Go to the previous track.
n or N
Go to the next track.
p or P
Play or pause the selection.
q or Q
Exit the application.
s or S
Stop the selection.

Note: You must press Enter after the hotkey.

Examples:

Run using the CDROM drive mounted at /fs/cd0:

playAudioCd /fs/cd0

See also:

phplay, playaudio


[Previous] [Contents] [Index] [Next]