I'm trying to play a part of wav file.
FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 0,0);
plays all file
FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 0,90000);
plays file until 90000 sample
FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 25000, 25000);
dont't play anything
any suggestions?
P.S. Sorry for poor english 2 2619
Gintautas wrote: I'm trying to play a part of wav file. FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 0,0); plays all file FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 0,90000); plays file until 90000 sample FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 25000, 25000); dont't play anything
any suggestions?
You will have to ask on a group dedicated to your implementation since
standard C does not support sound and one news group is far too small to
cope with the thousands of extension libraries out there so we only deal
with standard C here.
P.S. Sorry for poor english
Your English is fine, unfortunately you have chosen the wrong group.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Gintautas wrote: I'm trying to play a part of wav file. FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 0,0); plays all file FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 0,90000); plays file until 90000 sample FSOUND_Sample_L oad (0,"T01.wav",FS OUND_NORMAL, 25000, 25000); dont't play anything
any suggestions?
I'd check the FMOD website.
They have some documentation: http://www.fmod.org/docs/HTML/FSOUND_Sample_Load.html
They have a FAQ: http://www.fmod.org/fmodfaq.html
and they have a forum: http://www.fmod.org/forum/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Zunbeltz Izaola |
last post by:
Hi,
I have a problem with % operation. It returns a incorrect value in
this case:
>>> -2.77555756156e-17%1
1.0
where the returned value should be -2.77555756156e-17.
|
by: seia0106 |
last post by:
Hello,
I have a C++ program , which has following two lines of code
z=atan2(x,y);
z=(float)(fmod(2*pi+z, 2*pi);
The comments written by the other programmer says that second line is
used to extend the range of variable z from '-pi to pi' to '-2pi to
2pi'.
|
by: Al-Burak |
last post by:
In the program
--- money.hpp
namespace jme{
class Money{
protected: float amount;
...
public: friend jme::Money jme::operator%( jme::Money&,
jme::Money&);
};
}
|
by: Lonnie Princehouse |
last post by:
I've been trying to debug this for two days now, and it's a longshot
but I'm hoping that someone here might recognize a solution. I've got
a C extension which calls a function in a C library, which calls
another function in another library, which calls another function,
which calls fmod from the standard C math library. All of these are
shared libraries on Linux (x86 Gentoo 2.6.9). In other words, the
calling looks like this:
Python...
|
by: stau |
last post by:
Hi!
I'm reading a C book, and it says that fmod() returns the remainder of the
exact division of it's arguments. Well, in a exact division, the remainder
shall always be 0 (zero), so this don't make any logic (I guess).
Anyway, foward in the chapter it says that fmod returns the remainder of
the integer division of it's arguments. I checked KnR 2nd ed. and the
man page, and still can't figure out wich one is correct.
| |
by: joseph.p.doyle |
last post by:
This code, compiled with visual studio .NET 2003,
double a = 95.022, b = 0.01;
printf ("%lf - floor(%lf / %lf) * %lf = %.17lf\n", a, a, b, b, a -
floor(a / b) * b);
a = 95.021, b = 0.01;
printf ("%lf - floor(%lf / %lf) * %lf = %.17lf\n", a, a, b, b, a -
floor(a / b) * b);
a = 95.020, b = 0.01;
printf ("%lf - floor(%lf / %lf) * %lf = %.17lf\n", a, a, b, b, a -
|
by: Aaron Gray |
last post by:
Does anyone have a good fmod() function written in Javascript ?
Many thanks in advance,
Aaron
|
by: bummerland |
last post by:
Hi,
I have a problem with the function fmod.
Why is fmod(5.7, 0.1) = 0.1 ?? Why is it not 0?
tia bummerland
|
by: bsabiston |
last post by:
Hi, I'm trying to get the fractional part of a floating point
number. I've tried fmod() and modf(), and while both do work, they
also occasionally return 1.0 for the fractional part of the number
instead of 0.0. This is on a mac using xcode. This should not ever
happen should it?
Thanks
Bob
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |