badaix
|
d5677b6f78
|
Reformat code
|
2025-01-09 15:06:35 +01:00 |
|
badaix
|
9396a78d71
|
Fix compile error
|
2024-12-20 22:25:30 +01:00 |
|
badaix
|
aa82ba8397
|
Cleanup Snapclient includes
|
2024-04-03 21:50:03 +02:00 |
|
badaix
|
e57dc0888f
|
Fix mixer script
|
2024-04-02 21:53:36 +02:00 |
|
badaix
|
151e3c1ce1
|
Fix script volume zombie processes
|
2024-03-31 14:53:55 +02:00 |
|
badaix
|
e1c8250876
|
Reformat code
|
2022-12-29 19:10:38 +01:00 |
|
badaix
|
989eb6ec8e
|
Reorder header includes
|
2022-01-30 21:45:00 +01:00 |
|
badaix
|
7597f15d24
|
Tidy up code
|
2021-02-11 08:33:36 +01:00 |
|
badaix
|
f5d4fcaf43
|
Tidy up
|
2021-02-10 18:36:40 +01:00 |
|
badaix
|
33b7ac7214
|
Reduce log frequency
|
2021-02-03 22:59:15 +01:00 |
|
badaix
|
622c283d78
|
Fix resetting hardware mixer volume
|
2021-01-30 21:01:18 +01:00 |
|
badaix
|
c46f138ea7
|
Align buffer with fragments
|
2021-01-27 23:39:42 +01:00 |
|
badaix
|
48258084da
|
Use at least 3 fragments by default
|
2021-01-26 22:41:15 +01:00 |
|
badaix
|
079d3e122e
|
Don't sleep if frames avail < period size
|
2021-01-23 22:35:11 +01:00 |
|
badaix
|
7fe36cdb83
|
Backport alsa_player from v0.19
|
2021-01-22 22:40:02 +01:00 |
|
badaix
|
368b807345
|
Set buffer time instead of periods
|
2021-01-21 22:21:34 +01:00 |
|
badaix
|
c2dc5d5d13
|
Log alsa device parameters
|
2021-01-21 22:20:33 +01:00 |
|
badaix
|
d03a9eae68
|
Configure period time instead of buffer time
|
2021-01-20 22:24:25 +01:00 |
|
badaix
|
c880ae2e62
|
Add player namespace and player name constants
|
2020-12-31 18:29:26 +01:00 |
|
badaix
|
99f76263d0
|
Continue if snd_pcm_start fails
|
2020-12-05 21:16:09 +01:00 |
|
badaix
|
273ad96228
|
Start alsa PCM
|
2020-12-01 17:49:12 +01:00 |
|
badaix
|
a1cef5d65c
|
Remove duplicate prepare
|
2020-11-29 13:22:56 +01:00 |
|
badaix
|
42ce0aeae5
|
Change some log lines
|
2020-11-29 12:25:11 +01:00 |
|
badaix
|
eadba70c9a
|
Use period frames if avail < 0
|
2020-11-27 23:06:22 +01:00 |
|
badaix
|
3ac9245d00
|
Reformat code with clang 10
|
2020-11-27 21:29:34 +01:00 |
|
badaix
|
59763f03c1
|
Set periods near
|
2020-11-27 20:52:37 +01:00 |
|
badaix
|
c1a5a52bc6
|
Make buffer time and fragments configurable
|
2020-11-23 13:51:19 +01:00 |
|
badaix
|
2e64e53b5d
|
Change period time back to 30ms
|
2020-11-23 11:24:37 +01:00 |
|
badaix
|
98ac8b2fb7
|
lower alsa period time from 30 to 15 ms
|
2020-08-26 12:45:28 +02:00 |
|
badaix
|
9e06e52193
|
Retry opening blocked alsa devices
|
2020-08-17 23:16:45 +02:00 |
|
badaix
|
9c01849a64
|
Change some log levels
|
2020-08-16 14:44:22 +02:00 |
|
badaix
|
9d6ec6ce36
|
Set hw mixer volume only if we use a hw mixer
|
2020-06-11 13:04:44 +02:00 |
|
badaix
|
535e78ff94
|
Fix crash when unplugging USB DAC
|
2020-06-03 10:22:39 +02:00 |
|
badaix
|
ee1a8dbc38
|
Leave hw mixer open when there is no new pcm data
|
2020-05-31 17:43:37 +02:00 |
|
badaix
|
ed81b90186
|
Alsa mute all hw channels
|
2020-05-29 10:29:14 +02:00 |
|
badaix
|
d9661f6267
|
Fix hw mixer issues
|
2020-05-14 20:38:19 +02:00 |
|
Szabolcs Hubai
|
91f392f483
|
uninitAlsa(): replace snd_pcm_drain(handle_); with snd_pcm_drop(handle_);
|
2020-05-13 17:46:42 +02:00 |
|
badaix
|
2c7cbc0d75
|
Check if enough alsa frames are available
|
2020-05-07 22:01:04 +02:00 |
|
badaix
|
57aa683f93
|
Mixer can use a non-first audio device
|
2020-05-07 12:34:55 +02:00 |
|
badaix
|
9aa2f334eb
|
Fix failed assertion in AlsaPlayer
|
2020-05-07 10:06:08 +02:00 |
|
badaix
|
424487a48e
|
Add sharing mode for Oboe, log device settings
|
2020-05-05 21:46:21 +02:00 |
|
badaix
|
3b3632474c
|
Configurable base/exp for software mixer
|
2020-05-04 10:14:12 +02:00 |
|
badaix
|
dd913acff9
|
Add mixer mode "none"
|
2020-05-03 20:10:01 +02:00 |
|
badaix
|
4a7b72773a
|
Strip off "CARD=xxx" from the mixer device name
|
2020-05-03 11:07:00 +02:00 |
|
badaix
|
3ed76e2059
|
Add mixer command line option
|
2020-05-02 13:39:46 +02:00 |
|
badaix
|
bee9b2390c
|
Fix compiler warning
|
2020-05-01 23:17:37 +02:00 |
|
badaix
|
ee59d047d1
|
Get and set hw volume in dB, fix event polling
|
2020-05-01 22:37:25 +02:00 |
|
badaix
|
94b829b910
|
Use dB scale in alsa hw volume, if available
|
2020-05-01 22:37:25 +02:00 |
|
badaix
|
ec6db408fa
|
Handle Alsa hardware muting
|
2020-05-01 22:37:25 +02:00 |
|
badaix
|
e8bb8ecdba
|
Send initial hardware mixer volume to the server
|
2020-05-01 22:37:25 +02:00 |
|