fmodapi375ce

所属分类:Windows Phone
开发工具:C/C++
文件大小:4501KB
下载次数:91
上传日期:2007-11-29 22:49:45
上 传 者mellow2007
说明:  FMOD 在windows mobile 下面的音频播放源码
(FMOD in windows mobile audio player below source)

文件列表:
fmodapi375ce (0, 2005-10-27)
fmodapi375ce\api (0, 2005-12-15)
fmodapi375ce\api\inc (0, 2005-10-27)
fmodapi375ce\api\inc\fmod.h (74634, 2005-10-28)
fmodapi375ce\api\inc\fmodce.h (2731, 2004-02-19)
fmodapi375ce\api\inc\fmod_errors.h (1721, 2005-10-28)
fmodapi375ce\api\wce211 (0, 2005-11-02)
fmodapi375ce\api\wce211\arm (0, 2005-11-02)
fmodapi375ce\api\wce211\arm\fmodce.dll (410112, 2005-12-15)
fmodapi375ce\api\wce211\arm\fmodce.lib (50548, 2005-12-15)
fmodapi375ce\api\wce211\mips (0, 2005-11-02)
fmodapi375ce\api\wce211\mips\fmodce.dll (477696, 2005-12-15)
fmodapi375ce\api\wce211\mips\fmodce.lib (50548, 2005-12-15)
fmodapi375ce\api\wce211\sh3 (0, 2005-11-02)
fmodapi375ce\api\wce211\sh3\fmodce.dll (385536, 2005-12-15)
fmodapi375ce\api\wce211\sh3\fmodce.lib (51584, 2005-12-15)
fmodapi375ce\api\wce211\sh4 (0, 2005-11-02)
fmodapi375ce\api\wce211\sh4\fmodce.dll (387584, 2005-12-15)
fmodapi375ce\api\wce211\sh4\fmodce.lib (51584, 2005-12-15)
fmodapi375ce\api\wce211\x86emu (0, 2005-11-02)
fmodapi375ce\api\wce211\x86emu\fmodce.dll (315392, 2005-12-15)
fmodapi375ce\api\wce211\x86emu\fmodce.lib (51584, 2005-12-15)
fmodapi375ce\api\wce3 (0, 2005-11-02)
fmodapi375ce\api\wce3\arm (0, 2005-11-02)
fmodapi375ce\api\wce3\arm\fmodce.dll (414208, 2005-12-15)
fmodapi375ce\api\wce3\arm\fmodce.lib (50548, 2005-12-15)
fmodapi375ce\api\wce3\be300 (0, 2005-11-02)
fmodapi375ce\api\wce3\be300\fmodce.dll (478208, 2005-12-15)
fmodapi375ce\api\wce3\be300\fmodce.lib (50548, 2005-12-15)
fmodapi375ce\api\wce3\mips (0, 2005-11-02)
fmodapi375ce\api\wce3\mips\fmodce.dll (478208, 2005-12-15)
fmodapi375ce\api\wce3\mips\fmodce.lib (50548, 2005-12-15)
fmodapi375ce\api\wce3\sh3 (0, 2005-11-02)
fmodapi375ce\api\wce3\sh3\fmodce.dll (382464, 2005-12-15)
fmodapi375ce\api\wce3\sh3\fmodce.lib (51584, 2005-12-15)
fmodapi375ce\api\wce3\smartphone (0, 2005-11-02)
fmodapi375ce\api\wce3\smartphone\fmodce.dll (414208, 2005-12-15)
fmodapi375ce\api\wce3\smartphone\fmodce.lib (50548, 2005-12-15)
fmodapi375ce\api\wce3\x86 (0, 2005-11-02)
fmodapi375ce\api\wce3\x86emu (0, 2005-11-02)
... ...

---------------------------------------------------------------------------- FMOD SoundSystem Copyright (c) Firelight Technologies Pty, Ltd, 1994 - 2004 ---------------------------------------------------------------------------- http://www.fmod.org ---------------------------------------------------------------------------- Windows CE / Pocket PC specific issues. ---------------------------------------------------------------------------- USAGE ===== FMOD's mixer defaults to FSOUND_MIXER_QUALITY_AUTODETECT. The only possibilities are FSOUND_MIXER_QUALITY_AUTODETECT - high quality, slower stereo mixer FSOUND_MIXER_AUTODETECT - lower quality, faster stereo mixer FSOUND_MIXER_QUALITY_MONO - high quality, slower mono mixer FSOUND_MIXER_MONO - lower quality, faster mono mixer. Use FSOUND_SetMixer to change between these. For feature support to verify what is supported and what isnt, check the features page on http://www.fmod.org.. EXAMPLES NOT RUNNING AND "FILE NOT FOUND" ========================================= For the examples, if you get this message, please copy the contents of \samples\assets to \My Documents\Personal on the target device. The "3d2" requires gx.dll. Hopefully if you are programming multimedia apps on PocketPC you already know what this is. You have to copy it into the \Windows directory or your app directory if it comes up with a 'component missing' type error message when you try and run it. EXAMPLES THAT DONT BUILD ======================== The "3d2" example uses the GAPI graphics api. The majority of cpu's and platforms support this but some dont. You will get messages like "Cannot open include file: 'gx.h': No such file or directory" You cannot run 3d2 on this platform if you get this error because GAPI isnt supported. The "fmodsamplece" example uses the GetOpenFileName function, which is supported on most platforms except for smartphone. This results in an error such as "Cannot open include file: 'commdlg.h': No such file or directory" You cannot run this example on smartphone. There are 6 other examples that will work though. LINKING AND CE 2.11 =================== All libraries currently point to 3.0+ import libraries for the examples. If you want to test the examples on 2.11 you have to change the directory name from /API/WCE211 to /API/WCE or change the entries in the project settings. RUNTIME ERRORS ============== If you get FMOD_ERR_INIT or 'Error initializing output device' after calling FSOUND_Init, it could be your device doesnt support the rate you supplied. If you tried 44100, try 32000, then 22050. Another reason the output device might fail to initialize is that it might be in use. This might happen if you are connecting via activesync just as your app starts, or other reasons, and it makes a beep, denying fmod the chance to initialize properly. Use a retry mechanism, continually trying (say every 100ms) to init fmod until it succeeds. If it doesnt succeed after 1 second or so, then you can report it as an error in your app. RECORDING ISSUES ON CE ====================== If you have failures trying to record to sample, try changing the sample rate, or from stereo to mono. It has been found for example, on casio E 200, it cannot record to 44100hz, but works ok at 22050hz. LATENCY AND SOUND SKIPPING ("DISTORTION" / "NOISE") - IMPORTANT! ================================================================ Skipping or repeating sound is caused by 'buffer underrun' and varies on different devices depending on the sound engine's buffersize. If it is too small, the operating system might not be able to fill it properly because the operating system paused and the sound engine couldnt complete it's job in time. Another reason is the cursor position fmod uses to determine where to write new data is erroneous. You can control this buffersize with FSOUND_SetBufferSize. It defaults to 200. This was chosen as the most acceptable setting across all devices without causing skipping, buffer repeats. FSOUND_SetBufferSize must be called before FSOUND_Init. If you set it to a lower value (down to 50), it will give better response and lower latency, but if it works on one device, it might not work on another. Another important factor is output rate. This is the value you set in FSOUND_Init and usual values are 44100 etc. On many pocketpc's, it cannot handle 44100 or 48000 hz without 200ms buffer. If you set it to 32000 you may be able to achieve 50ms latency with greater confidence on more devices. POWER ON RECOVERY ================= FMOD attempts to do power on audio recovery on all devices. Normally this works, but on some devices if you turn the audio off then on within 2 seconds it will not recover properly. One such device is the iPAQ 3970 with PPC2002. These devices are buggy, and it has been found if you have the headphone jack plugged in the audio will resume as expected, but without it it wont! The latter case uses the 2 second rule and then it should work. If you issue MessageBeep(-1) in your own power-on routine, it will avoid the 2 second issue and will wake up the audio hardware forcibly. PERFORMANCE =========== CPU Usage can be reduced by setting the output rate to a lower value (See FSOUND_Init), and turning off interpolation by using the lower quality mixers, such as FSOUND_MIXER_AUTODETECT instead of FSOUND_MIXER_QUALITY_AUTODETECT. You can gain even more performance if you dont mind your audio being played in MONO. Use FSOUND_MIXER_MONO or FSOUND_MIXER_QUALITY_MONO for this. MP2 / MP3 / OGG Vorbis. ======================= FMOD supports mp2, mp3 and Ogg vorbis in this release. For mpeg audio you can reduce cpu usage by by using FSOUND_MPEGHALFRATE as a flag in FSOUND_Stream_OpenFile. This does an inverse dct at only half the rate, producing a 22khz output for a 44khz stream for example. The difference is only slightly noticable as the 22khz output is re-interpolated back to the output rate, and if the output rate (from FSOUND_Init) is 22khz anyway, it shouldnt sound any different. The benefit is roughly a 20% speed increase. ---------------------------------------------------------------------------- FMOD End User License Agreement ---------------------------------------------------------------------------- FMOD's names, sources, documentation and binaries contained within the distributed archive are copyright Firelight Technologies, Pty, Ltd. 1994-2004. The contents of the FMOD distribution archive may not be redistributed, reproduced, modified, transmitted, broadcast, published or adapted in any way, shape or form, without the prior written consent of the owner, Firelight Technologies, be it by tangible or non tangible media. The FMODCE.DLL file may be redistributed without the authors prior permission, and must remain unmodified. The use of dll 'static linking' tools is discouraged. FMOD may not be used in a commercial product, or product that directly or indirectly receives income with the aid of the FMOD sound library, without a commercial license from Firelight Technologies. Releasing a product without a commercial license in this instance is a breach of the FMOD EULA and parties who violate this license will be prosecuted under the full extent of the law. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------- Ogg Vorbis License ---------------------------------------------------------------------------- Portions Copyright (c) 2001, Xiphophorus Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of the Xiphophorus nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

近期下载者

相关文件


收藏者