View Single Post
Old 07-12-2012, 09:49 PM   #158
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Until now, I knew very little about ALSA.

I see that you used the _hw_ functions, which are more fussy about what they support. Are they lower CPU overhead than the "non _hw_" functions (which convert formats if needed)?

The pcm_min.c demo uses the "non _hw_" functions, and a modified version is working for me (for now). I may have to switch if it gets swamped by the K3 eink calls.

I still do not understand buffer sizes -- just growing them until stuff works...

I will have to RTFM at some point, I am sure...

Your condensed code may work for me if I had a "proper" wave file...

Last edited by geekmaster; 07-12-2012 at 09:52 PM.
geekmaster is offline   Reply With Quote