Audio play different bitrate test
i am using gst-play-1.0 for testing different bitrate audio play, found that 44.1 kbps, 22.050 kbps were not working but 48kbps mp3 works neatly without noise
Please let me know if i miss anything, i am using I2S1 to derive the base MCLK and feed to codec
log:
gst-play-1.0 /run/media/mmcblk0p1/AudioFiles/test.wav
playing 22.05kbps--- (256*22.05k) = 5644800
Press 'k' to see a list of keyboard shortcuts.
Now playing /run/media/sda1/AudioFiles/BabyElephantWalk60.wav
[ 1164.185749] st,stm32-i2s 44004000.audio-controller: Error -16 setting i2sclk parent clock 5644800
playing 44.1kbps--- (256*44.1k) = 11289600
Now playing /run/media/sda1/AudioFiles/Railroad.mp3
[ 1523.259773] st,stm32-i2s 44004000.audio-controller: Error -16 setting i2sclk parent clock 11289600 -309581440 -309581312
[ 1523.269268] asoc-audio-graph-card sound@0: ASoC: machine hw_params failed: -16
ERROR Could not get/set settings from/on resource. for file:///run/media/sda1/AudioFiles/Railroad.mp3
ERROR debug information: ../../../gst-plugins-base-1.14.4/ext/alsa/gstalsasink.c(617): set_hwparams (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:abin/GstBin:bin0/GstAlsaSink:alsasink0:
Unable to set hw params for playback: Device or resource busy
Reached end of play list.
