Fixed playing state
Fixed DirectSound record
This commit is contained in:
1 parent
76360eacdf
commit
cd6fbfb983
2 files changed
+17
-1
No files matched your search
@@ -98,7 +98,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return CSound.IsPlaying(_CurrentMusicStream);
|
return _Playing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -193,6 +193,22 @@ namespace Vocaluxe.Lib.Sound
|
|||||||
return _Devices.ToArray();
|
return _Devices.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int NumHalfTones(int Player)
|
||||||
|
{
|
||||||
|
if (!_initialized)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
return _Buffer[Player].NumHalfTones;
|
||||||
|
}
|
||||||
|
|
||||||
|
public float[] ToneWeigth(int Player)
|
||||||
|
{
|
||||||
|
if (!_initialized)
|
||||||
|
return null;
|
||||||
|
|
||||||
|
return _Buffer[Player].ToneWeigth;
|
||||||
|
}
|
||||||
|
|
||||||
private void OnDataReady(object sender, SampleDataEventArgs e)
|
private void OnDataReady(object sender, SampleDataEventArgs e)
|
||||||
{
|
{
|
||||||
if (_initialized)
|
if (_initialized)
|
||||||
|
|||||||
Reference in new issue
Block a user