Re: Sound distortion with snd_pcm_writei

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

 



At Mon, 19 Jun 2006 14:37:46 +0200,
Bo Thorsen wrote:
> 
> Hi people,
> 
> I'm currently writing a small player application using alsa, and it's been 
> going reasonably well. However, I have hit a problem I don't know how to fix.
> 
> I'm using async callbacks to write the sound data. I have the data from a 
> bunch of wav files that are stored using 8 bit per sample, and I have set the 
> hardware options to this. They have different sample rates, but I read this 
> from the file and set it also.
> 
> The sound plays as it's supposed to but it's very distorted, and I have no 
> clue why that is. I am using an existing wav player to compare my output 
> with, and they are similar, but not the same. If one of you have an idea, I'd 
> be very happy to hear about it.

Could you try HG version of alsa-lib?  There is a fix for rate plugin,
and this might be the cause.


Takashi


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux