Changeset 73:7eb32a675a95 in roaraudio for libroaresd/esdstream.c
- Timestamp:
- 07/12/08 15:34:46 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaresd/esdstream.c
r0 r73 7 7 int esd_play_stream( esd_format_t format, int rate, 8 8 const char *host, const char *name ) { 9 10 int channels; 11 int bits; 9 int channels; 10 int bits; 12 11 13 12 if ( (format & ESD_BITS8) ) { … … 28 27 int esd_play_stream_fallback( esd_format_t format, int rate, 29 28 const char *host, const char *name ) { 30 return esd_play_stream(format, rate, host, name); // for the moment this need to be ok... 29 int r; 30 31 if ( (r = esd_play_stream(format, rate, host, name)) != -1 ) { 32 return r; 33 } 34 35 return esd_play_stream(format, rate, "+fork", name); 31 36 } 32 37 … … 35 40 int esd_monitor_stream( esd_format_t format, int rate, 36 41 const char *host, const char *name ) { 37 38 int channels; 39 int bits; 42 int channels; 43 int bits; 40 44 41 45 if ( (format & ESD_BITS8) ) { … … 60 64 int esd_filter_stream( esd_format_t format, int rate, 61 65 const char *host, const char *name ) { 62 63 int channels; 64 int bits; 66 int channels; 67 int bits; 65 68 66 69 if ( (format & ESD_BITS8) ) {
Note: See TracChangeset
for help on using the changeset viewer.