From 38ed7f339c2d29fa730d7129aa4e9b4fcfa32624 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 19 Jan 2016 18:16:58 +0100 Subject: Fix some comments. --- src/audiocache.cc | 4 ++-- 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. -- cgit v1.2.3