Commit Graph
4 Commits
Author SHA1 Message Date
Stephen McConnel 328defdcde Zero out pointers to freed memory in AudioDevice
This fixes https://bugzilla.xamarin.com/show_bug.cgi?id=24109.
2014-10-28 12:10:43 -05:00
Florent Valette 0694f62d2c [Fix] Advanced Linux Sound Architecture (ALSA) configuration in class AudioDevice.cs
Improve the configuration of the Alsa hardware parameters.
The buffer and chunk size are set to the best suitable size according to wave file
caracteristic, i.e., format, channel and sampling rate.

Add Alsa software parameter.
Alsa becomes in Ready State as soon as there is a data chunk in its ring buffer.
Alsa starts playing data as soon as its buffer is full.

Add a UnderRun recovery method while playing a sound. When a underRun occurs, Alsa
layer need to be re set to Ready State (by calling snd_pcm_prepare) and the data chunk
is re send to Alsa.

Signed-off-by: Florent Valette <[email protected]>
2012-10-25 17:27:08 +02:00
Miguel de Icaza f48ceb9860 [System] Removal of the NET_2_0 in the source code
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
2012-06-02 13:16:40 -04:00
Paolo Molaro 3916bd640e Wed Dec 20 18:26:36 CET 2006 Paolo Molaro <[email protected]>
* AudioData.cs, AudioDevice.cs: small (alsa) audio device and
	Wav file parsing implementation.
	* SoundPlayer.cs, SystemSound.cs: implemented most of the methods.


svn path=/trunk/mcs/; revision=69824
2006-12-20 17:29:06 +00:00