- General info
There are multiple instances of this interface:
- ssys is for speaker
- hsys is for headphone
Sound system modes
The sound system modes are grouped:
- SoundPresent: Indicates whether or not a valid sound system is present.
- IsAnalog, IsDigital, IsBaseband: Indicates if the decoded sound comes from an analogue, a digital or a base band source. It reflects the kind of audio received and does not specify whether the contents have been encoded analogue or digital. Baseband could for instance occur when the audio signal from a SCART input is being processed.
- IsAM, IsFM: Indicates whether the decoded sound system comes from an AM or FM source.
- IsNicam, Is2CS, IsBTSC, IsEIAJ, IsPCM, IsAC3, IsMPEG, IsDTS: Defines the various sound (encoding) systems. 2CS is "2 channel stereo". So two seperate FM modulated frequencies are used.
- ContainsData, ContainsDual, ContainsUnrelated, ContainsDolbyPrologic, ContainsDynamicRangeCompression, ContainsKaraoke: This defines the properties applicable to the content that is being received. ContainsData, ContainsDual, ContainsUnrelated are NICAM specific and indicate the contents of the 2nd channel. It can contain 'Data', or contain a 2nd audio stream related to the first audio stream, e.g. a 2nd language ('Dual'), or it can even contain audio not related to the 1st audio stream like a voice over ('Unrelated').
.
- Constants
- Nat32 SoundPresent = 1
- Nat32 IsAnalog = 2
- Nat32 IsDigital = 4
- Nat32 IsBaseband = 8
- Nat32 IsAM = 16
- Nat32 IsFM = 32
- Nat32 IsNicam = 64
- Nat32 Is2CS = 128
- Nat32 IsBTSC = 256
- Nat32 IsEIAJ = 512
- Nat32 IsPCM = 1024
- Nat32 IsAC3 = 2048
- Nat32 IsMPEG = 4096
- Nat32 IsDTS = 8192
- Nat32 ContainsData = 16384
- Nat32 ContainsDual = 32768
- Nat32 ContainsUnrelated = 65536
- Nat32 ContainsDolbyProLogic = 131072
- Nat32 ContainsDynamicRangeCompression = 262144
- Nat32 ContainsKaraoke = 524288
- Nat32 IsAC3Plus = 1048576
- Nat32 IsHEAAC = 2097152
- Nat32 IsWMA = 4194304
- Functions/Parameters
- FResult GetSoundSystem( int winid, Nat32 * retval )
This function returns the sound system mode as a logical OR of a number of defined constants. The bits in the return value only have a meaning if SoundPresent is set (0x00000001 is set). If SoundPresent is not set, then the sound system is absent / invalid.
Parameters
| retval | Returns the sound system mode as a logical OR of a number of predefined constants.
|
Copyright © 2009, Koninklijke Philips Electronics N.V.