Beispiel #1
0
 public void SetAudioData(string mimeType, byte[] audioData, bool isMpegOrAac)
 {
     MimeType     = mimeType;
     _isMpegOrAac = isMpegOrAac;
     if (audioData == null)
     {
         _audioData = null;
     }
     else
     {
         if (_isMpegOrAac)
         {
             _audioData = ID3v2Utils.ConvertToUnsynchronized(_audioData);
         }
         else
         {
             _audioData = Scramble(_audioData);
         }
     }
     RaisePropertyChanged("AudioData");
 }