Hi,

Again starting this thread.

As stated above the underrun problem still remains. Apart from above problem my video and sound going out of sync.

I am using maiplayer to play video on my device. When I start my device the sound start with distortion along with the video but is sync with video but when it switch to another video the video and sound get out of sync.

As stated by Clemens under run occur when " In the general case, an underrun happens when the application has not filled ALSA's sample buffer fast enough and the device is trying to play data that isn't there."

What could be the reason for the video and sound going out of sync. How do I sole the problem.

Let me know If any one need more information.




On 19 June 2012 16:49, Pravinkumar Chavan <pravinkumar.chavan@enrouteinc.com> wrote:


On 19 June 2012 16:17, Pravinkumar Chavan <pravinkumar.chavan@enrouteinc.com> wrote:


On 19 June 2012 16:09, Clemens Ladisch <cladisch@googlemail.com> wrote:
Pravinkumar Chavan wrote:
> I am getting *ALSA underrun occurred*.

In the general case, an underrun happens when the application has not
filled ALSA's sample buffer fast enough and the device is trying to
play data that isn't there.

can you please brief this.. Actually I am syatem admin, I will ask my developer for code.

> Not able to get what causing the error.

Me neither; you forgot to attach the source code of your application.

# cat /proc/asound/cards
 0 [Audio          ]: AC97 - Au1xxx PSC AC97 Audio
                      Au1xxx PSC AC97 Audio (AC97)
#
#
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18a.
#
# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.18a emulation code)
Kernel: Linux (none) 2.6.28-RMI-139-DB1200 #270 PREEMPT Mon Jun 11 13:09:12 IST 2012 mips
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Au1xxx PSC AC97 Audio (AC97)

Audio devices:
0:  (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Analog Devices AD1985
#

Regards,
Clemens



--
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.



Winner of 'Innovative Creation of a New Medium' at the E4M Awards 2012
_________________________






--
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.



Winner of 'Innovative Creation of a New Medium' at the E4M Awards 2012
_________________________






--
_________________________

Pravinkumar Chavan
Software Engineer
+919867107370
En Route Media Pvt. Ltd.



Winner of 'Innovative Creation of a New Medium' at the E4M Awards 2012
_________________________