example/audio.rb in rbcdio-0.02 vs example/audio.rb in rbcdio-0.03
- old
+ new
@@ -1,27 +1,25 @@
#!/usr/bin/env ruby
-# $Id: audio.rb,v 1.10 2007/10/13 23:25:41 rocky Exp $
+# $Id: audio.rb,v 1.11 2008/05/02 13:05:39 karl Exp $
#
# A program to show use of audio controls. See cdda-player from the
# libcdio distribution for a more complete program.
+# Copyright (C) 2006, 2008 Rocky Bernstein <rocky@gnu.org>
#
-# Copyright (C) 2006 Rocky Bernstein <rocky@gnu.org>
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+v
mypath = File.dirname(__FILE__)
if(File::exists?(mypath + "/../ext/cdio/rubycdio.so"))
$: << File.dirname(__FILE__) + '/../ext/cdio'
$: << File.dirname(__FILE__) + '/../lib'
else