cue

Watermark System.Windows.Forms.TextBox using C#

What is he best way to implement Watermark functionality for a System.Windows.Forms.TextBox in .Net 2.0 with C#? Edit: Using the ready-made component from CodeProject was very easy. It's also with a The Code Project Open License (CPOL). ...

C# XNA: stopping and playing Cue (sound) objects

I am trying to stop a Cue, then play it again. This code is in the Update() loop: Cue torpedoSound = soundBank.GetCue("torpedo"); torpedoSound.Stop(AudioStopOptions.AsAuthored); torpedoSound.Play(); // Invalid Operation Exception However, I always get an InvalidOperationException at the above location. The documentation says that will...

Show cue banner for wpf ComboBox with grouping

I have a ComboBox in my WPF form: <ComboBox Margin="75,0,15,102" Name="videoFormatCombo" Height="23" VerticalAlignment="Bottom" DataContext="{StaticResource GroupedVideoFormats}" ItemsSource="{Binding}" ItemTemplate="{StaticResource VideoFormatTemplate}"> <ComboBox.GroupStyle> <Gro...

How can I insert cues into a video I want to play in my Android App?

I noticed that Flash allows you to insert cue's into a video file (flv). Is something like this possible on Android? I have a video that runs locally in my Android app and I would like to insert cues into the video which will give me callbacks when a certain portion of the video has been reached. If this is not possible, are there any...

Flac samples calculation

Hi, I have a cuesheet from EAC and a FLAC file with the full album in. Im trying to make a little python script to play the file, there for i need to be able to set the position where to start in the flac file. How do i get from the CueSheet format MM:SS:FF to samples? ...