Skip to content

Commit

Permalink
Assign a data format for FAUDIO_FORMAT_MSADPCM
Browse files Browse the repository at this point in the history
  • Loading branch information
alesliehughes authored and flibitijibibo committed Oct 25, 2019
1 parent 5fc2311 commit d7a672b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FAudio.c
Expand Up @@ -341,6 +341,7 @@ uint32_t FAudio_CreateSourceVoice(
fmtex->wSamplesPerBlock = ((
fmtex->wfx.nBlockAlign / fmtex->wfx.nChannels
) - 6) * 2;
(*ppSourceVoice)->src.format = &fmtex->wfx;
}
else
{
Expand Down

0 comments on commit d7a672b

Please sign in to comment.