If we try to pass less than 128 samples of audio to recognize_song(), it will stuck forever.
This PR changes this behavior: it will return empty result immediately, assuming that it is impossible to find something recognizable in such a little audio sample.
If we try to pass less than 128 samples of audio to
recognize_song()
, it will stuck forever. This PR changes this behavior: it will return empty result immediately, assuming that it is impossible to find something recognizable in such a little audio sample.