Changeset 5289:ddb3677af4d0 in roaraudio for libroar/vio_stream.c
- Timestamp:
- 11/22/11 14:47:44 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_stream.c
r5278 r5289 94 94 } 95 95 96 int roar_vio_simple_stream (struct roar_vio_calls * calls, int rate, int channels, int bits, int codec, 97 const char * server, int dir, const char * name) { 96 int roar_vio_simple_stream (struct roar_vio_calls * calls, 97 uint32_t rate, uint32_t channels, uint32_t bits, uint32_t codec, 98 const char * server, int dir, const char * name, int mixer) { 98 99 struct roar_connection * con = NULL; 99 100 struct roar_stream stream; … … 121 122 } 122 123 123 if ( roar_stream_connect(con, &stream, dir, -1) == -1 ) {124 if ( roar_stream_connect(con, &stream, dir, mixer) == -1 ) { 124 125 err = roar_error; 125 126 roar_disconnect(con); … … 159 160 struct roar_connection * con, 160 161 struct roar_stream * s, 161 int rate, int channels, int bits, int codec, int dir) { 162 uint32_t rate, uint32_t channels, uint32_t bits, uint32_t codec, 163 int dir, int mixer) { 162 164 struct roar_stream stream; 163 165 int fh; … … 174 176 175 177 roar_libroar_nowarn(); 176 if ( (fh = roar_simple_new_stream_obj(con, s, rate, channels, bits, codec, dir )) == -1 ) {178 if ( (fh = roar_simple_new_stream_obj(con, s, rate, channels, bits, codec, dir, mixer)) == -1 ) { 177 179 roar_libroar_warn(); 178 180 ROAR_DBG("roar_vio_simple_new_stream_obj(*) = -1");
Note: See TracChangeset
for help on using the changeset viewer.