diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-10-22 11:08:50 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-10-22 11:08:50 +0000 |
| commit | 49284bb0d33a2598f96645182984bc3fa671b932 (patch) | |
| tree | 751929ea1e9cc39206d5af086f0609c0c0fc6176 /src/plugins/Input/sid/decoder_sid.cpp | |
| parent | 42c8e4cad08dcabe8e3d89beb2960b2fab2b879d (diff) | |
| download | qmmp-49284bb0d33a2598f96645182984bc3fa671b932.tar.gz qmmp-49284bb0d33a2598f96645182984bc3fa671b932.tar.bz2 qmmp-49284bb0d33a2598f96645182984bc3fa671b932.zip | |
added extra functions to AudioParameters class
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7612 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/sid/decoder_sid.cpp')
| -rw-r--r-- | src/plugins/Input/sid/decoder_sid.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/Input/sid/decoder_sid.cpp b/src/plugins/Input/sid/decoder_sid.cpp index 2205ac2c8..351db3754 100644 --- a/src/plugins/Input/sid/decoder_sid.cpp +++ b/src/plugins/Input/sid/decoder_sid.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2013-2016 by Ilya Kotov * + * Copyright (C) 2013-2017 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -142,8 +142,7 @@ bool DecoderSID::initialize() configure(44100, 2); m_length_in_bytes = audioParameters().sampleRate() * - audioParameters().channels() * - audioParameters().sampleSize() * m_length; + audioParameters().frameSize() * m_length; qDebug("DecoderSID: initialize succes"); return true; } |
