Skip to content

Commit

Permalink
[NativeAvisynth] Set audio bit depth (blind try)
Browse files Browse the repository at this point in the history
  • Loading branch information
eumagga0x2a committed Apr 7, 2021
1 parent 3488dbb commit 050ff45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ try{
{
switch (sampleType)
{
case SAMPLE_INT16: audioInfo.encoding = WAV_PCM; break;
case SAMPLE_FLOAT: audioInfo.encoding = WAV_PCM_FLOAT; break;
case SAMPLE_INT16: audioInfo.encoding = WAV_PCM; audioInfo.bitspersample = 16; break;
case SAMPLE_FLOAT: audioInfo.encoding = WAV_PCM_FLOAT; audioInfo.bitspersample = 32; break;
default:
return false;
}
Expand Down

0 comments on commit 050ff45

Please sign in to comment.