Remove more debug code

This commit is contained in:
Paul Dino Jones 2026-03-04 01:09:45 -05:00
parent 7f776f279b
commit 699354cc7e
1 changed files with 2 additions and 2 deletions

View File

@ -207,14 +207,14 @@ int usb_generic_shaker_init(SoundDevice* sounddevice, pa_threaded_mainloop* main
// for now i'm only supporting playing on one specified channel which is the concept you should build your setups around // for now i'm only supporting playing on one specified channel which is the concept you should build your setups around
cv.values[pan] = channel_volume; cv.values[pan] = channel_volume;
assert(pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL) == 0); pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL);
//pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL); //pa_stream_connect_playback(stream, devname, &buffer_attr, stream_flags, &cv, NULL);
// Wait for the stream to be ready // Wait for the stream to be ready
for(;;) for(;;)
{ {
pa_stream_state_t stream_state = pa_stream_get_state(stream); pa_stream_state_t stream_state = pa_stream_get_state(stream);
assert(PA_STREAM_IS_GOOD(stream_state)); PA_STREAM_IS_GOOD(stream_state);
//PA_STREAM_IS_GOOD(stream_state); //PA_STREAM_IS_GOOD(stream_state);
if (stream_state == PA_STREAM_READY) break; if (stream_state == PA_STREAM_READY) break;
pa_threaded_mainloop_wait(mainloop); pa_threaded_mainloop_wait(mainloop);