Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

fix initialization of local blockAlign with default values. #793

Merged
merged 2 commits into from
Sep 5, 2016
Merged

fix initialization of local blockAlign with default values. #793

merged 2 commits into from
Sep 5, 2016

Conversation

nkast
Copy link
Contributor

@nkast nkast commented Sep 5, 2016

Set default values to local blockAlign before assigning the value to the member field this.blockAlign.
Check blockAlign for invalid values and that it can be cast to short/Int16.

fix #791

Set default values to local `blockAlign` before asigning the value to
the member field `this.blockAlign`.

fix #791
@xoofx xoofx merged commit 771f630 into sharpdx:master Sep 5, 2016
@xoofx
Copy link
Member

xoofx commented Sep 5, 2016

Thanks!

@nkast nkast deleted the tncWaveFormatAdpcm_defaultBlockAlign branch September 5, 2016 07:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WaveFormatAdpcm, blockAlign default value
2 participants