I'm trying to play a part of wav file.
FSOUND_Sample_Load (0,"T01.wav",FSOUND_NORMAL, 0,0);
plays all file
FSOUND_Sample_Load (0,"T01.wav",FSOUND_NORMAL, 0,90000);
plays file until 90000 sample
FSOUND_Sample_Load (0,"T01.wav",FSOUND_NORMAL, 25000, 25000);
dont't play anything
any suggestions?
P.S. Sorry for poor english 2 2593
Gintautas wrote: I'm trying to play a part of wav file. FSOUND_Sample_Load (0,"T01.wav",FSOUND_NORMAL, 0,0); plays all file FSOUND_Sample_Load (0,"T01.wav",FSOUND_NORMAL, 0,90000); plays file until 90000 sample FSOUND_Sample_Load (0,"T01.wav",FSOUND_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_Load (0,"T01.wav",FSOUND_NORMAL, 0,0); plays all file FSOUND_Sample_Load (0,"T01.wav",FSOUND_NORMAL, 0,90000); plays file until 90000 sample FSOUND_Sample_Load (0,"T01.wav",FSOUND_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...
|
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,...
|
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...
|
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;...
|
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...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |