File: GnomeSound

package info (click to toggle)
libgnome2-perl 1.042-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 596 kB
  • ctags: 12
  • sloc: perl: 1,145; ansic: 16; makefile: 15
file content (26 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/perl -w
use strict;
use Gnome2;

use constant TESTS => 1;
use Test::More tests => TESTS;

# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gnome2/t/GnomeSound,v 1.1 2004/07/18 17:50:22 kaffeetisch Exp $

###############################################################################

SKIP: {
  our $application;
  do "t/TestBoilerplate";

  #############################################################################

  Gnome2::Sound -> init();
  Gnome2::Sound -> init("localhost");

  warn Gnome2::Sound -> connection_get();
  warn Gnome2::Sound -> sample_load("bla", "bla");
  Gnome2::Sound -> play("bla");

  Gnome2::Sound -> shutdown();
}