资源简介
菱声网络音响接口对接(播放音频文件)支持下载已经问题反馈。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace testBroadCast
{
class audio
{
[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_OpenAudioCast“ CallingConvention = CallingConvention.Cdecl)]
private static extern int Audio_OpenAudioCast(string IpAddr int Port);
public static int audio_OpenAudioCast(string ipaddr int port)
{
return Audio_OpenAudioCast(ipaddr port);
}
[DllImport(“CAudioCast.dll“)]
private static extern int Audio_CloseAudioCast();
public static int audio_CloseAudioCast()
{
return Audio_CloseAudioCast();
}
[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_CheckPWD“ CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr Audio_CheckPWD(string Userstr string Pwdstr);
public static string audio_CheckPWD(string userstr string pwdstr)
{
return Marshal.PtrToStringAnsi(Audio_CheckPWD(userstr pwdstr));
}
[DllImport(“CAudioCast.dll“)]
private static extern IntPtr Audio_GetClientList();
public static string audio_GetClientList()
{
return Marshal.PtrToStringAnsi(Audio_GetClientList());
}
[DllImport(“CAudioCast.dll“)]
private static extern IntPtr Audio_GetTaskList();
public static string audio_GetTaskList()
{
return Marshal.PtrToStringAnsi(Audio_GetTaskList());
}
[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_StartTask“ CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr Audio_StartTask(int id);
public static string audio_StartTask(int id)
{
return Marshal.PtrToStringAnsi(Audio_StartTask(id));
}
[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_Add_Task“ CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr Audio_Add_Task(string Task);
public static string audio_Add_Task(string Task)
{
return Marshal.PtrToStringAnsi(Audio_Add_Task(Task));
}
[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_StopTask“ CallingConvention = CallingConvention.Cdecl)]
private static extern IntPtr Audio_StopTask(int t_s);
public static string audio_StopTask(int task_s)
{
return Marshal.PtrToStringAnsi(Audio_StopTask(task_s));
}
[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_SetVolume“ CallingConvention = CallingConvention.Cdecl)]
private static extern int Audio_SetVolume(int t_s int vmm);
public static int audio_SetVolume(int v_s int v_l)
{
return (Audio_SetVolume(v_s v_l));
}
//[DllImport(“CAudioCast.dll“ EntryPoint = “Audio_SetEvenFunc“ CallingConvention = Calling
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 634368 2018-07-12 10:14 sdk-3.0.0.17-Debug\CAudioCast.dll
文件 10148 2018-07-12 10:14 sdk-3.0.0.17-Debug\CAudioCast.exp
文件 5344 2018-07-12 10:14 sdk-3.0.0.17-Debug\CAudioCast.h
文件 1230484 2018-07-12 10:14 sdk-3.0.0.17-Debug\CAudioCast.ilk
文件 17614 2018-07-12 10:14 sdk-3.0.0.17-Debug\CAudioCast.lib
文件 6040576 2018-07-12 10:14 sdk-3.0.0.17-Debug\CAudioCast.pdb
文件 6926160 2010-03-18 09:15 动态库补丁及说明\x64\mfc100d.dll
文件 1498960 2010-03-18 09:15 动态库补丁及说明\x64\msvcr100d.dll
文件 6926160 2010-03-18 09:15 动态库补丁及说明\x86\mfc100d.dll
文件 1498960 2010-03-18 09:15 动态库补丁及说明\x86\msvcr100d.dll
文件 400 2018-11-06 16:19 动态库补丁及说明\动态库补丁安装说明.txt
文件 634368 2018-05-04 10:09 CAudioCast.dll
文件 317440 2019-06-24 10:40 简-网络广播SDK接口说明-v3.0.0.17-190624.doc
文件 159 2017-01-14 20:00 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\app.config
文件 4864 2019-04-23 21:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\audio.cs
文件 634368 2018-05-04 10:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\CAudioCast.dll
文件 9516 2017-02-07 16:57 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\CAudioCast.exp
文件 19968 2019-04-23 22:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\testBroadCast.exe
文件 159 2017-01-14 20:00 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\testBroadCast.exe.config
文件 40448 2019-04-23 22:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\testBroadCast.pdb
文件 11600 2019-04-23 22:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\testBroadCast.vshost.exe
文件 159 2017-01-14 20:00 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\testBroadCast.vshost.exe.config
文件 490 2018-04-12 07:35 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\bin\Debug\testBroadCast.vshost.exe.manifest
文件 9069 2019-04-23 22:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\Form1.cs
文件 18639 2019-04-23 21:04 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\Form1.Designer.cs
文件 6206 2019-04-23 21:04 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\Form1.resx
文件 5420 2017-01-02 15:40 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6513 2019-04-23 22:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 4608 2017-01-14 20:00 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 7277 2019-04-23 22:09 190423-3.0.0.17动态库例程\testBroadCast6\testBroadCast\obj\x86\Debug\testBroadCast.csproj.FileListAbsolute.txt
............此处省略44个文件信息
评论
共有 条评论