29 lines
579 B
C#
29 lines
579 B
C#
using System;
|
|
using Ryuclaw.Audio.Shared;
|
|
|
|
namespace Ryuclaw.Audio.Desktop
|
|
{
|
|
public class MemoryAudioSource : AbstractAudioSource
|
|
{
|
|
private WaveReader _reader;
|
|
|
|
public MemoryAudioSource(string name)
|
|
{
|
|
_reader = new WaveReader();
|
|
_reader.Load(name);
|
|
Console.WriteLine(_reader);
|
|
}
|
|
|
|
public override void Play()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public override void Stop()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
|