Mono streams

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

 



Hi,
I have recently started working on ALSA libraries. I am facing following problems. It would be great help If some one can help me out.
1) Mono streams:
    If I try to play A MONO streams. It plays Faster.
    My driver configuration is
i)                     Blocking mode
ii)                   Access mode is interleaved
iii)                  No of channels are set to 1
2) Buffer under run while playing Mono stream.
    i) Blocking mode
    i) Hardware buffer size is 65536
    ii) Periods is set to 64
     I always encounter buffer under run If I try to decode and play a stream frame by frame. Frame size is constant and it is 2048. If I club two frames and
Try to play it. It plays well. In second case buffer size becomes 4096.
My question is: Is there any optimal buffer size. Which one should set to have smooth payout?

Regards,
Mrigen



_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/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