• 大小: 1.23MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-20
  • 语言: C#
  • 标签: C#  波形  wav  

资源简介

使用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  ZPlayer.sln

     文件      20224  2008-12-31 22:18  ZPlayer\ZPlayer.Designer.cs

     文件      20236  2009-01-01 20:25  ZPlayer\ZPlayer.cs

     文件       4647  2008-12-31 17:04  ZPlayer\ZPlayer.csproj

     文件      99678  2008-12-31 17:03  ZPlayer\mm.ico

     文件     238397  2008-12-31 22:18  ZPlayer\ZPlayer.resx

     文件        468  2008-12-30 21:59  ZPlayer\Program.cs

     文件     259706  2008-12-30 22:07  ZPlayer\fmod.cs

     文件      34821  2008-12-30 22:07  ZPlayer\fmod_dsp.cs

     文件      13954  2008-12-30 22:07  ZPlayer\fmod_errors.cs

     文件      25214  2008-12-30 22:48  ZPlayer\Resources\Folder Music.ico

     文件      50978  2008-12-30 22:53  ZPlayer\Resources\BZ_B_0604_6.JPG

     文件      99678  2008-12-30 22:53  ZPlayer\Resources\音频与视频播放器图标8.ico

     文件       9748  2008-12-31 11:42  ZPlayer\Resources\play.png

     文件      99678  2008-12-31 11:43  ZPlayer\Resources\jtbq_014.ico

     文件      99678  2008-12-31 11:45  ZPlayer\Resources\jtbq_013.ico

     文件      99678  2008-12-31 11:45  ZPlayer\Resources\jtbq_015.ico

     文件      99678  2008-12-31 11:45  ZPlayer\Resources\jtbq_016.ico

     文件      99678  2008-12-31 11:56  ZPlayer\Resources\jtbq_011.ico

     文件      99678  2008-12-31 12:19  ZPlayer\Resources\黑白简约系统图标15.ico

     文件      99678  2008-12-31 12:20  ZPlayer\Resources\黑白标志图标下载33.ico

     文件      99678  2008-12-31 12:23  ZPlayer\Resources\music.ico

     文件      99678  2008-12-31 14:41  ZPlayer\Resources\jtbq_010.ico

     文件      99678  2008-12-31 14:46  ZPlayer\Resources\jtbq_009.ico

    ..A.SH.     23040  2009-01-01 01:19  ZPlayer\Resources\Thumbs.db

     文件        270  2009-01-01 20:25  ZPlayer\obj\ZPlayer.csproj.FileList.txt

     文件     155379  2008-12-31 22:18  ZPlayer\obj\Debug\ZPlayer.ZPlayer.resources

     文件       1491  2008-12-31 22:18  ZPlayer\obj\Debug\ZPlayer.csproj.GenerateResource.Cache

     文件     210432  2009-01-01 20:25  ZPlayer\obj\Debug\ZPlayer.pdb

     文件      85641  2008-12-31 14:49  ZPlayer\obj\Debug\ZPlayer.Properties.Resources.resources

............此处省略23个文件信息

评论

共有 条评论