Commit graph

62 commits

Author SHA1 Message Date
Lennart Poettering
d5f46e824e move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources 2009-01-27 04:39:07 +01:00
Jared D. McNeill
7c7133e09d NetBSD sometimes doesn't know SNDCTL_DSP_GETODELAY
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 02:24:04 +01:00
Jared D. McNeill
61075a78f7 NetBSD doesn't know ENOLINK
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2009-01-22 01:57:52 +01:00
Lennart Poettering
bb23932e9a When resuming an OSS device ask for the very same fragment settings as we did the first time
In OSS it is only possible to request fragment sizes that are powers of
2. However actually selected fragment sizes may be arbitrary values.
This means that it is not always possible to request the same fragment
size after a suspend that was used before the suspend because we simply
cannot express it in the request. To work around that we should issue
the same request as we did the first time.
2009-01-22 01:15:49 +01:00
Lennart Poettering
b2ef19acc5 include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up 2009-01-22 00:26:34 +01:00
Lennart Poettering
1c84251ec5 fix segfault when in record-only mode 2009-01-22 00:26:34 +01:00
Lennart Poettering
8519f54a0e only reread volume if we actually have a good mixer. Closes #466 2009-01-22 00:26:29 +01:00
Lennart Poettering
40f2e21aa7 make gcc shut up a bit more 2009-01-22 00:19:04 +01:00
Lennart Poettering
4a13763797 Add support for 24bit samples encoded in the LSB of 32 bit words 2009-01-16 18:39:36 +01:00
Lennart Poettering
6dc76d1158 add support for 24bit packed samples 2009-01-16 03:15:39 +01:00
Lennart Poettering
421011930a add stub makefiles for oss and alsa subdirs 2009-01-15 21:03:32 +01:00
Lennart Poettering
c7fff97782 move alsa and oss modules into their own subdirectories 2009-01-15 21:02:01 +01:00