mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
limit to 48828 hz sample rate (vera max)
This commit is contained in:
parent
0545b77cf4
commit
3922691b3c
@ -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!")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user