From 4076f7714aff134ae06859f16a7c4e9b88193afc Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 15 Nov 2007 02:31:54 +0000 Subject: Fix mixed usage of tabs and spaces for indentation in ardour/importable_source.h git-svn-id: svn://localhost/ardour2/trunk@2666 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/importable_source.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libs') diff --git a/libs/ardour/ardour/importable_source.h b/libs/ardour/ardour/importable_source.h index fec670b4f5..4f08498fce 100644 --- a/libs/ardour/ardour/importable_source.h +++ b/libs/ardour/ardour/importable_source.h @@ -26,25 +26,25 @@ namespace ARDOUR { class ImportableSource { - public: - ImportableSource (SNDFILE* sf, SF_INFO* info) : in (sf), sf_info (info) {} - virtual ~ImportableSource() {} +public: + ImportableSource (SNDFILE* sf, SF_INFO* info) : in (sf), sf_info (info) {} + virtual ~ImportableSource() {} - virtual nframes_t read (Sample* buffer, nframes_t nframes) { - nframes_t per_channel = nframes / sf_info->channels; - per_channel = sf_readf_float (in, buffer, per_channel); - return per_channel * sf_info->channels; - } + virtual nframes_t read (Sample* buffer, nframes_t nframes) { + nframes_t per_channel = nframes / sf_info->channels; + per_channel = sf_readf_float (in, buffer, per_channel); + return per_channel * sf_info->channels; + } - virtual float ratio() const { return 1.0f; } + virtual float ratio() const { return 1.0f; } - uint channels() const { return sf_info->channels; } + uint channels() const { return sf_info->channels; } - nframes_t length() const { return sf_info->frames; } + nframes_t length() const { return sf_info->frames; } protected: - SNDFILE* in; - SF_INFO* sf_info; + SNDFILE* in; + SF_INFO* sf_info; }; } -- cgit v1.2.3