mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
10 lines
400 B
C
10 lines
400 B
C
--- src/playback.c.orig 2010-06-05 23:11:54.000000000 +0200
|
|
+++ src/playback.c 2010-06-05 23:12:22.000000000 +0200
|
|
@@ -275,6 +275,7 @@ void playback_open_playdevice(int srate,
|
|
and restore it afterwards */
|
|
signal(SIGINT, SIG_DFL);
|
|
|
|
+ memset(&format, 0, sizeof(format));
|
|
format.bits = bitrate;
|
|
format.rate = srate;
|
|
format.channels = nch;
|