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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user