Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® SDK for Apps and Media 1.0—Multimedia Codec for WMA9: Installation Note

Electronic edition published: Wednesday,  February  26,  2014

Note: Before you install this archive, you should already have installed the following on your host:
  • QNX Software Development Platform 6.6
  • QNX SDK for Apps and Media 1.0

Host OS: You can install this package on one of the following development hosts:

  • Microsoft Windows 8 Professional 64-bit, Windows 7 Professional 64-bit, or XP Professional SP3
  • Red Hat Enterprise Linux 6 64-bit or Ubuntu Workstation LTS 12.04 32- and 64-bit

Installing the archive

To install this archive:

  1. Log in to your myQNX account on our website, then go to the Download area.
  2. Download the archive wma9-datestamp.zip.
  3. Verify that the checksum of the package matches the one given in the Download area.
  4. Unzip the archive into base_directory, the directory where you installed the QNX SDK for Apps and Media.
    • On Linux:

      unzip wma9-datestamp.zip -d base_directory

    • On Windows, use winzip.

Including extra packages in the buildfile

After installing the wma9-datestamp.zip archive, follow these instructions to include the archive's extra packages in the appsmedia-sample-common.build file so that they'll be in your target image:

  1. On your host, go to the extracted_BSP_root/src/hardware/support/appsmedia-sample directory.
  2. In the appsmedia-sample-common.build file, locate the Files section.
  3. Add the following lines anywhere within the Files section. We recommend adding a comment above the list to identify the files:
    #WMA9
    /lib/dll/mmedia/asf_parser.so=dll/mmedia/asf_parser.so
    /lib/dll/mmedia/wma9_decoder.so=dll/mmedia/wma9_decoder.so
    

    Note that the path on the left side of the = is the location on the target; the path on the right side of the = is the location on the host.

Note: You can modify the search path using the [search=] attribute, but make sure that the MKIFS_PATH environment variable is set correctly so that the host-side files will be included in your target image. The default value of this special environment variable consists of:
  1. The current working directory, if the filename contains a slash (/) but doesn't start with a slash.
  2. ${QNX_TARGET}/${PROCESSOR}/sbin
  3. ${QNX_TARGET}/${PROCESSOR}/usr/sbin
  4. ${QNX_TARGET}/${PROCESSOR}/boot/sys
  5. ${QNX_TARGET}/${PROCESSOR}/bin
  6. ${QNX_TARGET}/${PROCESSOR}/usr/bin
  7. ${QNX_TARGET}/${PROCESSOR}/lib
  8. ${QNX_TARGET}/${PROCESSOR}/lib/dll
  9. ${QNX_TARGET}/${PROCESSOR}/usr/lib