mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-14 01:26:42 +02:00
Replace some pointers with references
This commit is contained in:
parent
dde63f9dd8
commit
dec7306a84
17 changed files with 77 additions and 67 deletions
|
@ -16,8 +16,8 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef ENCODER_H
|
||||
#define ENCODER_H
|
||||
#ifndef ENCODER_HPP
|
||||
#define ENCODER_HPP
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -69,7 +69,7 @@ public:
|
|||
}
|
||||
|
||||
/// Here the work is done. Encoded data is passed to the EncoderListener.
|
||||
virtual void encode(const msg::PcmChunk* chunk) = 0;
|
||||
virtual void encode(const msg::PcmChunk& chunk) = 0;
|
||||
|
||||
virtual std::string name() const = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue