Changeset 5289:ddb3677af4d0 in roaraudio for roard
- Timestamp:
- 11/22/11 14:47:44 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/driver_roar.c
r5162 r5289 26 26 #include "roard.h" 27 27 28 #define MIXER_ID -1 29 28 30 int driver_roar_open_vio(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream) { 29 31 int dir = ROAR_DIR_PLAY; … … 46 48 } 47 49 48 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard" ) == -1 ) {50 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard", MIXER_ID) == -1 ) { 49 51 if ( streams_get_flag(ROAR_STREAM(sstream)->id, ROAR_FLAG_AUTOCONF) ) { 50 52 if ( roar_profile2info(info, "default") == -1 ) 51 53 return -1; 52 54 53 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard" ) == -1 ) {55 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard", MIXER_ID) == -1 ) { 54 56 return -1; 55 57 } -
roard/sources.c
r5278 r5289 463 463 464 464 if ( roar_vio_simple_stream(&(ss->vio), s->info.rate, s->info.channels, s->info.bits, s->info.codec, 465 device, ROAR_DIR_MONITOR, "roard" ) == -1 )465 device, ROAR_DIR_MONITOR, "roard", -1) == -1 ) 466 466 return -1; 467 467
Note: See TracChangeset
for help on using the changeset viewer.