Skip to content

Commit

Permalink
extern "C" for all functions in audiophash.h
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Jul 22, 2014
1 parent 85218a6 commit e93af6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pHash-0.9.6/src/audiophash.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

extern "C" {
#include "ph_fft.h"
}

/* /brief count number of samples in file
*
Expand Down Expand Up @@ -105,4 +104,6 @@ double ph_compare_blocks(const uint32_t *ptr_blockA,const uint32_t *ptr_blockB,
*/
double* ph_audio_distance_ber(uint32_t *hash_a , const int Na, uint32_t *hash_b, const int Nb, const float threshold, const int block_size, int &Nc);

}

#endif

0 comments on commit e93af6d

Please sign in to comment.