mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
c5c6185e18
passed via -f. PR: ports/98638 Submitted by: maintainer Approved by: lawrance (mentor, implict)
25 lines
593 B
C
25 lines
593 B
C
*** waveplay.c~ Mon Sep 24 16:38:40 2001
|
|
--- waveplay.c Thu Jun 8 00:22:50 2006
|
|
***************
|
|
*** 286,293 ****
|
|
int status;
|
|
int arg;
|
|
|
|
! if ((fd = open(devname, O_WRONLY)) == -1)
|
|
return fd;
|
|
|
|
/* チャンネル(STEREO or MONAURAL)を設定 */
|
|
arg = (int)(pwf->nChannels);
|
|
--- 286,296 ----
|
|
int status;
|
|
int arg;
|
|
|
|
! if ((fd = open(devname, O_WRONLY)) == -1) {
|
|
! fprintf(stderr, "%s - ", devname);
|
|
! perror("openDSP");
|
|
return fd;
|
|
+ }
|
|
|
|
/* チャンネル(STEREO or MONAURAL)を設定 */
|
|
arg = (int)(pwf->nChannels);
|