[alsa-devel] noise and consume pcm faster

Nie Jun niej0001 at gmail.com
Fri Sep 5 09:49:42 CEST 2008


It is strange that there is no noise in the first several seconds. It seems
like a buffer overflow with too much data accumulated. However, there should
not be overflow in playback, right?


2008/9/5 Nie Jun <niej0001 at gmail.com>

> I do not know how these two params will be modified by ALSA lib. It does
> not directly accept specified value.
> With this cmd:
> ./aplay 48k_stero.wav -F5120 -B106400
> I get the nearest setting as following, but still has noise.
>
> channels: 2
> rate: 48000 (48000/1)
> period_size: 248
> buffer_size: 5208
>
>
>
> 2008/9/5 Takashi Iwai <tiwai at suse.de>
>
> At Fri, 5 Sep 2008 14:34:51 +0800,
>> Nie Jun wrote:
>> >
>> > I can not figure out the reason of noise and faster consumption from
>> these
>> > different. Do you have any idea about these different? Or any other data
>> may
>> > contain clue?
>>
>> So, do you mean that the problem persists even if you use the exactly
>> same period_size and buffer_size as OSS (i.e. 256 and 5120)?
>>
>>
>> Takashi
>>
>
>


More information about the Alsa-devel mailing list