FreeBSD Bugzilla – Attachment 146906 Details for
Bug 193373
[PATCH] audio/xanalyser: Does not use appropriate OSS IOCTLs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for problem.
patch-src-pcm-oss.cc (text/plain), 452 bytes, created by
Hans Petter Selasky
on 2014-09-06 08:44:33 UTC
(
hide
)
Description:
Fix for problem.
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2014-09-06 08:44:33 UTC
Size:
452 bytes
patch
obsolete
>--- src/pcm-oss.cc 2014-09-06 09:44:07.000000000 +0200 >+++ src/pcm-oss.cc 2014-09-06 09:45:02.000000000 +0200 >@@ -100,7 +100,8 @@ > } > > int tmp_buffer_size = want_buffer_size; >- if (ioctl (fd, SNDCTL_DSP_GETBLKSIZE, &tmp_buffer_size) == -1) { >+ if (ioctl (fd, SNDCTL_DSP_SETBLKSIZE, &tmp_buffer_size) == -1 || >+ ioctl (fd, SNDCTL_DSP_GETBLKSIZE, &tmp_buffer_size) == -1) { > cerr << "error " << strerror (errno) << '\n'; > return; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval?
(
db
)
Actions:
View
|
Diff
Attachments on
bug 193373
: 146906