summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-19 18:16:58 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:33:46 +0100
commit38ed7f339c2d29fa730d7129aa4e9b4fcfa32624 (patch)
tree355f91652047ec94a49b559722215b4782edc774
parent7788892bfb8aaceaa67fccad1ea4aff325a5ac32 (diff)
Fix some comments.
-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.