Re: help with first ALSA program, please?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Date: Sat, 18 May 2013 12:36:57 -0500
> From: Perry Kivolowitz <perry@xxxxxxxxxxxxxx>
> To: alsa-user@xxxxxxxxxxxxxxxxxxxxx
>
> Hi All,
>
> I have written an ALSA output program which is producing garbled results.
>
> The results are the same when I wrote an equivalent program using 
> RtAudio / ALSA.
>
> The platform is an RK3066 based stick computer running Picuntu.
>
> The sound file is processed by sndfile. Playing a sin wav at 375 Hz also 
> produces unexpected results.
>
> Playing the sound file with aplay works fine.
>
> ...

On the off chance you haven't already tried this, if it were
my program I would instrument the program to print out buffer
pointers for each packet of samples sent to Alsa (or wherever
you're sending the data).  If it were my program, it would
likely turn out that I had made some errors in pointer
arithmetic or something like that.

HTH

Robert

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux