TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2020-01-22 17:08:00
subject: Re: Rephrasing my ALSA qu

Jim,

> Whether you compile using geany or whatever or from the command line
> (as I did) doesn't make any difference.

:-) I gave that reference so you would know what I'm using, and maybe know
thats something works different.

In your case your compiler must have automatically zeroed that "dir" var
out, or you where incredibly lucky, and that multiple times.  Guess what I
think.

In other words: your setup is different than mine.

>I copied the example program you referenced. Compiled it and ran

Are those numbers for both the origional as well as the 8000 bitrate ?

> But the program compiled just fine.

It compiled just fine here too.   The problems only became appearant when
running it, with the above mentioned uninitialized "dir" variable being the
first one.

> Whether you compile using geany or whatever or from the command
> line (as I did) doesn't make any difference.

Nope.  As long as the same arguments are used ofcourse.  But I wondered if
my, or rather Geany's calling of gcc missed a "clear declared variables"
flag (which is why I specifically mentioned what I was using, and how).

There also seems to be a difference between the compiler you used and the
gcc one I've got here, as yours seems to done that clearing automatically.

But, thank you for mentioning that you've done your testing on a PC
platform.   It seems to suggest that the ALSA version on the Raspberry Pi
has a flaw that the PC version doesn't.

I mean, otherwise the program should work exactly the same on both our
machines, right ?

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