diff audioio/AudioCallbackPlaySource.cpp @ 57:eb596ef12041

* Factor out uses of "Sonic Visualiser" in "common" code to applicationName() * Add ability to show work title + artist in top-left of pane (thinking of Vect but may be useful in SV in future) * A few other generalisations useful for Vect
author Chris Cannam
date Fri, 09 Nov 2007 17:46:58 +0000
parents 3c5756fb6a68
children 7b71da2d0631 89a689720ee9
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp	Thu Nov 08 16:14:32 2007 +0000
+++ b/audioio/AudioCallbackPlaySource.cpp	Fri Nov 09 17:46:58 2007 +0000
@@ -35,9 +35,11 @@
 
 const size_t AudioCallbackPlaySource::m_ringBufferSize = 131071;
 
-AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManager *manager) :
+AudioCallbackPlaySource::AudioCallbackPlaySource(ViewManager *manager,
+                                                 QString clientName) :
     m_viewManager(manager),
     m_audioGenerator(new AudioGenerator()),
+    m_clientName(clientName),
     m_readBuffers(0),
     m_writeBuffers(0),
     m_readBufferFill(0),