[mythtv] prebuffer audio related?

Steven mythmail at richardstraat.homedns.org
Wed Oct 27 17:03:21 UTC 2004


> > 
> I use /dev/dsp in myth. With mplayer the recordings play fine with oss 
> emulation and with -oa alsa . Audio is standard PCM from the PVR card.

switched to alsa audio output using ALSA:spdif as device and no more
pre-buffering pauses. :-)
But now AV sync is off by a fraction. :-(

This is from mythfrontendlog verbose playback,audio :
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 16134 0 1000
2004-10-27 18:56:26 Waiting for space on soundcard: space=1000
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15992 0 1568
2004-10-27 18:56:26 Waiting for space on soundcard: space=1568
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15854 0 2120
2004-10-27 18:56:26 Waiting for space on soundcard: space=2120
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15710 0 2696
2004-10-27 18:56:26 Waiting for space on soundcard: space=2696
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15326 0 4232
2004-10-27 18:56:26 Preparing 4096 bytes (1024 frames) in WriteAudio
2004-10-27 18:56:26 Broadcasting free space avail
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 16320 0 256
2004-10-27 18:56:26 Waiting for space on soundcard: space=256
2004-10-27 18:56:26 Waiting for space on soundcard: space=256
2004-10-27 18:56:26 AddSamples 4612
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 16204 0 720
2004-10-27 18:56:26 Waiting for space on soundcard: space=720
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 16062 0 1288
2004-10-27 18:56:26 Waiting for space on soundcard: space=1288
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15916 0 1872
2004-10-27 18:56:26 Waiting for space on soundcard: space=1872
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15774 0 2440
2004-10-27 18:56:26 Waiting for space on soundcard: space=2440
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15628 0 3024
2004-10-27 18:56:26 Waiting for space on soundcard: space=3024
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15486 0 3592
2004-10-27 18:56:26 Waiting for space on soundcard: space=3592
2004-10-27 18:56:26 AddSamples 4612
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 15338 0 4184
2004-10-27 18:56:26 Preparing 4096 bytes (1024 frames) in WriteAudio
2004-10-27 18:56:26 Broadcasting free space avail
2004-10-27 18:56:26 getSpaceOnSoundcard : 16384 16332 0 208

Anything I can try changing in the code to track this down further?

Steven



More information about the mythtv-dev mailing list