OggMemory_src

所属分类:多媒体编程
开发工具:Visual C++
文件大小:870KB
下载次数:18
上传日期:2009-08-10 10:53:29
上 传 者mtfish
说明:  一个从内存加载Ogg Vorbis数据的实例,值得参考。
( An example of loading Ogg Vorbis audio data from memory)

文件列表:
OggPlayer Sample (0, 2005-09-21)
OggPlayer Sample\OggPlayer.sln (2143, 2005-08-16)
OggPlayer Sample\TgPlayOgg (0, 2005-09-21)
OggPlayer Sample\TgPlayOgg\AssemblyInfo.cs (2664, 2005-07-07)
OggPlayer Sample\TgPlayOgg\OggPlayer.cs (24167, 2005-09-21)
OggPlayer Sample\TgPlayOgg\PostReleaseBuildEvent.bat (1052, 2005-07-07)
OggPlayer Sample\TgPlayOgg\Test App (0, 2005-09-21)
OggPlayer Sample\TgPlayOgg\Test App\App.ico (7406, 2005-07-07)
OggPlayer Sample\TgPlayOgg\Test App\AssemblyInfo.cs (2686, 2005-08-09)
OggPlayer Sample\TgPlayOgg\Test App\Form1.cs (10009, 2005-09-21)
OggPlayer Sample\TgPlayOgg\Test App\Form1.resx (20589, 2005-08-15)
OggPlayer Sample\TgPlayOgg\Test App\OggPlayer.csproj (4910, 2005-09-21)
OggPlayer Sample\TgPlayOgg\Test App\test app.sln (907, 2005-08-16)
OggPlayer Sample\TgPlayOgg\Test App\test.ogg (31440, 2005-07-07)
OggPlayer Sample\TgPlayOgg\TgPlayOgg.csproj (5031, 2005-08-09)
OggPlayer Sample\TgPlayOgg\TgPlayOgg.sln (903, 2005-07-07)
OggPlayer Sample\TgPlayOgg\VorbisfileApi.cs (2396, 2005-08-24)
OggPlayer Sample\TgPlayOgg_vorbisfile (0, 2005-09-21)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Include (0, 2005-09-21)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Include\codec.h (8044, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Include\Ogg (0, 2005-09-21)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Include\Ogg\ogg.h (7589, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Include\Ogg\os_types.h (4121, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Include\vorbisfile.h (5430, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib (0, 2005-09-21)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib\ogg_static.lib (27024, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib\ogg_static_d.lib (59072, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib\vorbisfile_static.lib (262988, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib\vorbisfile_static_d.lib (519088, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib\vorbis_static.lib (231768, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\Ogg Vorbis Lib\vorbis_static_d.lib (449310, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\resource.h (414, 2005-08-12)
OggPlayer Sample\TgPlayOgg_vorbisfile\stdafx.cpp (212, 2005-05-09)
OggPlayer Sample\TgPlayOgg_vorbisfile\stdafx.h (1452, 2005-08-15)
OggPlayer Sample\TgPlayOgg_vorbisfile\TgPlayOgg_use_vorbisfile.cpp (8158, 2005-09-21)
OggPlayer Sample\TgPlayOgg_vorbisfile\TGPlayOgg_use_vorbisfile.h (1836, 2005-09-21)
OggPlayer Sample\TgPlayOgg_vorbisfile\TgPlayOgg_vorbisfile.rc (2457, 2005-08-12)
OggPlayer Sample\TgPlayOgg_vorbisfile\TgPlayOgg_vorbisfile.sln (929, 2005-07-07)
OggPlayer Sample\TgPlayOgg_vorbisfile\TgPlayOgg_vorbisfile.vcproj (5244, 2005-09-21)
... ...

======================================================================== OGG VORBIS LIBRARY WRAPPER : TgPlayOgg_vorbisfile Project Overview ======================================================================== Ogg Vorbis' high-level API, vorbisfile, has only two input choices: either a C file pointer or a set of custom callback functions that do the reading of the input Ogg Vorbis data. The better and more portable of these choices is probably custom callbacks, but I wasn't aware that .NET 1.1 gave any control over the calling convention of its methods, and its standard calling convention is StdCall, while the vorbisfile DLLs are compiled with the Cdecl calling convention. Thus, given C# and .NET 1.1, we decided to write some C/C++ code and compile it into a DLL, and this DLL includes the callbacks that vorbisfile needs. This is why we created the TGPlayOgg_vorbisfile wrapper project. ///////////////////////////////////////////////////////////////////////////// TgPlayOgg_use_vorbisfile.c - this C file is compiled into a DLL that can be called from any .NET C# project. ///////////////////////////////////////////////////////////////////////////// To create a standalone DLL, compile this file and statically linked with the following 3 Ogg Vorbis libraries availabe in the Ogg Vorbis SDK. Debug version: ogg_static_d.lib vorbis_static_d.lib vorbisfile_static_d.lib Release version: ogg_static.lib vorbis_static.lib vorbisfile_static.lib

近期下载者

相关文件


收藏者