@@ -199,22 +199,22 @@ PropertiesMap AudioProperties::getPropertiesAsMap() const
199
199
{
200
200
PropertiesMap dataMap;
201
201
202
- detail::add ( dataMap, " streamId" , getStreamId () );
203
- detail::add ( dataMap, " codecId" , getCodecId () );
204
- detail::add ( dataMap, " codecName" , getCodecName () );
205
- detail::add ( dataMap, " codecLongName" , getCodecLongName () );
206
- detail::add ( dataMap, " sampleFormatName" , getSampleFormatName () );
207
- detail::add ( dataMap, " sampleFormatLongName" , getSampleFormatLongName () );
208
- detail::add ( dataMap, " sampleRate" , getSampleRate () );
209
- detail::add ( dataMap, " bitRate" , getBitRate () );
210
- detail::add ( dataMap, " nbSamples" , getNbSamples () );
211
- detail::add ( dataMap, " channels" , getChannels () );
212
- detail::add ( dataMap, " channelLayout" , getChannelLayout () );
213
- detail::add ( dataMap, " channelName" , getChannelName () );
214
- detail::add ( dataMap, " channelDescription" , getChannelDescription () );
215
- detail::add ( dataMap, " ticksPerFrame" , getTicksPerFrame () );
216
- detail::add ( dataMap, " timeBase" , getTimeBase () );
217
- detail::add ( dataMap, " duration" , getDuration () );
202
+ addProperty ( dataMap, " streamId" , &AudioProperties:: getStreamId );
203
+ addProperty ( dataMap, " codecId" , &AudioProperties:: getCodecId );
204
+ addProperty ( dataMap, " codecName" , &AudioProperties:: getCodecName );
205
+ addProperty ( dataMap, " codecLongName" , &AudioProperties:: getCodecLongName );
206
+ addProperty ( dataMap, " sampleFormatName" , &AudioProperties:: getSampleFormatName );
207
+ addProperty ( dataMap, " sampleFormatLongName" , &AudioProperties:: getSampleFormatLongName );
208
+ addProperty ( dataMap, " sampleRate" , &AudioProperties:: getSampleRate );
209
+ addProperty ( dataMap, " bitRate" , &AudioProperties:: getBitRate );
210
+ addProperty ( dataMap, " nbSamples" , &AudioProperties:: getNbSamples );
211
+ addProperty ( dataMap, " channels" , &AudioProperties:: getChannels );
212
+ addProperty ( dataMap, " channelLayout" , &AudioProperties:: getChannelLayout );
213
+ addProperty ( dataMap, " channelName" , &AudioProperties:: getChannelName );
214
+ addProperty ( dataMap, " channelDescription" , &AudioProperties:: getChannelDescription );
215
+ addProperty ( dataMap, " ticksPerFrame" , &AudioProperties:: getTicksPerFrame );
216
+ addProperty ( dataMap, " timeBase" , &AudioProperties:: getTimeBase );
217
+ addProperty ( dataMap, " duration" , &AudioProperties:: getDuration );
218
218
219
219
for ( size_t metadataIndex = 0 ; metadataIndex < _metadatas.size (); ++metadataIndex )
220
220
{
0 commit comments