dmMPEG1AudioHeaderGetParams man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



dmMPEG1AudioHeaderGetParams(3dm)	      dmMPEG1AudioHeaderGetParams(3dm)

NAME
     dmMPEG1AudioHeaderGetParams - get decoder parameter information from a
     header of any compressed MPEG1 audio data block.

SYNOPSIS
     #include <dmedia/dmedia.h>
     #include <dmedia/dm_audioutil.h>

     DMstatus dmMPEG1AudioHeaderGetParams(unsigned char *cmpData,
					  DMparams *params)

PARAMETER
     cmpData
	  points to a block of data bytes presumed to constitute the
	  compressed data stream and start with a MPEG audio header.

     params
	  List of parameters for specification.

RETURNED VALUE
     Returns DM_FAILURE or DM_SUCCESS.

DESCRIPTION
     dmMPEG1AudioHeaderGetParams(3dm) extracts MPEG1 audio compression
     parameter information from a header of a compressed data stream without
     going so far as to decompress the data.  These parameter values are then
     stored in DMparams *params structure and can be used to set decoder
     parameters by a call to dmMPEG1AudioDecoderSetParams(3dm).

     Extracted parameters from a compressed bit strem header are as follows:
	  DM_AUDIO_BITRAT
	  DM_AUDIO_RATE
	  DM_AUDIO_CHANNELS
	  DM_MPEG1_AUDIO_LAYER
	  DM_MPEG1_AUDIO_BITRATE_POLICY

     The other three parameter values are set to decoder defaults:
	  DM_AUDIO_FORMAT
	  (set to DM_AUDIO_TWOS_COMPLEMENT)
	  DM_AUDIO_WIDTH
	  (set to DM_AUDIO_WIDTH_16)
	  DM_AUDIO_CHANNEL_POLICY
	  (set to DM_MPEG1_AUDIO_CONSTANT_QUALITY)

									Page 1

dmMPEG1AudioHeaderGetParams(3dm)	      dmMPEG1AudioHeaderGetParams(3dm)

NOTE
SEE ALSO
     dmMPEG1AudioDecoderCreate(3dm), dmMPEG1AudioDecoderSetParams(3dm),
     dmMPEG1AudioDecoderGetParams(3dm), dmMPEG1AudioDecode(3dm).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net