Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Docs #2457

Merged
merged 8 commits into from
May 2, 2014
Merged

Audio Docs #2457

merged 8 commits into from
May 2, 2014

Conversation

RayBatts
Copy link

@RayBatts RayBatts commented May 1, 2014

First run at some documentation for classes in the Microsoft.Xna.Framework.Audio namespace.

I also took care of replacing the old licenses while I was at it.

A contribution to #2378

/// <summary>
/// Returns the name of this AudioCategoty
/// </summary>
/// <returns>Friendly name of the AudioCategoty</returns>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Categoty happens twice here

/// <param name="emitter">The emitter to calculate.</param>
/// <remarks>
/// <para>This must be called before Play().</para>
/// <para>Calling this method automatically converts the sound to monoaural and sets the speaker mix for any sound played by this cue to a value calculated with the listener's and emitter's positions. Any stereo information in the sound will be discarded.</para>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not as wide, but still pretty wide

@@ -116,16 +140,22 @@ public void Play()
PlatformPlay();
}

/// <summary>Resumes playback for a SoundEffectInstance.</summary>
/// <remarks>Only has effect on an SoundEffectInstance in a paused state.</remarks>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"on an", Maybe instead "Only has an effect on a ..."

@danzel
Copy link
Contributor

danzel commented May 1, 2014

English review complete :)

@RayBatts
Copy link
Author

RayBatts commented May 2, 2014

@tomspilman - Finished making the changes that @danzel suggested. Thanks again, Dave!

tomspilman added a commit that referenced this pull request May 2, 2014
@tomspilman tomspilman merged commit 2c24b5f into MonoGame:develop May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants