projects
/
my-code
/
ivac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
525f782
)
incredible work done outside in the garden! :)
author
hackbard
<hackbard>
Sat, 15 May 2004 17:51:58 +0000
(17:51 +0000)
committer
hackbard
<hackbard>
Sat, 15 May 2004 17:51:58 +0000
(17:51 +0000)
src/audio.c
patch
|
blob
|
history
diff --git
a/src/audio.c
b/src/audio.c
index
8698ee9
..
bd47644
100644
(file)
--- a/
src/audio.c
+++ b/
src/audio.c
@@
-15,3
+15,9
@@
int audio_init(t_audio *audio) {
return A_ERROR;
}
+ if(ioctl(audio->fd,SNDCTL_DSP_GETCAPS,&(audio->cap))==-1) {
+ perror("[audio] ioctl call");
+ return A_ERROR;
+ }
+
+