-
Notifications
You must be signed in to change notification settings - Fork 254
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
[AudioManager] Improve documentation #6352
Conversation
/// Sets the sample format for the audio device. | ||
/// This method allows developers to specify a desired <see cref="AudioSampleFormat"/> for | ||
/// audio playback or recording. Setting an appropriate sample format is essential for | ||
/// ensuring compatibility with the audio data being processed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the last sentence is not that much helpful. could you remove that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure "Setting an appropriate sample format is essential for ensuring compatibility with the audio data being processed." will be removed
/// Sets the 'avoid resampling' property for the audio device. | ||
/// This property controls whether the device should avoid resampling audio data during playback. | ||
/// Enabling this feature can help preserve audio quality by preventing alterations to audio that | ||
/// may happen during format conversions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess "during playback" is more proper instead of "during format conversions".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
Signed-off-by: Jaechul Lee <[email protected]>
Signed-off-by: Jaechul Lee <[email protected]>
Signed-off-by: Jaechul Lee <[email protected]>
Description of Change
Improve documentation