Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: glitches when appending two audio files

HTVi
TV Discussion Newsgroups

glitches when appending two audio files
Parceval 5/24/2007 10:21:01 AM
Hi.

I'm creating a video stream based on framebuffer images and i wan't to
connect different audio streams to it. (swapping audio files, or looping
them...).

The audio files are all WMA files with the same settings, and basically
everything works fine.

The only problem is, that at the beginning of a new audio file, there is a
little sound glitch at the beginning...

Basically what i'm doing is, i use the SyncReader to get samples. When i
reach the end of the sample, i start reading from the new sample and set the
presentation time to the duration of the first audio stream. (or the
timestamp of the last sampe + duration of the last sample).

I thing, the most reasonable bug which can cause this behaviour is maybe a
wrong timing?

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen