summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/audiocache.cc4
-rw-r--r--src/audiocache.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/audiocache.cc b/src/audiocache.cc
index 1a2225e..6d86494 100644
--- a/src/audiocache.cc
+++ b/src/audiocache.cc
@@ -1,6 +1,6 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/***************************************************************************
- * cachemanager.cc
+ * audiocache.cc
*
* Fri Apr 10 10:39:24 CEST 2015
* Copyright 2015 Jonas Suhr Christensen
@@ -75,7 +75,7 @@ sample_t* AudioCache::open(AudioFile* file, size_t initial_samples_needed,
// Register a new id for this cache session.
id = idManager.registerID({});
- // If we are out of availabel ids we get CACHE_DUMMYID
+ // If we are out of available ids we get CACHE_DUMMYID
if(id == CACHE_DUMMYID)
{
// Use nodata buffer instead.
diff --git a/src/audiocache.h b/src/audiocache.h
index 824db3a..06493e6 100644
--- a/src/audiocache.h
+++ b/src/audiocache.h
@@ -1,6 +1,6 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/***************************************************************************
- * cachemanager.h
+ * audiocache.h
*
* Fri Apr 10 10:39:24 CEST 2015
* Copyright 2015 Jonas Suhr Christensen
@@ -102,7 +102,7 @@ public:
//! \return A pointer to the buffer.
sample_t* next(cacheid_t id, size_t &size);
- //! Returns if the next chunk of the supplied id has been read form disk.
+ //! Returns if the next chunk of the supplied id has been read from disk.
bool isReady(cacheid_t id);
//! Unregister cache entry.