limit to 48828 hz sample rate (vera max)

This commit is contained in:
Irmen de Jong 2023-03-03 18:04:21 +01:00
parent 0545b77cf4
commit 3922691b3c

View File

@ -74,7 +74,7 @@ main {
if wavfile.nchannels>2 or
(wavfile.wavefmt!=wavfile.WAVE_FORMAT_DVI_ADPCM and wavfile.wavefmt!=wavfile.WAVE_FORMAT_PCM) or
wavfile.sample_rate > 44100 or
wavfile.sample_rate > 48828 or
wavfile.bits_per_sample>16 {
error("unsupported format!")
}