資源簡介
使用C#實現播放wav音頻,能夠實現基本的播放功能,以及對wav數據波形的現實,實時生成wav波形。

代碼片段和文件信息
/*?==========================================================================================?*/
/*?FMOD?Ex?-?C#?Wrapper?.?Copyright?(c)?Firelight?Technologies?Pty?Ltd.?2004-2008.??????????*/
/*????????????????????????????????????????????????????????????????????????????????????????????*/
/*????????????????????????????????????????????????????????????????????????????????????????????*/
/*?==========================================================================================?*/
using?System;
using?System.Text;
using?System.Runtime.InteropServices;
namespace?FMOD
{
????/*
????????FMOD?version?number.??Check?this?against?FMOD::System::getVersion?/?System_GetVersion
????????0xaaaabbcc?->?aaaa?=?major?version?number.??bb?=?minor?version?number.??cc?=?development?version?number.
????*/
????public?class?VERSION
????{
????????public?const?int????number?=?0x00041803;
????????public?const?string?dll????=?“fmodex“;
????}
????/*
????????FMOD?types?
????*/
????/*
????[STRUCTURE]?
????[
????????[DEscriptION]???
????????Structure?describing?a?point?in?3D?space.
????????[REMARKS]
????????FMOD?uses?a?left?handed?co-ordinate?system?by?default.
????????To?use?a?right?handed?co-ordinate?system?specify?FMOD_INIT_3D_RIGHTHANDED?from?FMOD_INITFLAGS?in?System::init.
????????[PLATFORMS]
????????Win32?Win64?Linux?Linux64?Macintosh?Xbox?Xbox360?PlayStation?2?GameCube?PlayStation?Portable?PlayStation?3?Wii
????????[SEE_ALSO]??????
????????System::set3DListenerAttributes
????????System::get3DListenerAttributes
????????Channel::set3DAttributes
????????Channel::get3DAttributes
????????Geometry::addPolygon
????????Geometry::setPolygonVertex
????????Geometry::getPolygonVertex
????????Geometry::setRotation
????????Geometry::getRotation
????????Geometry::setPosition
????????Geometry::getPosition
????????Geometry::setScale
????????Geometry::getScale
????????FMOD_INITFLAGS
????]
????*/
????public?struct?VECTOR
????{
????????public?float?x;????????/*?X?co-ordinate?in?3D?space.?*/
????????public?float?y;????????/*?Y?co-ordinate?in?3D?space.?*/
????????public?float?z;????????/*?Z?co-ordinate?in?3D?space.?*/
????}
????/*
????[STRUCTURE]?
????[
????????[DEscriptION]???
????????Structure?describing?a?globally?unique?identifier.
????????[REMARKS]
????????[PLATFORMS]
????????Win32?Win64?Linux?Linux64?Macintosh?Xbox?Xbox360?PlayStation?2?GameCube?PlayStation?Portable?PlayStation?3?Wii?Solaris
????????[SEE_ALSO]??????
????????System::getDriverInfo
????]
????*/
????public?struct?GUID
????{
????????public?uint???Data1;???????/*?Specifies?the?first?8?hexadecimal?digits?of?the?GUID?*/
????????public?ushort?Data2;???????/*?Specifies?the?first?group?of?4?hexadecimal?digits.???*/
????????public?ushort?Data3;???????/*?Specifies?the?second?group?of?4?hexadecimal?digits.??*/
????????[MarshalAs(UnmanagedType.ByValArraySizeConst=8)]
????????public?char[]?Data4;????/*?Array?of?8?bytes.
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????910??2008-12-29?23:13??ZPla
?????文件??????20224??2008-12-31?22:18??ZPla
?????文件??????20236??2009-01-01?20:25??ZPla
?????文件???????4647??2008-12-31?17:04??ZPla
?????文件??????99678??2008-12-31?17:03??ZPla
?????文件?????238397??2008-12-31?22:18??ZPla
?????文件????????468??2008-12-30?21:59??ZPla
?????文件?????259706??2008-12-30?22:07??ZPla
?????文件??????34821??2008-12-30?22:07??ZPla
?????文件??????13954??2008-12-30?22:07??ZPla
?????文件??????25214??2008-12-30?22:48??ZPla
?????文件??????50978??2008-12-30?22:53??ZPla
?????文件??????99678??2008-12-30?22:53??ZPla
?????文件???????9748??2008-12-31?11:42??ZPla
?????文件??????99678??2008-12-31?11:43??ZPla
?????文件??????99678??2008-12-31?11:45??ZPla
?????文件??????99678??2008-12-31?11:45??ZPla
?????文件??????99678??2008-12-31?11:45??ZPla
?????文件??????99678??2008-12-31?11:56??ZPla
?????文件??????99678??2008-12-31?12:19??ZPla
?????文件??????99678??2008-12-31?12:20??ZPla
?????文件??????99678??2008-12-31?12:23??ZPla
?????文件??????99678??2008-12-31?14:41??ZPla
?????文件??????99678??2008-12-31?14:46??ZPla
????..A.SH.?????23040??2009-01-01?01:19??ZPla
?????文件????????270??2009-01-01?20:25??ZPla
?????文件?????155379??2008-12-31?22:18??ZPla
?????文件???????1491??2008-12-31?22:18??ZPla
?????文件?????210432??2009-01-01?20:25??ZPla
?????文件??????85641??2008-12-31?14:49??ZPla
............此處省略23個文件信息
- 上一篇:排隊機叫號源代碼
- 下一篇:類似趕集網的供求信息網
評論
共有 條評論