Changeset 451:ef127bf9f801 in roaraudio
- Timestamp:
- 08/12/08 02:19:27 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/simple.c
r235 r451 68 68 int fh = -1, listen; 69 69 static int count = 0; 70 struct group * grp = NULL; 70 71 71 72 sprintf(file, "/tmp/.libroar-simple-stream.%i-%i", getpid(), count++); … … 74 75 return -1; 75 76 } 77 78 chmod(file, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP); 79 80 grp = getgrnam(ROAR_DEFAULT_SOCKGRP); 81 82 if ( grp ) 83 chown(file, -1, grp->gr_gid); 76 84 77 85 if ( roar_stream_new(s, rate, channels, bits, codec) == -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.