Skip to content

Commit 699354c

Browse files
committed
Remove more debug code
1 parent 7f776f2 commit 699354c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/monocoque/devices/sound/usb_generic_shaker_pulse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ int usb_generic_shaker_init(SoundDevice* sounddevice, pa_threaded_mainloop* main
207207
// for now i'm only supporting playing on one specified channel which is the concept you should build your setups around
208208
cv.values[pan] = channel_volume;
209209

210-
assert(pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL) == 0);
210+
pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL);
211211
//pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL);
212212

213213
// Wait for the stream to be ready
214214
for(;;)
215215
{
216216
pa_stream_state_t stream_state = pa_stream_get_state(stream);
217-
assert(PA_STREAM_IS_GOOD(stream_state));
217+
PA_STREAM_IS_GOOD(stream_state);
218218
//PA_STREAM_IS_GOOD(stream_state);
219219
if (stream_state == PA_STREAM_READY) break;
220220
pa_threaded_mainloop_wait(mainloop);

0 commit comments

Comments
 (0)