TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2020-01-23 16:25:00
subject: Re: Rephrasing my ALSA qu

Jim,

> But interestingly you can pass a null pointer there.

I know.   But that was not the point I tried to make.

To me was an indication that whomever wrote that code took a bit of a "it
works for me" swing at it, and could have forgotten, or even cut corners in
relation to the bitrate.

Than again, that very same code worked alright for you. Although, you only
tested for a 44100 bitrate ...


However, the actual problem is why the "snd_pcm_drain()" function does not
live up to its purpose.   Does it simply malfunction (on the RPi), or does
it need other data (in the 'snd_pcm_hw_params_t' record?)  to be set up too
?

I have no clue, and I can't seem to find any kind of example or information
in that regard.  And I've spend quite a while googeling for it, believe me.
:-\

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.