diff options
-rw-r--r-- | developer_info/LAVAudioSettings.h | 26 |
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 |