Age | Commit message (Collapse) | Author |
|
|
|
This works, but the audio is a bit muffled up, which takes some
fine-tuning.
Also, not all state-transitions are yet taken into account.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you want to switch to another call or want to change the output
device, simply attach another program on the FIFO and kill the first.
This could be another instance of aplay/aucat or simply cat.
|
|
|
|
|
|
|
|
|
|
|
|
Previously, it wouldn't check 1-byte-input. Now it does.
Also, nospam/out should contain the 8-digit hexadecimal number
instead of just the raw string passed to the in-fifo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It allows changing and reading the current nospam-value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and fill up the missing cases.
|
|
|
|
|
|
Don't use 3 printf's when 1 is possible.
|
|
and use it to create FIFOs by not closing the passed fd when it is
-1.
To prevent stdin from being closed, we could think about changing
the condition to if(*fd > 0).
|
|
|
|
|
|
|
|
|
|
|