0
0

Loading music using Load Sample or Load Stream?

If stream, is there a way to loop a stream without using PCM values?

  • You must to post comments
0
0

If it is a big file, then it is quicker to open a stream than to load as a sample. A sample decompresses the whole file.

What else would you be wanting to use besides pcm. If it is milliseconds then just convert pcm to ms with ms = pcm * 1000 / samplerate.

  • You must to post comments
0
0

Well, I just don’t know how to calculate get the pcms of each song for a perfect loop.

Before, I was using Samples and just using those positions to create a perfect loop and it worked just fine.

One more question, what’s considered the samplerate?

  • You must to post comments
0
0

samples? pcm IS samples?

Use FSOUND_Sample_GetDefaults and FSOUND_Stream_GetSample to get the default frequency

  • You must to post comments
0
0

Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh!

Please excuse the first reply. I’m not very keen on the terminology when it comes to music, I just know what type of tunes I like.

I see you were talking about the rate, like for example, 44100 Hz, right?

If that’s the case then I got what you’re talking about now.

  • You must to post comments
0
0

yes sample rate could be 44100, and for pcm, thats how many pcm samples there would be in a second.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.