Hi,
I test the System.Media.SoundPlayer class, but it didn't seem to be fixed.
Here the sample program I wrote :

using System;
using System.Media;

namespace testsound
{
        class MainClass
        {
                public static void Main (string[] args)
                {
                        Console.WriteLine ("Hello World!");
                        SoundPlayer sp = new SoundPlayer("mysound.wav");
                        sp.Load();
                        if (sp.IsLoadCompleted)
                                sp.PlaySync();
                }
        }
}

mysound.wav caracteristic
Codec : Uncompressed 16-bit PCM audio
Chanel : Stereo
Sampling : 44100 Hz

Mono version used : mono -V
Mono JIT compiler version 2.8 (tarball Tue Oct  5 20:42:06 UTC 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          debugger softdebug 
        LLVM:          yes(2.8svn-mono)
        GC:            Included Boehm (with typed GC and Parallel Mark)

OS : uname -a
Linux colossus 2.6.34.7-0.3-desktop #1 SMP PREEMPT 2010-09-20 15:27:38 +0200
x86_64 x86_64 x86_64 GNU/Linux

I need to play sound with my software on both Linux and Windows (Windows
works). Does anyone  have a solution.
Thanks for your help
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/System-Media-SoundPlayer-performing-badly-on-Linux-tp1505976p2995610.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to