Commit Graph

  • 691c1d9b23 fix return value of PCM.write() on success (#137) Oswald Buddenhagen 2024-02-02 13:22:17 +01:00
  • 061c297f4b remove stray snd_pcm_prepare() call from alsapcm_write() Oswald Buddenhagen 2024-02-02 13:16:11 +01:00
  • 8ff3e169cd unbreak read buffer overrun handling Oswald Buddenhagen 2024-02-01 15:44:17 +01:00
  • 7d9c16618b slightly clarify docu of read() wrt. underrun Oswald Buddenhagen 2024-02-01 01:50:27 +01:00
  • 16345a139a make alsapcm_read()'s return value preparation clearer Oswald Buddenhagen 2024-02-01 01:49:54 +01:00
  • 1c730123eb pre-release updates Lars Immisch 2023-10-24 19:17:58 +01:00
  • 0df2e0ee6f Ignore volume events if shairplay-sync is running Lars Immisch 2023-11-18 15:41:30 +00:00
  • fe3fbe5376 loopback.py: bugfixes Lars Immisch 2023-10-24 19:17:58 +01:00
  • 42ca8acbad Add a (naive) loopback implementation (#132) Lars Immisch 2023-09-12 21:04:02 +02:00
  • 522131123c Add PCM.polldescriptors_revents() Lars Immisch 2023-09-12 21:04:02 +02:00
  • 43a94b3c62 Add PCM.avail() Lars Immisch 2023-09-12 21:04:02 +02:00
  • 9637703ab5 Fix build (#133) Lars Immisch 2023-09-04 13:41:53 +01:00
  • 438e52e3fc Restore previous behaviour of calling snd_pcm_prepare in case of XRUN (#131) Lars Immisch 2023-08-31 16:25:42 +02:00
  • 07ac637b1c Fix memory leaks in PCM.write() error paths on python3 Lars Immisch 2023-08-31 16:25:42 +02:00
  • bdca4dc061 Small improvement to VolumeForwarder Lars Immisch 2023-06-01 15:29:45 +01:00
  • 24eef474da Refactor loopback. SCNR. Lars Immisch 2023-06-01 12:28:53 +01:00
  • 24d26a5161 Better error logging and comments Lars Immisch 2023-05-31 20:00:16 +01:00
  • f62e61f844 Add volume control forwarding Lars Immisch 2023-05-30 16:21:53 +01:00
  • 53f4f093e1 mixertest.py: print capture volume Lars Immisch 2023-05-30 14:26:56 +01:00
  • 82308f32ed Add a naive loopback implementation using select.poll() Lars Immisch 2023-05-30 14:02:36 +01:00
  • 39d6acd3ac Handle events in alsamixer_getvolume. Closes #126 Lars Immisch 2023-05-12 02:43:51 +01:00
  • c5153db0ac Whitespace fixes Lars Immisch 2023-05-30 14:26:56 +01:00
  • f25c8243dc Update changes for release 0.10.0 Lars Immisch 2023-04-16 00:05:55 +02:00
  • 073d708bd1 Remove trailing whitespace in CHANGES.md Lars Immisch 2023-04-16 00:05:55 +02:00
  • d0625934bb Merge tag '0.10.0' main-pre-rewrite Oswald Buddenhagen 2024-01-31 20:35:28 +01:00
  • 788fcb7c69 Ignore volume events if shairplay-sync is running Lars Immisch 2023-11-18 15:41:30 +00:00
  • 345260241f loopback.py: bugfixes Lars Immisch 2023-10-24 19:17:58 +01:00
  • 67adbf0524 Add a (naive) loopback implementation (#132) Lars Immisch 2023-09-12 21:04:02 +02:00
  • cd44517ed5 Improve scope (like in #134) Lars Immisch 2023-09-04 13:47:20 +01:00
  • 3743cf5bd5 Py_BEGIN_ALLOW_THREADS was in the wrong scope. Lars Immisch 2023-09-04 13:45:57 +01:00
  • f374adb269 Fix issue #133 Lars Immisch 2023-09-04 13:41:53 +01:00
  • 7cc1dadcb2 Restore previous behaviour of calling snd_pcm_prepare in case of XRUN (#131) Lars Immisch 2023-08-31 16:25:42 +02:00
  • d3bb44517d Small improvement to VolumeForwarder Lars Immisch 2023-06-01 15:29:45 +01:00
  • c3dba90ff2 Refactor. SCNR. Lars Immisch 2023-06-01 12:28:53 +01:00
  • e3ec2d1628 Better error logging and comments Lars Immisch 2023-05-31 20:00:16 +01:00
  • a66cf02a4c Add volume control forwarding. Lars Immisch 2023-05-30 16:21:53 +01:00
  • d5e81f2604 mixertest.py: print capture volume Lars Immisch 2023-05-30 14:26:56 +01:00
  • 8f7e8fbdfe Add a naive loopback implementation using select.poll() Lars Immisch 2023-05-30 14:02:36 +01:00
  • dc3d6c6183 Handle events in alsamixer_getvolume. Closes #126 Lars Immisch 2023-05-12 02:43:51 +01:00
  • 6b17f924e4 Release 0.10.0 Lars Immisch 2023-04-16 00:08:27 +02:00
  • c6a0c8016d Update changes for release Lars Immisch 2023-04-16 00:05:55 +02:00
  • 196ca87a05 assorted improvements (#123) Oswald Buddenhagen 2023-04-15 21:45:32 +02:00
  • 946694d263 add PCM.state() and associated enum values Oswald Buddenhagen 2023-02-19 18:53:15 +01:00
  • 574f78939d add PCM.drain() Oswald Buddenhagen 2022-08-05 21:37:27 +02:00
  • 17d171c1a5 make period count configurable Oswald Buddenhagen 2022-08-06 17:44:15 +02:00
  • de2fc3c992 bump (minor) version Oswald Buddenhagen 2022-08-06 17:45:50 +02:00
  • c2a6b6e583 reshuffle XRUN recovery somewhat Oswald Buddenhagen 2022-08-05 20:37:13 +02:00
  • da7d04e2fd reduce scope of GIL releases Oswald Buddenhagen 2022-08-05 19:53:41 +02:00
  • 1c1af45a7f use data types closer to those of ALSA Oswald Buddenhagen 2022-08-05 22:01:45 +02:00
  • 9b773b48d6 purge pydoc from the source Oswald Buddenhagen 2022-08-05 15:10:16 +02:00
  • b05efa0ad6 add some best practices to the docu Oswald Buddenhagen 2022-08-05 19:03:08 +02:00
  • 4e098da908 add missing and update incorrect/outdated documentation Oswald Buddenhagen 2022-08-05 19:01:26 +02:00
  • c266d302e0 improve terminology document Oswald Buddenhagen 2022-08-06 17:42:06 +02:00
  • b094ac096b formatting/language fixes in introduction document Oswald Buddenhagen 2022-08-06 18:41:27 +02:00
  • 46b91980e0 unify line spacing in .rst files Oswald Buddenhagen 2022-08-05 16:01:36 +02:00
  • 9ab4f721d6 remove bogus markup from the documentation Oswald Buddenhagen 2022-08-05 15:55:38 +02:00
  • a967b7db78 drop some pointless comments from the tex => sphinx conversion Oswald Buddenhagen 2022-08-05 15:47:56 +02:00
  • 01a444ac21 add new high-speed samples rates Oswald Buddenhagen 2022-08-05 08:27:39 +02:00
  • 8bcb7ba626 remove redundant snd_pcm_hw_params_any() call Oswald Buddenhagen 2022-08-05 10:49:35 +02:00
  • 9dc0fc2fd3 fix deprecation warning about PyUnicode_AsUnicode() Oswald Buddenhagen 2022-08-07 13:15:38 +02:00
  • 4318b63912 fix deprecation warning about PyEval_InitThreads() Oswald Buddenhagen 2022-08-07 13:13:18 +02:00
  • a7b9d617b2 fix crashes when accessing already closed devices Oswald Buddenhagen 2022-08-05 19:17:19 +02:00
  • 379fc05b5e fix memory handling in mixer access error paths Oswald Buddenhagen 2022-08-05 13:39:08 +02:00
  • dff8ef031f fix memory leaks in *_polldescriptors() Oswald Buddenhagen 2022-08-05 13:35:51 +02:00
  • 8ea9470454 fix draining/closing, take 2 Oswald Buddenhagen 2022-08-05 11:03:43 +02:00
  • 19c9ba3ed9 Fix issue #104 : Update description of PCM_FORMAT_U8: Unsigned 8 bit samples for each channel Ronald van Elburg 2022-11-12 21:46:32 +01:00
  • b2f0466dd2 First version documentation PCM.info() method. (#119) Ronald van Elburg 2022-11-26 19:08:32 +01:00
  • 6317d9addc Extend name on get_enum (#114) Lars Immisch 2022-05-23 09:37:40 +02:00
  • 2432089759 Allow longer device names. Closes #114 Lars Immisch 2022-05-22 22:42:54 +02:00
  • cbca6be937 Release 0.9.2 Lars Immisch 2022-05-06 21:34:15 +02:00
  • 279760add5 Prepare release 0.9.2 0.9.2 Lars Immisch 2022-05-06 21:33:41 +02:00
  • 59a712c486 alsamixer_getvolume: Fix incorrect parenthesis (#112) Portia Stephens 2022-05-07 05:28:36 +10:00
  • 06e3798ef5 Version 0.9.1 Lars Immisch 2022-05-03 21:06:28 +02:00
  • dfda54642d Prepare 0.9.1 0.9.1 Lars Immisch 2022-05-03 20:04:26 +01:00
  • 3f6fb9844d Support decibel, percentage, and raw volumes in getvolume, setvolume, and getrange (#109) Chris Diamand 2022-03-28 20:46:40 +01:00
  • 4d9f6e5b50 Merge pull request #108 from st8ed/fix-polldescriptors Lars Immisch 2022-01-25 15:17:39 +01:00
  • 40a4a36b1d Fix polldescriptors() data types Kirill Konstantinov 2022-01-25 14:23:21 +03:00
  • 38ea69bbaa Merge pull request #100 from soundappraisal/feature_timestamp_mode_and_type Lars Immisch 2021-04-12 12:30:23 +02:00
  • c8f3916337 On phys_from_sound: Small memory management fixes and code simplification. And add documentation on new functionality. Ronald van Elburg 2021-04-07 23:30:24 +02:00
  • f19af8eba0 Remove recordtestchanges. Ronald van Elburg 2021-04-07 12:11:14 +02:00
  • b8980d992b Remove recordtestchanges. Ronald van Elburg 2021-04-07 12:10:21 +02:00
  • ebd2b5359d Add function to set timestamp mode and type. Add a function to get the alsa version. Ronald van Elburg 2021-04-07 11:59:16 +02:00
  • c5f22fd7e0 Second version enable timestamps Ronald van Elburg 2021-04-06 22:48:17 +02:00
  • 3c3f0af74a First version enable timestamps Ronald van Elburg 2021-04-06 14:31:45 +02:00
  • 17f3b440cc Show new functions in recordtest.py Ronald van Elburg 2021-04-06 09:09:49 +02:00
  • b2a303121a Merge pull request #98 from soundappraisal/add_timestamp_function Lars Immisch 2021-04-04 16:27:26 +02:00
  • 3168833b4e Merge remote-tracking branch 'upstream/master' into add_timestamp_function Ronald van Elburg 2021-04-02 22:51:58 +02:00
  • c74669850b Merge pull request #92 from soundappraisal/pcm_info_function Lars Immisch 2021-04-02 20:57:15 +02:00
  • 1a4c0541d7 Change name timestamp_raw fuinction to htimestamp to follow the convention used in the rest of the library: that's the current convention (prefix the name with alsapcm_ for PCM methods). Ronald van Elburg 2021-04-02 13:42:51 +02:00
  • e6a6445375 Move creation of dictionary to a point after error handling, when it is relatively certain that the function will succeed. Ronald van Elburg 2021-04-02 13:15:56 +02:00
  • 97f2abcb30 Remove debugging print statement. Ronald van Elburg 2021-04-02 13:02:45 +02:00
  • a53ffd0d4f Fix potential memory leaks on new info function. Ronald van Elburg 2021-04-02 13:00:44 +02:00
  • da71e01f9c Remove unused code from timestamp_raw function. Ronald van Elburg 2021-03-31 16:27:55 +02:00
  • f6736ec43a first version timestamp function Ronald van Elburg 2020-11-02 18:43:16 +01:00
  • e48b294b84 PCM.info function: added format, mode and type fields. Also added a doc string describing the info function. Ronald van Elburg 2020-10-28 22:01:04 +01:00
  • d037297632 Merge pull request #91 from soundappraisal/master Lars Immisch 2020-10-27 12:47:36 +01:00
  • c8e7261e94 Add an PCM.info function returning the information now printed by dumpinfo as a dictionary. Removed double entry from dumpinfo. Ronald van Elburg 2020-10-27 12:41:59 +01:00
  • 5c481b4094 Fix #51: Only return valid part of the buffer in the read function; avoid unnecesssary work by only changing size when needed Ronald van Elburg 2020-09-30 15:58:19 +02:00
  • 1e3c7f3fd0 Fix #51: Only return valid part of the buffer in the read function Ronald van Elburg 2020-09-30 15:11:10 +02:00
  • 0ae60f80f3 Better pcm_type deduction in alsamixer_getvolume Lars Immisch 2020-07-16 23:36:50 +02:00