Skip to content

Commit

Permalink
Merge pull request #52 from YouKnowBlom/flac-sample
Browse files Browse the repository at this point in the history
Limit flac to 96kHz 24bit
  • Loading branch information
YouKnowBlom authored Aug 19, 2020
2 parents 1f0f0bb + 849ef12 commit 9fff45e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/deviceprofilebuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ function getCodecProfiles() {
createProfileCondition("IsSecondaryAudio", "Equals", false)
]
});

CodecProfiles.push({
Type: "Audio",
Codec: "flac",
Conditions: [
createProfileCondition("AudioSampleRate", "LessThanEqual", "96000"),
createProfileCondition("AudioBitDepth", "LessThanEqual", "24")
]
});
}

return CodecProfiles;
Expand Down

0 comments on commit 9fff45e

Please sign in to comment.