473,225 Members | 1,190 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

Help with FMOD

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

Jan 26 '06 #1
2 2582
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.
Jan 26 '06 #2
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/
Jan 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
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.
8
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...
8
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&); }; }
2
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,...
6
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...
17
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;...
14
by: Aaron Gray | last post by:
Does anyone have a good fmod() function written in Javascript ? Many thanks in advance, Aaron
7
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
12
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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.