dhobsd / castty

A CLI tool to record audio-enabled screencasts of your terminal, for the web.
Other
117 stars 15 forks source link

Recording on Mac Catalina no sound & stop rec? #39

Open cotfas opened 4 years ago

cotfas commented 4 years ago

I managed to compile with make command on Macbook pro Catalina latest

I had to change from lame_encode_buffer_ieee_float to lame_encode_buffer_float in writter-lame.c as it was not compiling.

I use the command: ./castty record -d 'BuiltInMicrophoneDevice' -a audio2.mp3 -m

But how I can stop the recording? I can only stopping it by force close from Activity Monitor.

And I can not hear anything in the recorded file..

Devices: cotfas@192-168-0-146 src % ./castty record -l Available input devices: 0: Boom2Device, 48000Hz, format: 'float 32-bit LE' castty record -d 'Boom2Engine:0' -a audio.raw 1: MacBook Pro Microphone, 44100Hz, format: 'float 32-bit LE' castty record -d 'BuiltInMicrophoneDevice' -a audio.raw cotfas@192-168-0-146 src %

Tried with both devices..

dhobsd commented 4 years ago

I unfortunately do not have a MacOS device to test on (easily) right now, but I'll try to give this a look sometime soon. ISTR that I was running into some issues with process exit very occasionally, but if this is happening every time, perhaps it's easier to debug now.

Regarding no sound at all, that's odd -- castty should be streaming the audio output, so even if you force close, something should've been written. Have you verified that your microphone is not muted at a system level in audio input settings.