Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2011-10-02 19:12:06 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2011-10-02 19:12:06 +0400
commitf209828d1743e4824a98eab1d62e4796a8f20176 (patch)
treefab1dc0ecb170b835641d9380dcf8ff86008a235 /developer_info
parente4de443ae3f92c22720e44a2f8cacae926f2f956 (diff)
Update LAVAudioSettings interface in developer_info
Diffstat (limited to 'developer_info')
-rw-r--r--developer_info/LAVAudioSettings.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/developer_info/LAVAudioSettings.h b/developer_info/LAVAudioSettings.h
index 83b60689..66da13e4 100644
--- a/developer_info/LAVAudioSettings.h
+++ b/developer_info/LAVAudioSettings.h
@@ -2,20 +2,19 @@
* Copyright (C) 2011 Hendrik Leppkes
* http://www.1f0.de
*
- * This Program is free software; you can redistribute it and/or modify
+ * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
- * This Program is distributed in the hope that it will be useful,
+ * This program 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING. If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- * http://www.gnu.org/copyleft/gpl.html
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#pragma once
@@ -126,6 +125,15 @@ interface ILAVAudioSettings : public IUnknown
// Allow Raw PCM and SPDIF encoded input
STDMETHOD_(BOOL,GetAllowRawSPDIFInput)() = 0;
STDMETHOD(SetAllowRawSPDIFInput)(BOOL bAllow) = 0;
+
+ // Configure which sample formats are enabled
+ // Note: SampleFormat_Bitstream cannot be controlled by this
+ STDMETHOD_(BOOL,GetSampleFormat)(LAVAudioSampleFormat format) = 0;
+ STDMETHOD(SetSampleFormat)(LAVAudioSampleFormat format, BOOL bEnabled) = 0;
+
+ // Configure a delay for the audio
+ STDMETHOD(GetAudioDelay)(BOOL *pbEnabled, int *pDelay) = 0;
+ STDMETHOD(SetAudioDelay)(BOOL bEnabled, int delay) = 0;
};
// LAV Audio Status Interface