Method

MetaSoundPlayerplay_from_file

Declaration [src]

void
meta_sound_player_play_from_file (
  MetaSoundPlayer* player,
  GFile* file,
  const char* description,
  GCancellable* cancellable
)

Description [src]

Plays a sound from a file.

Parameters

file GFile*
 

File to play.

 The data is owned by the caller of the function.
description const char*
 

Description of the played sound.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
cancellable GCancellable*
 

Cancellable for the request.

 The argument can be NULL.
 The data is owned by the caller of the function.