Lennart Poettering
2f9a784167
set request/rewind sizes only via accessor functions
2009-03-24 21:13:41 +01:00
Colin Guthrie
86dee05aec
Use LGPL 2.1 on all files previously using LGPL 2
2009-03-03 20:23:02 +00:00
Lennart Poettering
4505bc9cc6
introduce default channel map in addition to the default sample spec
2009-02-21 16:32:42 +01:00
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
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
c7fff97782
move alsa and oss modules into their own subdirectories
2009-01-15 21:02:01 +01:00