Hi, > I've been experimenting with SoundPlayer as a possible cross-platform > backend for notifications in Gazebo. Unfortunately it seems quite > lacking on Linux. When playing a sound, no matter the source, it > skips very badly, making the sound agonizing to listen to.
On mono-2.4 and using this code, it sounds like the audio file is being
dragged through cold tar with a broken skate!
using System;
using System.Media;
namespace playsound
{
public class playsound
{
public static void Main()
{
SoundPlayer sp = new SoundPlayer();
sp.SoundLocation = @"noise.wav";
Console.WriteLine(sp.SoundLocation);
sp.Load();
sp.PlaySync();
Console.WriteLine("Finished");
Console.ReadKey();
}
}
}
TTFN
Paul
--
Sie können mich aufreizen und wirklich heiß machen!
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
