XAudio2 suggestions

New releases and general discussions.

Post » Tue Apr 14, 2009 11:28 pm

We need a GetMusicVolume expression and a On music finished playing Condition.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Tue Apr 14, 2009 11:59 pm

Yes please.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Wed Apr 15, 2009 1:40 am

We should also Have music starts playing condition.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Wed Apr 15, 2009 3:47 am

it'd also be nice if it let you know file compatibility within the behavior. i had to go to the wiki in order to find out music supports .mp3 but positional sounds can't be .mp3.
B
2
S
2
G
4
Posts: 254
Reputation: 1,958

Post » Wed Apr 15, 2009 3:37 pm

What, you mean you actually had to read the documentation to learn how something works?

No way!
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,554

Post » Wed Apr 15, 2009 5:33 pm

[quote="Ashley":2ofmrkx0]What, you mean you actually had to read the documentation to learn how something works?

No way![/quote:2ofmrkx0]
B
2
S
2
G
4
Posts: 254
Reputation: 1,958

Post » Wed Apr 15, 2009 5:54 pm

[quote="Ashley":1awbyfph]What, you mean you actually had to read the documentation to learn how something works?

No way![/quote:1awbyfph]

Sometimes I'll work on construct at school on a computer that has no internet connection. If I didn't previously know what formats how the hell would I know what I needed?

I can't see why it would be so hard to put the info where the arrow above points out.
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Wed Apr 15, 2009 7:01 pm

It would be difficult to get all the information under "Supported file formats" in that space, with the different WAV codecs built in, how to check the codec, the full in-memory decompression of OGG files which might be undesirable, and the way Directshow codecs work for 'Play Music'. It's all kind of important, and it might be misleading to omit any of it - if OGG isn't listed there as a supported file format, for example, a user might assume it is not at all supported, when in fact the decompression thing isn't an issue if the sound is short (like most sound effects). If it is listed, they might wonder why a lot of memory is used if they load in a music track with it. And to be honest, looking it up in the documentation is kind of the usual place to go to find out this stuff, and since you've looked at it once, you now know. Or you can bookmark it for reference.

The tip at the top is useful to summarise what a parameter is for, but I don't think it's a substitute for complete documentation.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,554

Post » Wed Apr 15, 2009 7:14 pm

I think the basics should be there, with the note that full info is on the wiki. It's handy to have some handy info there for quick reference.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Wed Apr 15, 2009 10:40 pm

[quote="Ashley":2e5gpei7]It would be difficult to get all the information under "Supported file formats" in that space, with the different WAV codecs built in, how to check the codec, the full in-memory decompression of OGG files which might be undesirable, and the way Directshow codecs work for 'Play Music'. It's all kind of important, and it might be misleading to omit any of it - if OGG isn't listed there as a supported file format, for example, a user might assume it is not at all supported, when in fact the decompression thing isn't an issue if the sound is short (like most sound effects). If it is listed, they might wonder why a lot of memory is used if they load in a music track with it. And to be honest, looking it up in the documentation is kind of the usual place to go to find out this stuff, and since you've looked at it once, you now know. Or you can bookmark it for reference.

The tip at the top is useful to summarise what a parameter is for, but I don't think it's a substitute for complete documentation.[/quote:2e5gpei7]
copy pasted all the relevant info from wiki --


(forum cuts off part of image, but it all fits in the box and i think the font i used is bigger anyway)

it could be phrased better and at the end mention "more info at wiki" or whatever. i think it's doable ;). it would be nice if those tip boxes were accessible to users to edit -- like .txt file(s) that store it all and we could edit in notepad. would let us make personal notes and what not, but we could also submit them to be packaged with later builds if approved.
B
2
S
2
G
4
Posts: 254
Reputation: 1,958

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests