X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=AirTV-Qt%2Faudiocallbacks.h;h=aa5389a7bb2a7513dfcc2924510dd3d8019ecbc4;hb=c68fb30cb9e4c63228569a6a6749ec3325091dc9;hp=835dd46766e39ef197af4793368e77c2b9b8848f;hpb=9434b30cc94fe0ebbd58fa8a149f3c9475dc156d;p=deb_shairplay.git diff --git a/AirTV-Qt/audiocallbacks.h b/AirTV-Qt/audiocallbacks.h index 835dd46..aa5389a 100644 --- a/AirTV-Qt/audiocallbacks.h +++ b/AirTV-Qt/audiocallbacks.h @@ -1,3 +1,17 @@ +/** + * Copyright (C) 2011-2012 Juho Vähä-Herttua + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ + #ifndef AUDIOCALLBACKS_H #define AUDIOCALLBACKS_H @@ -5,13 +19,13 @@ #include "audiooutput.h" -class AudioCallbacks : public RaopCallbacks +class AudioCallbacks : public RaopAudioHandler { Q_OBJECT public: explicit AudioCallbacks(QObject *parent = 0); - virtual void * audioInit(int bits, int channels, int samplerate); + virtual void *audioInit(int bits, int channels, int samplerate); virtual void audioSetVolume(void *session, float volume); virtual void audioProcess(void *session, const QByteArray &buffer); virtual void audioFlush(void *session);