Mercurial > hg > svcore
comparison data/fileio/MP3FileReader.h @ 1038:cc27f35aa75c cxx11
Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author | Chris Cannam |
---|---|
date | Tue, 03 Mar 2015 15:18:24 +0000 |
parents | d03b3d956358 |
children | a1cd5abcb38b |
comparison
equal
deleted
inserted
replaced
1037:bf0e5944289b | 1038:cc27f35aa75c |
---|---|
71 QString m_path; | 71 QString m_path; |
72 QString m_error; | 72 QString m_error; |
73 QString m_title; | 73 QString m_title; |
74 QString m_maker; | 74 QString m_maker; |
75 TagMap m_tags; | 75 TagMap m_tags; |
76 int m_fileSize; | 76 sv_frame_t m_fileSize; |
77 double m_bitrateNum; | 77 double m_bitrateNum; |
78 int m_bitrateDenom; | 78 int m_bitrateDenom; |
79 int m_completion; | 79 int m_completion; |
80 bool m_done; | 80 bool m_done; |
81 | 81 |
91 unsigned char const *start; | 91 unsigned char const *start; |
92 unsigned long length; | 92 unsigned long length; |
93 MP3FileReader *reader; | 93 MP3FileReader *reader; |
94 }; | 94 }; |
95 | 95 |
96 bool decode(void *mm, int sz); | 96 bool decode(void *mm, sv_frame_t sz); |
97 enum mad_flow accept(struct mad_header const *, struct mad_pcm *); | 97 enum mad_flow accept(struct mad_header const *, struct mad_pcm *); |
98 | 98 |
99 static enum mad_flow input(void *, struct mad_stream *); | 99 static enum mad_flow input(void *, struct mad_stream *); |
100 static enum mad_flow output(void *, struct mad_header const *, struct mad_pcm *); | 100 static enum mad_flow output(void *, struct mad_header const *, struct mad_pcm *); |
101 static enum mad_flow error(void *, struct mad_stream *, struct mad_frame *); | 101 static enum mad_flow error(void *, struct mad_stream *, struct mad_frame *); |