Changeset 5413:c4775e53e3a0 in roaraudio
- Timestamp:
- 02/14/12 21:11:31 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_misc.c
r5388 r5413 65 65 66 66 static int roar_vio_misc_ctl (struct roar_vio_calls * vio, roar_vio_ctl_t cmd, void * data) { 67 struct roar_vio_misc * self = vio->inst;67 struct roar_vio_misc * self; 68 68 69 69 if ( vio == NULL || cmd == -1 ) 70 70 return -1; 71 72 self = vio->inst; 71 73 72 74 switch (cmd) { -
libroar/vio_proto.c
r5396 r5413 254 254 255 255 int roar_vio_proto_ctl (struct roar_vio_calls * vio, roar_vio_ctl_t cmd, void * data) { 256 struct roar_vio_proto * self = vio->inst;256 struct roar_vio_proto * self; 257 257 258 258 if (vio == NULL || cmd == -1) 259 259 return -1; 260 261 self = vio->inst; 260 262 261 263 ROAR_DBG("roar_vio_proto_ctl(vio=%p, cmd=0x%.8x, data=%p) = ?", vio, cmd, data); -
roarclients/.release-helper
r5238 r5413 3 3 @RM roarcat2sock.c 4 4 @RM roarcatad.c 5 @RM roarfctest.c 6 @RM pinentrytest.c 5 7 #!END -
roarclients/Makefile
r5336 r5413 9 9 TARGETS_PLUGINS=roarpluginrunner 10 10 11 #TARGETS_TESTS= pinentrytest zcattest pgptest pipetest polytest roarfctest11 #TARGETS_TESTS=zcattest pgptest pipetest polytest 12 12 #TARGETS_OLD=roarcatpassfh roarsocktypes 13 13 -
roard/driver_pwmled.c
r5381 r5413 98 98 // TODO: this function should be optimized. 99 99 ssize_t driver_pwmled_write (struct roar_vio_calls * vio, void *buf, size_t count) { 100 struct driver_pwmled * self = vio->inst;100 struct driver_pwmled * self; 101 101 int value; 102 102 … … 106 106 if ( count != 512 ) 107 107 return -1; 108 109 self = vio->inst; 108 110 109 111 value = ((unsigned char*)buf)[self->channel] / 15; … … 123 125 124 126 int driver_pwmled_ctl(struct roar_vio_calls * vio, roar_vio_ctl_t cmd, void * data) { 125 struct driver_pwmled * self = vio->inst;127 struct driver_pwmled * self; 126 128 127 129 if ( vio == NULL ) 128 130 return -1; 131 132 self = vio->inst; 129 133 130 134 switch (cmd) {
Note: See TracChangeset
for help on using the changeset viewer.