TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2020-01-03 20:29:00
subject: Re: ALSA sound cut short

Alister,

> so take a look at the source code for a play

Like this one ?

https://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html

or this one ?

https://raw.githubusercontent.com/bear24rw/alsa-utils/master/speaker-test/speak
er-test.c

Even though they might work flawlessly* , they are far from being a
simple/clear examples. :-(

*I'm not even sure of that, as the example I got (link in first post) works
great - using a sample rate of 44100 ...

Regards,
Rudy Wieser

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