Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@pibell:~/src/alsa_device_tests $ gdb plugtest
- GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
- Copyright (C) 2016 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "arm-linux-gnueabihf".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from plugtest...done.
- (gdb) break main
- Breakpoint 1 at 0x1050c: file plugtest.c, line 14.
- (gdb) run
- Starting program: /home/pi/src/alsa_device_tests/plugtest
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
- Breakpoint 1, main () at plugtest.c:14
- 14 snd_pcm_open(&handle, device, stream, 0);
- (gdb) n
- 17 snd_pcm_hw_params_malloc(¶ms);
- 20 snd_pcm_hw_params_any(handle, params);
- 22 snd_output_stdio_attach(&output, stdout, 0);
- 23 snd_pcm_hw_params_dump (params, output);
- ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
- 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
- SUBFORMAT: STD
- SAMPLE_BITS: [4 64]
- FRAME_BITS: [4 640000]
- CHANNELS: [1 10000]
- RATE: [4000 4294967295]
- PERIOD_TIME: [2000 2048000]
- PERIOD_SIZE: [8 4294967295]
- PERIOD_BYTES: [4 4294967295]
- PERIODS: (0 536870912)
- BUFFER_TIME: [1 4294967295]
- BUFFER_SIZE: [16 4294967294]
- BUFFER_BYTES: [8 4294967295]
- TICK_TIME: ALL
- 25 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement