Added Live Input. Not complete yet.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8168 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit
2004-06-25 15:19:29 +00:00
parent 8cf2eca461
commit c79a596fb1
7 changed files with 240 additions and 7 deletions
+8
View File
@@ -36,6 +36,7 @@ ScopeView::ScopeView()
playing = false;
enabled = true;
haveFile = false;
loading = false;
sampleCount = (int32) Bounds().Width();
leftSamples = new int16[sampleCount];
@@ -121,6 +122,13 @@ void ScopeView::SetHaveFile(bool flag)
//------------------------------------------------------------------------------
void ScopeView::SetLoading(bool flag)
{
loading = flag;
}
//------------------------------------------------------------------------------
int32 ScopeView::_Thread(void* data)
{
return ((ScopeView*) data)->Thread();