# SetMusicFileVolume

## Description

Sets the volume on a per file basis, this volume level is combined with the music system volume to create the final volume. By default files are played at volume 100. The volume level should be between 0 and 100.

## Definition

SetMusicFileVolume( ID, vol )

void agk::SetMusicFileVolume( UINT ID, int vol )

## Parameters

- iID - The music number to set.
- vol - The volume to use for this file.