Player

  • Thread starter Thread starter Airon
  • Start date Start date
A

Airon

I am developing a customized player on a Windows CE5 device. The gui and
warpper has been developed in C# on top of Compact Framework 3.5. It happens
that after a few seconds/minutes of songs playing the sound becomes noisy and
scratching. Does anybody knows how to solve this matter: is it the codec or
what?

Thanks
 
We have no way to know. We know nothing of your code, your device, the
media, or anything else. With what I know, I'm going to guess it's caused
by sun spots.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
That's right :-). The device is a PDA with a ARM ) micro, 64MB flash and 64MB
RAM. The OS is Win CE 5.0

We developed a C++ library to access DShow functions, and we use that
library from C# via Interop calls. We used the filter provided with Windows
CE so no custom filters. The media we wish to listen are common MP3 files.

After a few second playing it starts scrathing: any hint?

thanks
 
It sounds to me like some buffer created and managed by your DShow-supported
driver is getting filled up and the operations to add data to them are not
fast enough to keep up with the necessary data rate to play the sound
smoothly. This is a device-specific problem and you'll have to investigate
what exactly is happening and then figure out what, if anything, you can do
about it (presumably other than sending the entire data stream to the sound
driver at the beginning, if you have enough RAM, even).

Paul T.
 
We increased the buffer up to 1 MB but apparently it is not enough...

thanks for your reply.
 
Back
Top