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