TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: MARTIN GREGORIE
date: 2020-01-04 00:44:00
subject: Re: ALSA sound cut short

On Fri, 03 Jan 2020 23:57:14 +0000, The Natural Philosopher wrote:

> On 03/01/2020 19:21, R.Wieser wrote:
>> Jim,
>>
>>> They use existing software.
>> ...
>>> Yes I know :-(
>>
>> You got it. :-)
>>
>>> The other way is hardware. Use a spare gpio pin to switch on and off a
>>> ceramic sounder.
>>
>> Yeah, have been thinking of (something like) that too.   Needs extra
>> hardware though (not much, but not always available).
>>
>> And there is ofcourse my own "if some program can do it, why can't I ?"
>> grumbling.  For some reason I now just have to try my damn best to
>> battle ALSA to do my bidding.
>>
>> Yeah, I know.   Stubbornness.  I'm cursed with it. :-(  :-)
>>
>> Regards,
>> Rudy Wieser
>>
>>
> If its any consolati I too tried some code under alsa. It (alsa)was
> badly documented and illogical. I just looked at it, but I dont even
> understand what I wrote and its late.
>
> Maybe I'll dig it up and see if it bears any relationship. It did work
> but at 44k frame rate - never tried anything else.

I agree the ALSA documentation is a mess - there are broken links in the
documentation part of the website. the C library API documentation is a
mess, but a quick glance shows that there seems to be some good stuff in:

http://www.volkerschatz.com/noise/alsa.html
  (describes the architecture and module map)

https://www.alsa-project.org/wiki/Asoundrc
  (describes the config files and where to find them)

.. and the example programs are worth a look too.


--
Martin    | martin at
Gregorie  | gregorie dot org

--- 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™.