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)
|