Unclear how to start and restart an audio output stream
I've been looking at the examples and documentation but it's unclear how to start and stop an output stream for the same jack_client_t*. I based my code on the simple_client.c. The functions jack_activate() and jack_deactivate() seem to be the right functions to use when you want to repeatedly start and stop an audio output stream.
I'm writing a simple .wav file player which works fine although starting and stopping caused the jack daemon to shutdown and restarting/replaying a .wav file failed because of this.
After some experimenting I figured out that when I call jack_port_disconnect() for the ports that I connected, before calling jack_deactivate() solves my issues.
Is this documented somewhere? What about adding a function that correctly shutsdown a jack_client_t in the simple_client.c code?
what forwave hyberwave
@roxlu ☾ [email protected] schrieb am So., 7. Apr. 2019, 17:15:
I've been looking at the examples and documentation but it's unclear how to start and stop an output stream for the same jack_client_t*. I based my code on the simple_client.c. The functions jack_activate() and jack_deactivate() seems to be the right functions to use when you want to repeatedly start and stop an audio output stream.
I'm writing a simple .wav file player which works fine although starting and stopping caused the jack daemon to shutdown and restarting/replaying a .wav file failed because of this.
After some experimenting I figured out that when I call jack_port_disconnect() for the ports that I connected, before calling jack_deactivate() solves my issues.
Is this documented somewhere? What about adding a function that correctly shutsdown a jack_client_t in the simple_client.c code?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack1/issues/88, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcWjgcuClvUKpTDgeQbAxh1w3GOPNWNks5veguhgaJpZM4cg0Z1 .
it giving variable wave what doing wrong
opu Son [email protected] schrieb am Fr., 14. Juni 2019, 17:59:
what forwave hyberwave
@roxlu ☾ [email protected] schrieb am So., 7. Apr. 2019, 17:15:
I've been looking at the examples and documentation but it's unclear how to start and stop an output stream for the same jack_client_t*. I based my code on the simple_client.c. The functions jack_activate() and jack_deactivate() seems to be the right functions to use when you want to repeatedly start and stop an audio output stream.
I'm writing a simple .wav file player which works fine although starting and stopping caused the jack daemon to shutdown and restarting/replaying a .wav file failed because of this.
After some experimenting I figured out that when I call jack_port_disconnect() for the ports that I connected, before calling jack_deactivate() solves my issues.
Is this documented somewhere? What about adding a function that correctly shutsdown a jack_client_t in the simple_client.c code?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack1/issues/88, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcWjgcuClvUKpTDgeQbAxh1w3GOPNWNks5veguhgaJpZM4cg0Z1 .
jack is not deatic is on the hyberwave spahre why all cosume not go give me please the upgrade
opu Son [email protected] schrieb am Fr., 14. Juni 2019, 18:01:
it giving variable wave what doing wrong
opu Son [email protected] schrieb am Fr., 14. Juni 2019, 17:59:
what forwave hyberwave
@roxlu ☾ [email protected] schrieb am So., 7. Apr. 2019, 17:15:
I've been looking at the examples and documentation but it's unclear how to start and stop an output stream for the same jack_client_t*. I based my code on the simple_client.c. The functions jack_activate() and jack_deactivate() seems to be the right functions to use when you want to repeatedly start and stop an audio output stream.
I'm writing a simple .wav file player which works fine although starting and stopping caused the jack daemon to shutdown and restarting/replaying a .wav file failed because of this.
After some experimenting I figured out that when I call jack_port_disconnect() for the ports that I connected, before calling jack_deactivate() solves my issues.
Is this documented somewhere? What about adding a function that correctly shutsdown a jack_client_t in the simple_client.c code?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack1/issues/88, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcWjgcuClvUKpTDgeQbAxh1w3GOPNWNks5veguhgaJpZM4cg0Z1 .
i not the deamon i not from this planet my sea over years in the fokus why my dream is in paradi3s erthe day is whaiting look the picture ok go o outaide my dangerues room
opu Son [email protected] schrieb am Fr., 14. Juni 2019, 18:03:
jack is not deatic is on the hyberwave spahre why all cosume not go give me please the upgrade
opu Son [email protected] schrieb am Fr., 14. Juni 2019, 18:01:
it giving variable wave what doing wrong
opu Son [email protected] schrieb am Fr., 14. Juni 2019, 17:59:
what forwave hyberwave
@roxlu ☾ [email protected] schrieb am So., 7. Apr. 2019, 17:15:
I've been looking at the examples and documentation but it's unclear how to start and stop an output stream for the same jack_client_t*. I based my code on the simple_client.c. The functions jack_activate() and jack_deactivate() seems to be the right functions to use when you want to repeatedly start and stop an audio output stream.
I'm writing a simple .wav file player which works fine although starting and stopping caused the jack daemon to shutdown and restarting/replaying a .wav file failed because of this.
After some experimenting I figured out that when I call jack_port_disconnect() for the ports that I connected, before calling jack_deactivate() solves my issues.
Is this documented somewhere? What about adding a function that correctly shutsdown a jack_client_t in the simple_client.c code?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jackaudio/jack1/issues/88, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcWjgcuClvUKpTDgeQbAxh1w3GOPNWNks5veguhgaJpZM4cg0Z1 .