summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-05-26 22:51:51 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-05-26 22:51:51 +0000
commit62bc44776afaf5cde7d61a9d997836e2836cf4a9 (patch)
tree08c66b5126f3f8426bbcb2e350b0544eb933d92f /sys/arch/macppc
parent59b0e29b8901a4bcbe86d73f60de870664ae9125 (diff)
Dont hardcode the speed, allows mplayer to work.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/snapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/snapper.c b/sys/arch/macppc/dev/snapper.c
index 8304f7b4a13..f2611b19acd 100644
--- a/sys/arch/macppc/dev/snapper.c
+++ b/sys/arch/macppc/dev/snapper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snapper.c,v 1.15 2005/05/26 02:22:06 jason Exp $ */
+/* $OpenBSD: snapper.c,v 1.16 2005/05/26 22:51:50 drahn Exp $ */
/* $NetBSD: snapper.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */
/*-
@@ -719,7 +719,7 @@ snapper_set_params(h, setmode, usemode, play, rec)
}
/* Set the speed */
- p->sample_rate = 44100; /*XX wire rate down */
+ p->sample_rate = play->sample_rate;
rate = p->sample_rate;
if (snapper_set_rate(sc, rate))