QMedia
![]() |
![]() ![]() |
QM_EndVolumeMeteringSession(sessionRef):error | |||
![]() |
sessionRef | Longint | Volume metering session reference |
![]() |
error | Longint | Error result |
Ends a volume metering session.
Parameter sessionRef specifies the metering session. It must be a valid volume metering session reference number, otherwise error qm_ParamErr is returned. If the command completes successfully, sessionRef is set to zero.
Note: when a movie for which a volume metering session has been started is freed, the volume metering session is automatically ended. A movie can be freed either directly using QM_FreeMovie, or indirectly by assigning a new movie to the plug-in area to which it is assigned.
Related commands
QM_StartVolumeMeteringSession | Starts a volume metering session for a movie. |