28 lines
693 B
C#
28 lines
693 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using skyscraper5.Skyscraper.Plugins;
|
|
|
|
namespace skyscraper5.Mpeg2.Descriptors
|
|
{
|
|
[SkyscraperPlugin]
|
|
[TsDescriptor(0x2b,"PMT")]
|
|
class Mpeg2AacAudioDescriptor : TsDescriptor
|
|
{
|
|
public Mpeg2AacAudioDescriptor(byte[] buffer)
|
|
{
|
|
AacProfile = buffer[0];
|
|
AacChannelConfiguration = buffer[1];
|
|
AacAdditionalInformation = buffer[2];
|
|
}
|
|
|
|
public byte AacAdditionalInformation { get; set; }
|
|
|
|
public byte AacChannelConfiguration { get; set; }
|
|
|
|
public byte AacProfile { get; private set; }
|
|
}
|
|
}
|