bugClanLib - Bugs: bug #7215, The sound gets played 'cut' (with...

 
 

bug #7215: The sound gets played 'cut' (with middle silence parts)

Submitted by:  None
Submitted on:  Tue 13 Jan 2004 03:17:03 AM UTC  
 
Category: clanSoundSeverity: 3 - Normal
Item Group: Incorrect BehaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 0.7.4
Operating System: WindowsPlanned Release: 0.7.4

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 13 Jan 2004 03:58:51 AM UTC, comment #1:

I fixed it :)
Looks like changing this line in soundoutput_directsound.cpp
frag_size = 2500;

to a multiple of 2 like 2048 or 4096 (didn't check other numbers) fixes it :)
Probably some drivers don't like non-power of two numbers?

Anyway, I think it should get applied. (I looked on the list and other people seemed to have the same prob)

Anonymous
Tue 13 Jan 2004 03:17:03 AM UTC, original submission:

Hi, with all the examples that use sound, its sound is "cut".
Using latest ClanLib (7.7), did not check with older ones.
MSVC Net 2003, External libs package, Windows XP SP1, Athlon XP 2000+, SB Live 5.1, KX Sound Latest Drivers (www.kxproject.com), DirectX 9.0b, etc etc.

Other programs and games seem to work fine.

Attached is the output of the vorbis example in mp3 (though the same happens with every other example with sound).

If you happen to find out the problem, please get back to me at xaviergonz (AT NOSPAM) hotmail ·DOT· com

Thanks a lot

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #971:  audio.mp3 added by None (95KiB - audio/mpeg - Example of the sound)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 14 Jan 2004 08:24:28 AM UTCsphairStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Tue 13 Jan 2004 03:17:03 AM UTCNoneAttached File-=>Added audio.mp3, #951

Back to the top


Powered by Savane 3.1-cleanup1