.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

mediaelement speed

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :WPF
 

I'm playing 2 mp3 files after an other with a mediaelement, but for my feeling the mediaelement isn't playing the other file fast enough(it takes too long)

do anyone know how I can change it to play the mp3 files faster after an other? I'm writing an app for WP7, so I can only use 1 mediaelement and I already set the bufferingtime to 00:00:00. And Yes I can use 1 mp3 file for "helloworld", but this is just an example :)

if (Input1 == "helloworld")
        {
          if (C1.IsChecked == false)
          {
            Audio.Source = new Uri("Content/hello.mp3", UriKind.Relative);
            Audio.AutoPlay = true;
            Audio.Play();

            C1.IsChecked = true;
          }

          else if (C1.IsChecked == true)
          {
            Audio.Source = new Uri("Content/world.mp3", UriKind.Relative);
            Audio.AutoPlay


View Complete Post


More Related Resource Links

Speed SQL: Tuning Your Database Calls with Tier Interaction Profiling

  

Tier interaction profiling (TIP) is a feature of the Visual Studio profiling tools that measures the duration of synchronous calls to ADO.NET-compliant data stores. We'll show you how TIP works and provide some best practices for using TIP to diagnose performance problems in your apps.

Mark Friedman

MSDN Magazine August 2010


Built For Speed: Develop Turbocharged Apps For Windows Compute Cluster Server

  

This article explores the services provided by Compute Cluster Server 2003 and the tools provided by Visual Studio 2005 that will help you develop High-Perfomance Computing applications.

Rich Ciapala

MSDN Magazine April 2006


Speed: NGen Revs Up Your Performance with Powerful New Features

  

In the .NET Framework 2.0, NGen has been greatly improved and offers a number of compelling new features to make it easier and faster to deploy high-performance managed applications. This article introduces some of these new features and explains how and when you should use NGen to improve the performance of your apps.

Reid Wilkes

MSDN Magazine April 2005


ASP.NET 2.0: Speed Up Your Site with the Improved View State in ASP.NET 2.0

  

View state is a wonderful thing. It allows the ASP.NET developer to maintain state for server-side controls that are not form elements.Used judiciously, it can improve the user experience. But in the wrong hands, it can cause your pages to grind to a halt. The release of ASP.NET 2.0 will include a variety of improvements to view state that will make it easier to use and less likely to slow performance.

Fritz Onion

MSDN Magazine October 2004


Speed Up Visual Studio 2008

  
The article Speed Up Visual Studio 2008 was added by tmorton on Monday, August 09, 2010.

1- Disable toolbox populate from the mainmenu open Tools->Options Select the general tab under Windows Forms Designer Set AutoToolBoxPopulate to false. Although the setting is under Windows Forms Designer, it is just as effective for ASP.Net developers

how do you detect which video format can be played in a wpf mediaelement?

  
how do you detect which video format can be played in a wpf mediaelement?

max function speed

  
Hi, just a theoretical question: I have tested the max function on a table with two fields and exactly 100.000 rows. The tested field was the primary key. The max function was very fast (less, than 1 ms). My table, thereat I have made the test, has 37 fields. Does the number of fields affect the speed of the max function? The field in the max function is the same (same type of the tested table and primary key).

max function speed

  
Hi, just a theoretical question: I have tested the max function on a table with two fields and exactly 100.000 rows. The tested field was the primary key. The max function was very fast (less, than 1 ms). My table, thereat I have made the test, has 37 fields. Does the number of fields affect the speed of the max function? The field in the max function is the same (same type of the tested table and primary key).

SQL server memory / speed configuration

  
Let me preface this by saying I'm aware of SQL server memory architecture, i.e it takes as much as it can get it's hand's on ...I've read through all the post's on here and they have been very helpful ... However if someone could take a look at these these configuration values ... I'm trying to get a new server dialed in, I'm still having some user end speed issues, and application hangup's that seem sql related ... I'm by no means a dba so if someone who's knowledgeable could point me in the right direction I would appreciate it ... I feel like something is not configured properly ... The box has Microsoft SQL Server 2008 (RTM) 64-bit on Windows NT 6.0 <X64> Service Pack 2 Dell Power Edge R10 16 Logical CPU, 8 Hyperthread 12gig of memory (Right now SQL has 10/12 gig allocated in the task manager ( I know this is not accurate ) I'm adding another 12 gig tomorrow ... So the machine will be running 24 gig) There's two 9 gig databases running on the machine with several 4-6 million row tables .... Server is SQL Dedicated Configuration Values   Page Life Expectancy 18,038 under moderate load, tho I've seen it as low as 1,200 under heavy load .... Buffer Pool Usage CACHESTORE_SQLCP 2778616 OBJECTSTORE_LOCK_MANAGER 38816 MEMORYCLERK_SOSNODE 20936 CACHESTORE_OBJCP 18992 CACHESTORE_PHDR 16472 USERSTORE_SCHEMAMGR 12184 USERSTORE_DBMETADATA 8264 USE

How to play a .mp4 video file with WPF (mediaelement) ?

  
I would like to play a .mp4 with WPF.Does anybody know how can I accomplish it?It can play wmv but when I try to play a .mp4 it doesn't show anything. It's strange because the Blend designer shows the first frame of the .mp4 video in the mediaelement.I can play the video with Windows Media Player...Waiting for an aswer...

Speed Up Picture Library Slideshow transition?

  
I have a customer that's using the Picture Library Slideshow web part, but they want to speed up the transition time. I have to agree with them that the default fade in/fade out times are almost painful. Shouldn't both the transition type and time properties be exposed so an end user can adjust them? The only workaround I've seen for this is to use the Sliverlight Slideshow + container that's on Codeplex. Garth H MCITP BI 2008 MCTS: SQL 2005 & SharePoint 2010 http://bitinkering.spaces.live.com/

Try your optimizing skills on Phil Factor Speed Phreak challenge

  
Can you provide a better solution to this problem? So far nobody has been able to come up with a non-cursor based T-SQL solution. http://ask.sqlservercentral.com/questions/17499/phil-factor-speed-phreak-challenge-6-the-stock-exchange-order-book-state-problem Johan Åhlén http://blogical.se/blogs/jahlen

Try your SQL CLR optimization skills on Phil Factor Speed Phreak challenge

  
Who can provide a better solution to this problem? http://ask.sqlservercentral.com/questions/17499/phil-factor-speed-phreak-challenge-6-the-stock-exchange-order-book-state-problem Johan Åhlén http://blogical.se/blogs/jahlen

No sound when playing MPEG video in MediaElement

  
Hi, I am writing a multimedia centre using the WPF MediaElement control, the project is very mature and going really well. However I get no audio when my player plays a .MPG file. I have tried installing lots of different codec packages on my test machine but to no avail. The same files have audio when loaded in WMP but not in my WPF application. I am developing on an XP machine and on that I get sound, but on my target machine, Windows 7, no sound! Other formats such as AVI etc do not have this problem. Any ideas? Thanks in advance

speed Performane i create a web site but it very slow run i use tree view and grid view

  
speed Performane i create a web site but it very slow run i use tree view and grid view but i do it run very fast

How to measure speed of application?

  
Hi all-Is there a way to measure the time elapsed for a web page to execute?  And if so, is it safe to use that figure to estimate the speed of the web page as the number of users grow and the database grows.  Ie: if the page currently takes 1 second to process through x amount of rows in the database, to estimate it would take 2 seconds with 2x rows?
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend