TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JIM JACKSON
from: ALISTER
date: 2020-01-03 18:38:00
subject: Re: ALSA sound cut short

On Fri, 03 Jan 2020 18:07:55 +0000, Jim Jackson wrote:

> On 2020-01-03, R.Wieser  wrote:
>>> I'm not surprised. I don't think there are many people who have
>>> programmed the ALSA interface,
>>
>> Not ?   In that case, how does everybody else get user-defined sounds
>> from their speakers ?    Is there another approach available ?
>
> They use existing software.
>
>   system("aplay somesound.wav");
>
> Yes I know :-(
so take a look at the source code for a play
>
> The other way is hardware. Use a spare gpio pin to switch on and off a
> ceramic sounder.
>
> Jim





--
But Officer, I stopped for the last one, and it was green!

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