diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-17 13:19:29 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-17 13:19:29 +0400 |
commit | 05ae14b6774962222f6624153e85e620e627eb21 (patch) | |
tree | b03735f71f3726f4974e23c1cac4032196e9a61d /src/filters/source/ShoutcastSource/ShoutcastSource.h | |
parent | aee8c39b52335feb13ef72201686b70ae8a0d4cd (diff) |
keep one line statements, various indentation cosmetics
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5155 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/source/ShoutcastSource/ShoutcastSource.h')
-rw-r--r-- | src/filters/source/ShoutcastSource/ShoutcastSource.h | 72 |
1 files changed, 18 insertions, 54 deletions
diff --git a/src/filters/source/ShoutcastSource/ShoutcastSource.h b/src/filters/source/ShoutcastSource/ShoutcastSource.h index 9b7294957..b520188cd 100644 --- a/src/filters/source/ShoutcastSource/ShoutcastSource.h +++ b/src/filters/source/ShoutcastSource/ShoutcastSource.h @@ -60,55 +60,27 @@ public: STDMETHODIMP AbortOperation();
// IAMMediaContent
- STDMETHODIMP GetTypeInfoCount(UINT* pctinfo) {
- return E_NOTIMPL;
- }
- STDMETHODIMP GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo** pptinfo) {
- return E_NOTIMPL;
- }
+ STDMETHODIMP GetTypeInfoCount(UINT* pctinfo) { return E_NOTIMPL; }
+ STDMETHODIMP GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo** pptinfo) { return E_NOTIMPL; }
STDMETHODIMP GetIDsOfNames(REFIID riid, OLECHAR** rgszNames, UINT cNames, LCID lcid, DISPID* rgdispid) {
return E_NOTIMPL;
}
STDMETHODIMP Invoke(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pdispparams, VARIANT* pvarResult, EXCEPINFO* pexcepinfo, UINT* puArgErr) {
return E_NOTIMPL;
}
- STDMETHODIMP get_AuthorName(BSTR* pbstrAuthorName) {
- return E_NOTIMPL;
- }
+ STDMETHODIMP get_AuthorName(BSTR* pbstrAuthorName) { return E_NOTIMPL; }
STDMETHODIMP get_Title(BSTR* pbstrTitle);
- STDMETHODIMP get_Rating(BSTR* pbstrRating) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_Description(BSTR* pbstrDescription) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_Copyright(BSTR* pbstrCopyright) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_BaseURL(BSTR* pbstrBaseURL) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_LogoURL(BSTR* pbstrLogoURL) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_LogoIconURL(BSTR* pbstrLogoURL) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_WatermarkURL(BSTR* pbstrWatermarkURL) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_MoreInfoURL(BSTR* pbstrMoreInfoURL) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_MoreInfoBannerImage(BSTR* pbstrMoreInfoBannerImage) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_MoreInfoBannerURL(BSTR* pbstrMoreInfoBannerURL) {
- return E_NOTIMPL;
- }
- STDMETHODIMP get_MoreInfoText(BSTR* pbstrMoreInfoText) {
- return E_NOTIMPL;
- }
+ STDMETHODIMP get_Rating(BSTR* pbstrRating) { return E_NOTIMPL; }
+ STDMETHODIMP get_Description(BSTR* pbstrDescription) { return E_NOTIMPL; }
+ STDMETHODIMP get_Copyright(BSTR* pbstrCopyright) { return E_NOTIMPL; }
+ STDMETHODIMP get_BaseURL(BSTR* pbstrBaseURL) { return E_NOTIMPL; }
+ STDMETHODIMP get_LogoURL(BSTR* pbstrLogoURL) { return E_NOTIMPL; }
+ STDMETHODIMP get_LogoIconURL(BSTR* pbstrLogoURL) { return E_NOTIMPL; }
+ STDMETHODIMP get_WatermarkURL(BSTR* pbstrWatermarkURL) { return E_NOTIMPL; }
+ STDMETHODIMP get_MoreInfoURL(BSTR* pbstrMoreInfoURL) { return E_NOTIMPL; }
+ STDMETHODIMP get_MoreInfoBannerImage(BSTR* pbstrMoreInfoBannerImage) { return E_NOTIMPL; }
+ STDMETHODIMP get_MoreInfoBannerURL(BSTR* pbstrMoreInfoBannerURL) { return E_NOTIMPL; }
+ STDMETHODIMP get_MoreInfoText(BSTR* pbstrMoreInfoText) { return E_NOTIMPL; }
// CBaseFilter
STDMETHODIMP QueryFilterInfo(FILTER_INFO* pInfo);
@@ -128,12 +100,8 @@ class CShoutcastStream : public CSourceStream pData = len ? DNew BYTE[len] : NULL;
rtStart = rtStop = 0;
}
- mp3frame(const mp3frame& f) {
- *this = f;
- }
- ~mp3frame() {
- delete pData;
- }
+ mp3frame(const mp3frame& f) { *this = f; }
+ ~mp3frame() { delete pData; }
mp3frame& operator = (const mp3frame& f) {
if (this != &f) {
len = f.len;
@@ -154,9 +122,7 @@ class CShoutcastStream : public CSourceStream DWORD m_nBytesRead;
public:
- CShoutcastSocket() {
- m_metaint = m_bitrate = m_freq = m_channels = 0;
- }
+ CShoutcastSocket() { m_metaint = m_bitrate = m_freq = m_channels = 0; }
int Receive(void* lpBuf, int nBufLen, int nFlags = 0);
DWORD m_metaint, m_bitrate, m_freq, m_channels;
@@ -188,9 +154,7 @@ public: HRESULT CheckMediaType(const CMediaType* pMediaType);
HRESULT GetMediaType(int iPosition, CMediaType* pmt);
- STDMETHODIMP Notify(IBaseFilter* pSender, Quality q) {
- return E_NOTIMPL;
- }
+ STDMETHODIMP Notify(IBaseFilter* pSender, Quality q) { return E_NOTIMPL; }
HRESULT OnThreadCreate();
HRESULT OnThreadDestroy();
|