mirror of
https://github.com/xdsopl/robot36.git
synced 2026-04-05 06:15:12 +00:00
added support for write to alsa devices and wav files
This commit is contained in:
parent
5458a53aec
commit
514ddea9f7
7 changed files with 186 additions and 43 deletions
2
decode.c
2
decode.c
|
|
@ -46,7 +46,7 @@ int main(int argc, char **argv)
|
|||
if (argc == 3)
|
||||
ppm_name = argv[2];
|
||||
|
||||
if (!open_pcm(&pcm, pcm_name)) {
|
||||
if (!open_pcm_read(&pcm, pcm_name)) {
|
||||
fprintf(stderr, "couldnt open %s\n", pcm_name);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue