diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-27 21:05:55 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-27 21:05:55 +0000 |
commit | 450ad85b35bd600ed020f7ec119d51e7e7bc01a4 (patch) | |
tree | 4e0079eaf12964a6b312f58e92dd1aac47af40b7 /polyp/util.c | |
parent | f014d466cd5f65b03a7a1608aa3d4cd83425a56e (diff) |
try to use file sample type for cache entries and play-file playback
allow paplay to use STDIN
add new module: module-match
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@244 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/util.c')
-rw-r--r-- | polyp/util.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/polyp/util.c b/polyp/util.c index 166a9a45..fa33ffff 100644 --- a/polyp/util.c +++ b/polyp/util.c @@ -518,3 +518,10 @@ int pa_lock_file(int fd, int b) { return 0; } + +char* pa_strip_nl(char *s) { + assert(s); + + s[strcspn(s, "\r\n")] = 0; + return s; +} |