1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Avoid repeated FindBlock call in Sequence::Get when we can

This commit is contained in:
Paul Licameli
2016-02-03 23:36:36 -05:00
parent dc599116f7
commit dd3df60a83
2 changed files with 17 additions and 8 deletions

View File

@@ -252,6 +252,9 @@ class Sequence: public XMLTagHandler {
void Blockify(BlockArray &list, sampleCount start, samplePtr buffer, sampleCount len);
bool Get(int b, samplePtr buffer, sampleFormat format,
sampleCount start, sampleCount len) const;
public:
//