Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When space bar is hit (pause), the following error occurs on Raspberry pi with the ALSA pcm renderer as the default renderer.
Tizonia exiting (OMX_ErrorInsufficientResources). [OMX.Aratelia.audio_renderer.pulseaudio.pcm:port:0] [OMX_ErrorInsufficientResources]
The issue has to do with the fact that the 'snd_pcm_pause' function is not supported by the hardware.
09-10-2017 20:57:41.439 - [PID:19088][TID:19187] [ERROR] [tiz.audio_renderer.prc] [arprc.c:alsa_error_handler:144] --- ALSA lib pcm_hw.c:673:(snd_pcm_hw_pause) SNDRV_PCM_IO\ CTL_PAUSE failed (-38): Function not implemented 09-10-2017 20:57:41.439 - [PID:19088][TID:19187] [ERROR] [OMX.Aratelia.audio_renderer.alsa.pcm] [arprc.c:ar_prc_pause:1143] --- [OMX_ErrorInsufficientResources] : Function \ not implemented
The solution is to use this in stead:
if (snd_pcm_hw_params_can_pause(p_prc->p_hw_params_)) { bail_on_snd_pcm_error (snd_pcm_pause (p_prc->p_pcm_, pause)); } else { bail_on_snd_pcm_error (snd_pcm_drop(p_prc->p_pcm_)); }
The text was updated successfully, but these errors were encountered:
d972184
Hey @juanrubio , I'm running into the same issue. Where to put the snippet?
Sorry, something went wrong.
juanrubio
No branches or pull requests
When space bar is hit (pause), the following error occurs on Raspberry pi with the ALSA pcm renderer as the default renderer.
The issue has to do with the fact that the 'snd_pcm_pause' function is not supported by the hardware.
The solution is to use this in stead:
The text was updated successfully, but these errors were encountered: