Changeset 792:35987a57e1af in roaraudio for libroaryiff/file.c
- Timestamp:
- 09/17/08 03:30:21 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaryiff/file.c
r791 r792 25 25 #include <libroaryiff.h> 26 26 27 int YGetSoundObjectAttributes (YConnection *con, const char *path, YEventSoundObjectAttributes *buf) { 28 if ( buf == NULL ) 29 return -1; 30 31 buf->format = SndObjTypeDSP; // RoarAudio doesn't make a hard diffrence here 32 // TODO: maybe we should check for the codec 33 34 // as we do not know anything we fill with defaults: 35 buf->sample_size = ROAR_BITS_DEFAULT; // don't know, but seems to be in bits not bytes 36 buf->channels = ROAR_CHANNELS_DEFAULT; 37 buf->sample_rate = ROAR_RATE_DEFAULT; 38 buf->length = 0; 39 40 strncpy(buf->path, path, YPathMax); 41 42 return 0; 43 } 44 27 45 //ll
Note: See TracChangeset
for help on using the changeset viewer.