changeset 36:c6a3a4d09a9a master

Small fix & change output to OSS
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Fri, 03 Nov 2006 23:59:10 -0500
parents a7d370f326df
children 87aa31e41f4a
files vixm/control.py vixm/player.py
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vixm/control.py	Fri Nov 03 23:49:29 2006 -0500
+++ b/vixm/control.py	Fri Nov 03 23:59:10 2006 -0500
@@ -164,6 +164,7 @@
 		return
 
 	current_time = 0
+	pos = 0
 	print "%d. %s (%s/%s)" % (pos+1, str(current),
 			util.strtime(current_time),
 			util.strtime(current["time"]))
--- a/vixm/player.py	Fri Nov 03 23:49:29 2006 -0500
+++ b/vixm/player.py	Fri Nov 03 23:59:10 2006 -0500
@@ -12,9 +12,7 @@
 
 		self.current  = None
 
-		self.dev      = ao.AudioDevice("raw", \
-					filename="/tmp/foo", \
-					overwrite = 1)
+		self.dev      = ao.AudioDevice("oss")
 
 	def play(self, s):
 		self.playing = True