Skip to content

Commit

Permalink
Merge pull request #1161 from pipecat-ai/aleix/prepare-0.0.56
Browse files Browse the repository at this point in the history
update CHANGELOG for 0.0.56
  • Loading branch information
aconchillo authored Feb 6, 2025
2 parents 962fc27 + dd7926a commit d4b2160
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to **Pipecat** will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.0.56] - 2025-02-06

### Changed

Expand All @@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fixed a `TkLocalTransport` and `LocalAudioTransport` issues that was causing
errors on cleanup.

- Fixed an issue that was causing `tests.utils` import to fail because of
logging setup.

Expand Down
6 changes: 0 additions & 6 deletions src/pipecat/transports/local/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ async def cleanup(self):
await super().cleanup()
if self._in_stream:
self._in_stream.stop_stream()
# This is not very pretty (taken from PyAudio docs).
while self._in_stream.is_active():
await asyncio.sleep(0.1)
self._in_stream.close()
self._in_stream = None

Expand Down Expand Up @@ -99,9 +96,6 @@ async def cleanup(self):
await super().cleanup()
if self._out_stream:
self._out_stream.stop_stream()
# This is not very pretty (taken from PyAudio docs).
while self._out_stream.is_active():
await asyncio.sleep(0.1)
self._out_stream.close()

async def write_raw_audio_frames(self, frames: bytes):
Expand Down
6 changes: 0 additions & 6 deletions src/pipecat/transports/local/tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ async def cleanup(self):
await super().cleanup()
if self._in_stream:
self._in_stream.stop_stream()
# This is not very pretty (taken from PyAudio docs).
while self._in_stream.is_active():
await asyncio.sleep(0.1)
self._in_stream.close()

def _audio_in_callback(self, in_data, frame_count, time_info, status):
Expand Down Expand Up @@ -113,9 +110,6 @@ async def cleanup(self):
await super().cleanup()
if self._out_stream:
self._out_stream.stop_stream()
# This is not very pretty (taken from PyAudio docs).
while self._out_stream.is_active():
await asyncio.sleep(0.1)
self._out_stream.close()

async def write_raw_audio_frames(self, frames: bytes):
Expand Down

0 comments on commit d4b2160

Please sign in to comment.