Re: Question about writing an ASF file
- From: "Jeff Smart" <jeffs@xxxxxxxx>
- Date: Wed, 12 Oct 2005 09:01:08 +0200
"Jeremy Noring" <JeremyNoring@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im
Newsbeitrag news:87C8E3FE-4A2B-43A5-9C38-9BF9B02AF716@xxxxxxxxxxxxxxxx
> "Jeff Smart" wrote:
>
> Do you launch any threads from your application, and do you call
> CoInitialize on those threads? You have to initialize/de-initialize COM
on
> every launched thread. See my site for a class that helps with that.
Thank you very much for this hint. Indeed this changed a lot in
the right direction. It seems to me that the missing COM
initialization calls inside my worker thread were responsible
for the unexpected malfunction. Good to know that a global
COM initialization is not suffucient.
Unfortunately the output data is still not correct.
Actually the output file contains the complete sound data but
the result is twice as long and the sound plays back correctly
only for 5-7 seconds.
After that period of time the pitch decreases slowly (in about 2 seconds)
about 50% and stays on that level until the end of the sound.
Any clue what might be responsible for that?
> That being said, how are you configuring the writer? What input type are
> you specifying?
1. I create an Audio profile 96KBit 44.1 KHz Stereo.
2. I create a Writer with WMCreateWriter()
3. I set the profile with pWriter->SetProfile()
> --
> My Site (under construction): http://deepsea.no-ip.com/AV/
.
- References:
- Question about writing an ASF file
- From: Jeff Smart
- Re: Question about writing an ASF file
- From: Tobia Quantrill
- Re: Question about writing an ASF file
- From: Jeff Smart
- Re: Question about writing an ASF file
- From: Tobia Quantrill
- Re: Question about writing an ASF file
- From: Jeff Smart
- Re: Question about writing an ASF file
- From: Tobia Quantrill
- Re: Question about writing an ASF file
- From: Jeff Smart
- Question about writing an ASF file
- Prev by Date: IWMSPlaylistParser Interface Cannot be Implemented in C#
- Next by Date: Re: Question about writing an ASF file
- Previous by thread: Re: Question about writing an ASF file
- Next by thread: Re: Question about writing an ASF file
- Index(es):
Relevant Pages
|