示例#1
0
 public MusicMp3(Mp3File aMp3File)
 {
     sampleArray  = aMp3File.GetSampleArray();
     Channels     = aMp3File.GetChannelLength();
     SampleLength = aMp3File.GetSampleLength();
     SampleRate   = aMp3File.GetSampleRate();
     Loop         = new List <List <LoopInformation> >();
     Loop.Add(new List <LoopInformation>());
     Loop[0].Add(new LoopInformation(SampleRate, aMp3File.GetSampleLoopStart(), aMp3File.GetSampleLoopEnd()));
 }