olzlegacy.blogg.se

Flac player windows 8.1
Flac player windows 8.1








I am hearing the same flickers!ī) Same behavior seen using Media Element (in c++).Ĭ) One weird thing is that I can get a semi decent tone in c# if I use sample buffer sizes of 800. By the time your app actually runs on your devices, C# MSIL has been compiled to native code already and it has no perormance disadvantages compared to C++.Ī) I decided to make a fully c++ project to rule out C# GC issues. Your flicker problem is not related to using C#. GC.Collect(1, GCCollectionMode.Forced, true) .ApplicationCurrentMemoryUsage.ToString() This.currentPosition = this.startPosition If there are no more bytes in the chunk, start again from the beginning Move our timestamp and position forward Sample = MediaStreamSample.CreateFromBuffer(k.AsBuffer(), TimeSpan.FromTicks(currentTimeStamp)) Private void MediaStreamSource_SampleRequested( sender, MediaStreamSourceSampleRequestedEventArgs args)

flac player windows 8.1

The changes in code to make it work are minimal.Īll my projects are windows phone runtime components, including the UI project. I recompiled flacbox as windows phone runtime component.

flac player windows 8.1

Mcosmin! I've updated the CodePlex project accordingly. I have created a CodePlex project so everyone could look into my code and perhaps help solve the issue. So here's the question: what do I have to do to make it work for this newest mobile operating system? So I decided to rewrite everything using C++ (thanks goodness I haven't had any UI and lot of business logic yet), and then there was another problem: the samples received, but no sound was played so far. Mcosmin's article "How to Play Flac Files in Windows Phone Using C#", and it didn't work either: the sound was also flickering and then it crashed with stack overflow. I've been thinking that maybe I've been doing something wrong from the very start, so in WP 8.0 the problem just wasn't seen, so I decided to check this out by using FlacBox just like in

flac player windows 8.1

There are no changes between WP 8.0 and WP 8.1 versions of this runtime component, This project is working great in Windows Phone 8.0, but in Windows Phone 8.1 the sound is flickering, and after some time the Windows Runtime component crashes with stack overflow. It is using a wrapper Windows Phone Runtime component over original libFLAC.dll to read files and convert FLAC frames to PCM bytes. I have a project that uses a MediaStreamSource to play FLAC files.










Flac player windows 8.1