diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-19 18:16:58 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-19 18:16:58 +0100 |
commit | 195deff846013de59a10fd23f7a43a3d521f9325 (patch) | |
tree | 2654730b2f048553cab6e78f59590cc4305fa19c | |
parent | 22b99e7d0379d1b347ea04c27e46b83ed40d057b (diff) |
Fix some comments.
-rw-r--r-- | src/audiocache.cc | 4 | ||||
-rw-r--r-- | src/audiocache.h | 4 |
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. |