mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
26 lines
493 B
C#
26 lines
493 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Hardware2.Audio
|
|
{
|
|
public class PCMStream
|
|
{
|
|
double freq;
|
|
char[] data;
|
|
public PCMStream(double freq, char[] data)
|
|
{
|
|
this.freq = freq;
|
|
this.data = data;
|
|
}
|
|
public char[] getData()
|
|
{
|
|
return data;
|
|
}
|
|
public double getFreq()
|
|
{
|
|
return freq;
|
|
}
|
|
}
|
|
}
|