mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-13 11:41:44 +00:00
22 lines
426 B
C#
22 lines
426 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Hardware.Audio
|
|
{
|
|
public class PCMStream
|
|
{
|
|
int rate;
|
|
short[] data;
|
|
double phase;
|
|
public PCMStream(int rate, short[] data, double phase)
|
|
{
|
|
this.rate = rate;
|
|
this.data = data;
|
|
this.phase = phase;
|
|
|
|
}
|
|
|
|
}
|
|
}
|