2012-01-16 20:08:38 +00:00
|
|
|
using System.Collections.ObjectModel;
|
2011-11-17 20:35:25 +00:00
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
2011-11-17 20:35:25 +00:00
|
|
|
|
|
|
|
namespace ANX.Framework.Media
|
|
|
|
{
|
2012-09-29 22:01:15 +00:00
|
|
|
public class VisualizationData
|
|
|
|
{
|
|
|
|
internal readonly float[] FrequencyData;
|
|
|
|
internal readonly float[] SampleData;
|
2012-01-16 20:08:38 +00:00
|
|
|
|
2012-09-29 22:01:15 +00:00
|
|
|
public ReadOnlyCollection<float> Frequencies
|
|
|
|
{
|
|
|
|
get { return new ReadOnlyCollection<float>(FrequencyData); }
|
|
|
|
}
|
|
|
|
|
|
|
|
public ReadOnlyCollection<float> Samples
|
|
|
|
{
|
|
|
|
get { return new ReadOnlyCollection<float>(SampleData); }
|
|
|
|
}
|
|
|
|
|
|
|
|
public VisualizationData()
|
|
|
|
{
|
|
|
|
FrequencyData = new float[256];
|
|
|
|
SampleData = new float[256];
|
|
|
|
}
|
|
|
|
}
|
2011-11-17 20:35:25 +00:00
|
|
|
}
|