mirror of
https://github.com/SDRSharpR/SDRSharp.git
synced 2025-12-06 03:42:01 +01:00
20 lines
435 B
C#
20 lines
435 B
C#
|
|
using System.Runtime.InteropServices;
|
||
|
|
|
||
|
|
namespace PortAudioSharp
|
||
|
|
{
|
||
|
|
internal struct PaHostErrorInfo
|
||
|
|
{
|
||
|
|
public PaHostApiTypeId hostApiType;
|
||
|
|
|
||
|
|
public int errorCode;
|
||
|
|
|
||
|
|
[MarshalAs(UnmanagedType.LPStr)]
|
||
|
|
public string errorText;
|
||
|
|
|
||
|
|
public override string ToString()
|
||
|
|
{
|
||
|
|
return "[" + ((object)this).GetType().Name + "]\nhostApiType: " + this.hostApiType + "\nerrorCode: " + this.errorCode + "\nerrorText: " + this.errorText;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|