Advertisement
michthom

2018-03-14 plugtest.c

Mar 13th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. pi@pibell:~/src/alsa_device_tests $ gdb plugtest
  2.  
  3. GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
  4. Copyright (C) 2016 Free Software Foundation, Inc.
  5. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  6. This is free software: you are free to change and redistribute it.
  7. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  8. and "show warranty" for details.
  9. This GDB was configured as "arm-linux-gnueabihf".
  10. Type "show configuration" for configuration details.
  11. For bug reporting instructions, please see:
  12. <http://www.gnu.org/software/gdb/bugs/>.
  13. Find the GDB manual and other documentation resources online at:
  14. <http://www.gnu.org/software/gdb/documentation/>.
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from plugtest...done.
  18.  
  19. (gdb) break main
  20.  
  21. Breakpoint 1 at 0x1050c: file plugtest.c, line 14.
  22.  
  23. (gdb) run
  24.  
  25. Starting program: /home/pi/src/alsa_device_tests/plugtest
  26. [Thread debugging using libthread_db enabled]
  27. Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
  28.  
  29. Breakpoint 1, main () at plugtest.c:14
  30. 14 snd_pcm_open(&handle, device, stream, 0);
  31.  
  32. (gdb) n
  33.  
  34. 17 snd_pcm_hw_params_malloc(&params);
  35. 20 snd_pcm_hw_params_any(handle, params);
  36. 22 snd_output_stdio_attach(&output, stdout, 0);
  37. 23 snd_pcm_hw_params_dump (params, output);
  38.  
  39. ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
  40. FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE
  41. SUBFORMAT: STD
  42. SAMPLE_BITS: [4 64]
  43. FRAME_BITS: [4 640000]
  44. CHANNELS: [1 10000]
  45. RATE: [4000 4294967295]
  46. PERIOD_TIME: [2000 2048000]
  47. PERIOD_SIZE: [8 4294967295]
  48. PERIOD_BYTES: [4 4294967295]
  49. PERIODS: (0 536870912)
  50. BUFFER_TIME: [1 4294967295]
  51. BUFFER_SIZE: [16 4294967294]
  52. BUFFER_BYTES: [8 4294967295]
  53. TICK_TIME: ALL
  54. 25 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement