X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aft.c;h=ce1f42846e1d81d2fc88d46ec8f177bebd69174c;hp=df6c2592cd40c7bebcc0969b7292981ddf09a5d0;hb=68ec1b4e13c62fd94b713bc4983ff86ed9f7f4ef;hpb=f491dc59b5eee838165b60e7815a06139fed7f74 diff --git a/aft.c b/aft.c index df6c2592..ce1f4284 100644 --- a/aft.c +++ b/aft.c @@ -622,6 +622,7 @@ int load_afd(int shmid, struct audio_file_data *afd) * Mmap the given audio file and update statistics. * * \param aft_row Determines the audio file to be opened and updated. + * \param score The score of the audio file. * \param afd Result pointer. * * On success, the numplayed field of the audio file selector info is increased @@ -630,8 +631,8 @@ int load_afd(int shmid, struct audio_file_data *afd) * * \return Positive shmid on success, negative on errors. */ -int open_and_update_audio_file(struct osl_row *aft_row, - struct audio_file_data *afd, long score) +int open_and_update_audio_file(struct osl_row *aft_row, long score, + struct audio_file_data *afd) { HASH_TYPE *aft_hash, file_hash[HASH_SIZE]; struct osl_object afsi_obj;