Changeset 3433:5fb9bfd5e810 in roaraudio for libroarpulse
- Timestamp:
- 02/12/10 15:50:59 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarpulse/stream.c
r3432 r3433 170 170 } 171 171 172 static int _roar_pa_stream_open (pa_stream *s, 173 const char *dev, 174 const pa_buffer_attr *attr, 175 pa_stream_flags_t flags, 176 pa_cvolume *volume, 177 pa_stream *sync_stream, 178 pa_stream_direction_t dir) { 179 return -1; 180 } 181 172 182 /** Connect the stream to a sink */ 173 183 int pa_stream_connect_playback( … … 177 187 pa_stream_flags_t flags /**< Additional flags, or 0 for default */, 178 188 pa_cvolume *volume /**< Initial volume, or NULL for default */, 179 pa_stream *sync_stream /**< Synchronize this stream with the specified one, or NULL for a standalone stream*/); 189 pa_stream *sync_stream /**< Synchronize this stream with the specified one, or NULL for a standalone stream*/) { 190 return _roar_pa_stream_open(s, dev, attr, flags, volume, sync_stream, PA_STREAM_PLAYBACK); 191 } 180 192 181 193 /** Connect the stream to a source */ … … 184 196 const char *dev /**< Name of the source to connect to, or NULL for default */, 185 197 const pa_buffer_attr *attr /**< Buffer attributes, or NULL for default */, 186 pa_stream_flags_t flags /**< Additional flags, or 0 for default */); 198 pa_stream_flags_t flags /**< Additional flags, or 0 for default */) { 199 return _roar_pa_stream_open(s, dev, attr, flags, NULL, NULL, PA_STREAM_RECORD); 200 } 187 201 188 202 /** Disconnect a stream from a source/sink */
Note: See TracChangeset
for help on using the changeset viewer.