mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-10 06:36:24 +01:00
More use of constSamplePtr instead of samplePtr
This commit is contained in:
@@ -117,7 +117,7 @@ public:
|
||||
virtual ~SampleBlockFactory();
|
||||
|
||||
// Returns a non-null pointer or else throws an exception
|
||||
SampleBlockPtr Create(samplePtr src,
|
||||
SampleBlockPtr Create(constSamplePtr src,
|
||||
size_t numsamples,
|
||||
sampleFormat srcformat);
|
||||
|
||||
@@ -145,7 +145,7 @@ public:
|
||||
protected:
|
||||
// The override should throw more informative exceptions on error than the
|
||||
// default InconsistencyException thrown by Create
|
||||
virtual SampleBlockPtr DoCreate(samplePtr src,
|
||||
virtual SampleBlockPtr DoCreate(constSamplePtr src,
|
||||
size_t numsamples,
|
||||
sampleFormat srcformat) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user