initial commit
Pulsar .NET 9.0 Windows Release / build (push) Waiting to run
Mirror to Codeberg and Gitea / mirror (push) Waiting to run

This commit is contained in:
i2p
2026-08-27 10:57:58 -06:00
commit 773d05f8f1
1038 changed files with 109261 additions and 0 deletions
@@ -0,0 +1,21 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetMicrophone : IMessage
{
[Key(1)]
public bool CreateNew { get; set; }
[Key(2)]
public int DeviceIndex { get; set; }
[Key(3)]
public int Bitrate { get; set; }
[Key(4)]
public bool Destroy { get; set; }
}
}
@@ -0,0 +1,10 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetMicrophoneDevice : IMessage
{
}
}
@@ -0,0 +1,14 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
using System;
using System.Collections.Generic;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetMicrophoneDeviceResponse : IMessage
{
[Key(1)]
public List<Tuple<int, string>> DeviceInfos { get; set; }
}
}
@@ -0,0 +1,15 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetMicrophoneResponse : IMessage
{
[Key(1)]
public byte[] Audio { get; set; }
[Key(2)]
public int Device { get; set; }
}
}
+21
View File
@@ -0,0 +1,21 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetOutput : IMessage
{
[Key(1)]
public bool CreateNew { get; set; }
[Key(2)]
public int DeviceIndex { get; set; }
[Key(3)]
public int Bitrate { get; set; }
[Key(4)]
public bool Destroy { get; set; }
}
}
@@ -0,0 +1,10 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetOutputDevice : IMessage
{
}
}
@@ -0,0 +1,14 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
using System;
using System.Collections.Generic;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetOutputDeviceResponse : IMessage
{
[Key(1)]
public List<Tuple<int, string>> DeviceInfos { get; set; }
}
}
@@ -0,0 +1,15 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Audio
{
[MessagePackObject]
public class GetOutputResponse : IMessage
{
[Key(1)]
public byte[] Audio { get; set; }
[Key(2)]
public int Device { get; set; }
}
}